Commit 9b574cfa authored by Laurent Dufour's avatar Laurent Dufour Committed by Michael Ellerman

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: default avatarLaurent Dufour <ldufour@linux.ibm.com>
Acked-by: default avatarNicholas Piggin <npiggin@gmail.com>
[mpe: Combine comments into a single comment block]
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20221125173204.15329-1-ldufour@linux.ibm.com
parent 340a4a9f
...@@ -635,10 +635,13 @@ static int do_join(void *arg) ...@@ -635,10 +635,13 @@ static int do_join(void *arg)
prod_others(); prod_others();
} }
/* /*
* Execution may have been suspended for several seconds, so * Execution may have been suspended for several seconds, so reset
* reset the watchdog. * the watchdogs. touch_nmi_watchdog() also touches the soft lockup
* watchdog.
*/ */
rcu_cpu_stall_reset();
touch_nmi_watchdog(); touch_nmi_watchdog();
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment