Files
kernel_arpi/include/linux
Laurent Dufour 6568e52b28 watchdog: export lockup_detector_reconfigure
[ Upstream commit 7c56a8733d0a2a4be2438a7512566e5ce552fccf ]

In some circumstances it may be interesting to reconfigure the watchdog
from inside the kernel.

On PowerPC, this may helpful before and after a LPAR migration (LPM) is
initiated, because it implies some latencies, watchdog, and especially NMI
watchdog is expected to be triggered during this operation. Reconfiguring
the watchdog with a factor, would prevent it to happen too frequently
during LPM.

Rename lockup_detector_reconfigure() as __lockup_detector_reconfigure() and
create a new function lockup_detector_reconfigure() calling
__lockup_detector_reconfigure() under the protection of watchdog_mutex.

Signed-off-by: Laurent Dufour <ldufour@linux.ibm.com>
[mpe: Squash in build fix from Laurent, reported by Sachin]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220713154729.80789-3-ldufour@linux.ibm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-25 11:40:43 +02:00
..
2021-09-20 12:43:34 +01:00
2022-08-25 11:40:05 +02:00
2022-08-17 14:23:11 +02:00
2021-12-14 10:57:11 +01:00
2022-07-07 17:53:26 +02:00
2021-11-25 09:48:41 +01:00
2022-04-13 20:59:03 +02:00
2022-08-17 14:24:08 +02:00
2022-07-23 12:53:57 +02:00
2021-11-18 19:15:51 +01:00
2022-07-12 16:35:08 +02:00
2022-06-09 10:23:32 +02:00
2021-09-17 13:52:17 +01:00
2022-07-02 16:41:17 +02:00
2021-10-07 16:51:57 +02:00
2022-07-12 16:35:08 +02:00
2021-11-21 13:44:12 +01:00
2022-07-29 17:25:32 +02:00
2021-09-08 15:32:35 -07:00