Skip to content

Commit 9b574cf

Browse files
ldu4mpe
authored andcommitted
powerpc/pseries: reset the RCU watchdogs after a LPM
The RCU watchdog timer should be reset when restarting the CPU after a Live Partition Mobility operation. Signed-off-by: Laurent Dufour <[email protected]> Acked-by: Nicholas Piggin <[email protected]> [mpe: Combine comments into a single comment block] Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 340a4a9 commit 9b574cf

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

arch/powerpc/platforms/pseries/mobility.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -635,10 +635,13 @@ static int do_join(void *arg)
635635
prod_others();
636636
}
637637
/*
638-
* Execution may have been suspended for several seconds, so
639-
* reset the watchdog.
638+
* Execution may have been suspended for several seconds, so reset
639+
* the watchdogs. touch_nmi_watchdog() also touches the soft lockup
640+
* watchdog.
640641
*/
642+
rcu_cpu_stall_reset();
641643
touch_nmi_watchdog();
644+
642645
return ret;
643646
}
644647

0 commit comments

Comments
 (0)