From: Laurent Dufour <ldufour@linux.ibm.com>
To: linuxppc-dev@lists.ozlabs.org, mpe@ellerman.id.au,
christophe.leroy@csgroup.eu, npiggin@gmail.com
Subject: [PATCH] pseries/mobility: reset the RCU watchdogs after a LPM
Date: Fri, 25 Nov 2022 18:32:04 +0100 [thread overview]
Message-ID: <20221125173204.15329-1-ldufour@linux.ibm.com> (raw)
The RCU watchdog timer should be reset when restarting the CPU after a Live
Partition Mobility operation.
Signed-off-by: Laurent Dufour <ldufour@linux.ibm.com>
---
arch/powerpc/platforms/pseries/mobility.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/powerpc/platforms/pseries/mobility.c b/arch/powerpc/platforms/pseries/mobility.c
index 634fac5db3f9..9e10f38dd9ad 100644
--- a/arch/powerpc/platforms/pseries/mobility.c
+++ b/arch/powerpc/platforms/pseries/mobility.c
@@ -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;
}
--
2.38.1
next reply other threads:[~2022-11-25 17:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-25 17:32 Laurent Dufour [this message]
2022-11-28 3:59 ` [PATCH] pseries/mobility: reset the RCU watchdogs after a LPM Nicholas Piggin
2022-12-08 12:40 ` Michael Ellerman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221125173204.15329-1-ldufour@linux.ibm.com \
--to=ldufour@linux.ibm.com \
--cc=christophe.leroy@csgroup.eu \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=npiggin@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox