summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorLaurent Dufour <ldufour@linux.ibm.com>2022-07-13 17:47:27 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2022-07-27 13:35:32 +0200
commit7c56a8733d0a2a4be2438a7512566e5ce552fccf (patch)
tree2523e796ed6f05272492c107eedc7608b1d25002 /arch/mips
parentpowerpc/mobility: wait for memory transfer to complete (diff)
downloadlinux-7c56a8733d0a2a4be2438a7512566e5ce552fccf.tar.xz
linux-7c56a8733d0a2a4be2438a7512566e5ce552fccf.zip
watchdog: export lockup_detector_reconfigure
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
Diffstat (limited to 'arch/mips')
0 files changed, 0 insertions, 0 deletions