Lines Matching +full:touch +full:- +full:hold +full:- +full:ms

1 // SPDX-License-Identifier: GPL-2.0
9 * Some chunks also taken from the old x86-specific nmi watchdog code, thanks
62 * Should we panic when a soft-lockup or hard-lockup occurs:
177 * Prevent multiple hard-lockup reports if one cpu is already
242 * Watchdog-detector specific API.
250 return -ENODEV;
254 * watchdog_hardlockup_stop - Stop the watchdog for reconfiguration
264 * watchdog_hardlockup_start - Start the watchdog after reconfiguration
270 * - watchdog_enabled
271 * - watchdog_thresh
272 * - watchdog_cpumask
277 * lockup_detector_update_enable - Update the sysctl enable bit
373 * We don't need nanosecond resolution. A granularity of 16ms is
380 return data_ns >> 24LL; /* 2^24ns ~= 16.8ms */
398 util = DIV_ROUND_UP(100 * (new_stat - old_stat), sample_period_16);
464 tail = (tail + NUM_HARDIRQ_REPORT - 1) % NUM_HARDIRQ_REPORT;
486 {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}
504 if (irq_counts_sorted[i].irq == -1)
507 printk(KERN_CRIT "\t#%u: %-10u\tirq#%d\n",
535 * Hard-lockup warnings should be triggered after just a few seconds. Soft-
582 * touch_softlockup_watchdog_sched - touch watchdog on scheduler stalls
585 * preventing the watchdog task from executing - e.g. the scheduler
648 * A poorly behaving BPF scheduler can live-lock the system into
653 scx_softlockup(now - touch_ts);
657 return now - touch_ts;
667 * The watchdog feed function - touches the timestamp.
671 * for more than 2*watchdog_thresh seconds then the debug-printout
748 * Prevent multiple soft-lockup reports if one cpu is already
760 pr_emerg("BUG: soft lockup - CPU#%d stuck for %us! [%s:%d]\n",
762 current->comm, task_pid_nr(current));
801 hrtimer->function = watchdog_timer_fn;
950 * lockup_detector_cleanup - Cleanup after cpu hotplug or sysctl changes
952 * Caller must not hold the cpu hotplug rwsem.
962 * lockup_detector_soft_poweroff - Interface to stop lockup detector(s)
985 * caller | table->data points to | 'which'
986 * -------------------|----------------------------------|-------------------------------
989 * -------------------|----------------------------------|-------------------------------
991 * -------------------|----------------------------------|-------------------------------
997 int err, old, *param = table->data;
1037 return -ENOTSUPP;
1215 if (ret == -ENODEV)
1230 * lockup_detector_retry_init - retry init lockup detector if possible.