提交 9b574cfa 编写于 作者: L Laurent Dufour 提交者: 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: NLaurent Dufour <ldufour@linux.ibm.com>
Acked-by: NNicholas Piggin <npiggin@gmail.com>
[mpe: Combine comments into a single comment block]
Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20221125173204.15329-1-ldufour@linux.ibm.com
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册