powerpc/pseries: reset the RCU watchdogs after a LPM
authorLaurent Dufour <ldufour@linux.ibm.com>
Fri, 25 Nov 2022 17:32:04 +0000 (18:32 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 7 Dec 2022 09:30:09 +0000 (20:30 +1100)
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>
Acked-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Combine comments into a single comment block]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20221125173204.15329-1-ldufour@linux.ibm.com
arch/powerpc/platforms/pseries/mobility.c

index 634fac5db3f98da9400e235a107e4cf5318570d7..4cea71aa0f41d5b3527944196fb68627a8f69d15 100644 (file)
@@ -635,10 +635,13 @@ retry:
                prod_others();
        }
        /*
-        * Execution may have been suspended for several seconds, so
-        * reset the watchdog.
+        * Execution may have been suspended for several seconds, so reset
+        * the watchdogs. touch_nmi_watchdog() also touches the soft lockup
+        * watchdog.
         */
+       rcu_cpu_stall_reset();
        touch_nmi_watchdog();
+
        return ret;
 }