Files
linux-stable-mirror/include/linux
Laurent DufourandGreg Kroah-Hartman 63671b2bdf watchdog: export lockup_detector_reconfigure
[ Upstream commit 7c56a8733d ]

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:38:20 +02:00
..
2022-08-21 15:16:16 +02:00
2022-07-07 17:52:17 +02:00
2021-11-26 10:39:22 +01:00
2022-04-13 21:00:56 +02:00
2022-08-21 15:16:08 +02:00
2021-11-18 14:03:37 +01:00
2022-08-21 15:15:21 +02:00
2021-06-30 08:47:26 -04:00
2021-09-03 10:09:21 +02:00
2021-08-04 12:46:44 +02:00