pseries/mobility: reset the RCU watchdogs after a LPM
PATCH 1/1 pseries/mobility: 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]>
--- arch/powerpc/platforms/pseries/mobility.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
arch/powerpc/platforms/pseries/mobility.c +3 -1
@@ -636,8 +636,10 @@ static int do_join(void *arg) }/* * Execution may have been suspended for several seconds, so -* reset the watchdog. +* reset the watchdogs. */ +rcu_cpu_stall_reset (); +/* touch_nmi_watchdog() also touch the soft lockup watchdog */ touch_nmi_watchdog ();return ret; }
Signature · 1 line
2.38.1
Quoted 4 lines · Laurent Dufour
The RCU watchdog timer should be reset when restarting the CPU after a Live Partition Mobility operation.
Signed-off-by Laurent Dufour <[email protected]>
Looks okay to me. xmon touches the softlockup watchdog explicitly but is that for architectures with unsynchronized clocks maybe.
Acked-by Nicholas Piggin <[email protected]>
Quoted 22 lines
--- arch/powerpc/platforms/pseries/mobility.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)arch/powerpc/platforms/pseries/mobility.c +3
-1@@ -636,8 +636,10 @@ static int do_join(void *arg) }/* * Execution may have been suspended for several seconds, so -* reset the watchdog. +* reset the watchdogs. */ +rcu_cpu_stall_reset (); +/* touch_nmi_watchdog() also touch the soft lockup watchdog */ touch_nmi_watchdog ();return ret; }Signature · 1 line
2.38.1
Michael Ellerman
AppliedQuoted 4 lines · Laurent Dufour
The RCU watchdog timer should be reset when restarting the CPU after a Live Partition Mobility operation.
Applied to powerpc/next.
[1/1] pseries/mobility: reset the RCU watchdogs after a LPM
https://git.kernel.org/powerpc/c/9b574cfab7d4e68c67c4ee4fcde912ef54a25b88
cheers