Lines Matching +full:watchdog +full:- +full:enable

1 // SPDX-License-Identifier: GPL-2.0
9 * Some chunks also taken from the old x86-specific nmi watchdog code, thanks
13 #define pr_fmt(fmt) "NMI watchdog: " fmt
40 * watchdog. That means the hrtimer should fire 2-3 times before in watchdog_update_hrtimer_threshold()
41 * the NMI watchdog expires. The NMI watchdog on x86 is based on in watchdog_update_hrtimer_threshold()
42 * unhalted CPU cycles, so if Turbo-Mode is enabled the CPU cycles in watchdog_update_hrtimer_threshold()
45 * frequency. Depending on the Turbo-Mode factor this might be fast in watchdog_update_hrtimer_threshold()
46 * enough to get the NMI period smaller than the hrtimer watchdog in watchdog_update_hrtimer_threshold()
53 * Set this to 4/5 of the actual watchdog threshold period so the in watchdog_update_hrtimer_threshold()
55 * watchdog threshold. in watchdog_update_hrtimer_threshold()
64 delta = now - __this_cpu_read(last_timestamp); in watchdog_check_timestamp()
98 /* Ensure the watchdog never gets throttled */ in watchdog_overflow_callback()
99 event->hw.interrupts = 0; in watchdog_overflow_callback()
115 * Ensure CPU-locality by calling this in per-CPU kthread. in hardlockup_detector_event_create()
120 wd_attr->sample_period = hw_nmi_get_sample_period(watchdog_thresh); in hardlockup_detector_event_create()
135 * watchdog_hardlockup_enable - Enable the local event
137 * @cpu: The CPU to enable hard lockup on.
148 pr_info("Enabled. Permanently consumes one hw-PMU counter.\n"); in watchdog_hardlockup_enable()
154 * watchdog_hardlockup_disable - Disable the local event
156 * @cpu: The CPU to enable hard lockup on.
174 * hardlockup_detector_perf_cleanup - Cleanup disabled events and destroy them
197 * hardlockup_detector_perf_stop - Globally stop watchdog events
216 * hardlockup_detector_perf_restart - Globally restart watchdog events
243 * watchdog_hardlockup_probe - Probe whether NMI event is available at all
250 return -ENODEV; in watchdog_hardlockup_probe()
255 pr_info("Perf NMI watchdog permanently disabled\n"); in watchdog_hardlockup_probe()