aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/watchdog.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-12watchdog/core: remove sysctl handlers from public headerThomas Weißschuh1-10/+12
2023-12-29watchdog: if panicking and we dumped everything, don't re-enable dumpingDouglas Anderson1-2/+4
2023-12-29watchdog/hardlockup: use printk_cpu_sync_get_irqsave() to serialize reportingDouglas Anderson1-0/+13
2023-12-29watchdog/softlockup: use printk_cpu_sync_get_irqsave() to serialize reportingDouglas Anderson1-3/+3
2023-12-29watchdog/hardlockup: adopt softlockup logic avoiding double-dumpsDouglas Anderson1-7/+13
2023-12-10softlockup: serialized softlockup's logLi Zhe1-0/+3
2023-11-01watchdog: move softlockup_panic back to early_paramKrister Johansen1-0/+7
2023-08-18watchdog/hardlockup: avoid large stack frames in watchdog_hardlockup_check()Douglas Anderson1-7/+2
2023-08-18nmi_backtrace: allow excluding an arbitrary CPUDouglas Anderson1-1/+1
2023-06-19watchdog/sparc64: define HARDLOCKUP_DETECTOR_SPARC64Petr Mladek1-1/+1
2023-06-19watchdog/hardlockup: make HAVE_NMI_WATCHDOG sparc64-specificPetr Mladek1-1/+1
2023-06-19watchdog/hardlockup: move SMP barriers from common code to buddy codeDouglas Anderson1-6/+0
2023-06-19watchdog/buddy: cleanup how watchdog_buddy_check_hardlockup() is calledDouglas Anderson1-8/+7
2023-06-19watchdog/hardlockup: in watchdog_hardlockup_check() use cpumask_copy()Douglas Anderson1-1/+3
2023-06-19watchdog/hardlockup: don't use raw_cpu_ptr() in watchdog_hardlockup_kick()Douglas Anderson1-1/+1
2023-06-19watchdog/hardlockup: HAVE_NMI_WATCHDOG must implement watchdog_hardlockup_pro...Douglas Anderson1-13/+0
2023-06-19watchdog/hardlockup: keep kernel.nmi_watchdog sysctl as 0444 if probe failsDouglas Anderson1-10/+20
2023-06-09watchdog/perf: adapt the watchdog_perf interface for async modelLecopzer Chen1-1/+66
2023-06-09watchdog/hardlockup: detect hard lockups using secondary (buddy) CPUsDouglas Anderson1-7/+22
2023-06-09watchdog/hardlockup: have the perf hardlockup use __weak functions more cleanlyDouglas Anderson1-12/+18
2023-06-09watchdog/hardlockup: rename some "NMI watchdog" constants/functionDouglas Anderson1-56/+57
2023-06-09watchdog/hardlockup: move perf hardlockup watchdog petting to watchdog.cDouglas Anderson1-0/+19
2023-06-09watchdog/hardlockup: add a "cpu" param to watchdog_hardlockup_check()Douglas Anderson1-20/+32
2023-06-09watchdog/hardlockup: style changes to watchdog_hardlockup_check() / is_hardlo...Douglas Anderson1-17/+15
2023-06-09watchdog/hardlockup: move perf hardlockup checking/panic to common watchdog.cDouglas Anderson1-20/+73
2023-06-09watchdog/hardlockup: change watchdog_nmi_enable() to voidLecopzer Chen1-2/+1
2023-06-09watchdog: remove WATCHDOG_DEFAULTLecopzer Chen1-2/+0
2022-08-06Merge tag 'powerpc-6.0-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds1-5/+16
2022-07-27watchdog: export lockup_detector_reconfigureLaurent Dufour1-5/+16
2022-06-23Merge branch 'rework/kthreads' into for-linusPetr Mladek1-4/+0
2022-06-23Revert "printk: add functions to prefer direct printing"Petr Mladek1-4/+0
2022-05-27Merge tag 'mm-nonmm-stable-2022-05-26' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+2
2022-04-29lib/Kconfig.debug: remove more CONFIG_..._VALUE indirectionsRasmus Villemoes1-2/+2
2022-04-22printk: add functions to prefer direct printingJohn Ogness1-0/+4
2022-02-16sched/isolation: Use single feature type while referring to housekeeping cpumaskFrederic Weisbecker1-1/+1
2022-01-22watchdog: move watchdog sysctl interface to watchdog.cXiaoming Ni1-0/+101
2021-06-29kernel: watchdog: modify the explanation related to watchdog threadWang Qing1-8/+4
2021-05-22watchdog: reliable handling of timestampsPetr Mladek1-14/+20
2021-04-30watchdog: cleanup handling of false positivesPetr Mladek1-12/+8
2021-04-30watchdog: fix barriers when printing backtraces from all CPUsPetr Mladek1-11/+6
2021-04-30watchdog/softlockup: remove logic that tried to prevent repeated reportsPetr Mladek1-12/+2
2021-04-30watchdog/softlockup: report the overall time of softlockupsPetr Mladek1-12/+28
2021-04-30watchdog: explicitly update timestamp when reporting softlockupPetr Mladek1-0/+3
2021-04-30watchdog: rename __touch_watchdog() to a better descriptive namePetr Mladek1-4/+4
2021-04-04workqueue/watchdog: Make unbound workqueues aware of touch_softlockup_watchdog()Wang Qing1-2/+3
2020-11-14kernel/watchdog: fix watchdog_allowed_mask not used warningSantosh Sivaraj1-2/+2
2020-06-08kernel/watchdog.c: convert {soft/hard}lockup boot parameters to sysctl aliasesGuilherme G. Piccoli1-28/+9
2020-04-27sysctl: pass kernel pointers to ->proc_handlerChristoph Hellwig1-6/+6
2020-01-17watchdog/softlockup: Enforce that timestamp is valid on bootThomas Gleixner1-4/+6
2020-01-16watchdog/softlockup: Remove obsolete check of last reported taskPetr Mladek1-17/+1
2020-01-16watchdog: Remove soft_lockup_hrtimer_cnt and related codeJisheng Zhang1-3/+0
2019-08-01watchdog: Mark watchdog_hrtimer to expire in hard interrupt contextSebastian Andrzej Siewior1-2/+2
2019-04-18watchdog: Fix typo in commentArash Fotouhi1-1/+1
2019-03-28watchdog: Respect watchdog cpumask on CPU hotplugThomas Gleixner1-2/+4
2019-03-22watchdog/core: Make variables staticValdis Kletnieks1-2/+2
2018-11-01watchdog/core: Add watchdog_thresh command line parameterLaurence Oberman1-0/+7
2018-08-30watchdog: Mark watchdog touch functions as notraceVincent Whitchurch1-2/+2
2018-07-15watchdog/softlockup: Fix cpu_stop_queue_work() double-queue bugPeter Zijlstra1-5/+15
2018-07-03watchdog/softlockup: Replace "watchdog/%u" threads with cpu_stop_workPeter Zijlstra1-77/+60
2017-11-08Merge branch 'linus' into sched/core, to pick up fixesIngo Molnar1-0/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-27sched/isolation: Introduce housekeeping flagsFrederic Weisbecker1-1/+2
2017-10-27sched/isolation, watchdog: Use housekeeping_cpumask() instead of ad-hoc versionFrederic Weisbecker1-8/+3
2017-10-27sched/isolation: Move housekeeping related code to its own fileFrederic Weisbecker1-0/+1
2017-10-04watchdog/core: Put softlockup_threads_initialized under ifdef guardThomas Gleixner1-1/+1
2017-10-04watchdog/core: Rename some softlockup_* functionsThomas Gleixner1-9/+9
2017-10-04powerpc/watchdog: Make use of watchdog_nmi_probe()Thomas Gleixner1-1/+4
2017-10-04watchdog/core, powerpc: Lock cpus across reconfigurationThomas Gleixner1-1/+9
2017-10-04watchdog/core, powerpc: Replace watchdog_nmi_reconfigure()Thomas Gleixner1-15/+18
2017-09-14watchdog/hardlockup: Clean up hotplug locking messThomas Gleixner1-6/+0
2017-09-14watchdog/hardlockup/perf: Use new perf CPU enable mechanismThomas Gleixner1-1/+3
2017-09-14watchdog/hardlockup/perf: Implement init time detection of perfThomas Gleixner1-1/+12
2017-09-14watchdog/core: Get rid of the racy update loopThomas Gleixner1-48/+47
2017-09-14watchdog/core, powerpc: Make watchdog_nmi_reconfigure() two stageThomas Gleixner1-9/+22
2017-09-14watchdog/sysctl: Clean up sysctl variable name spaceThomas Gleixner1-21/+20
2017-09-14watchdog/core: Further simplify sysctl handlingThomas Gleixner1-20/+7
2017-09-14watchdog/core: Get rid of the thread teardown/setup danceThomas Gleixner1-171/+19
2017-09-14watchdog/core: Create new thread handling infrastructureThomas Gleixner1-0/+75
2017-09-14smpboot/threads, watchdog/core: Avoid runtime allocationThomas Gleixner1-16/+5
2017-09-14watchdog/core: Split out cpumask write functionThomas Gleixner1-19/+21
2017-09-14watchdog/core: Clean up the #ifdef mazeThomas Gleixner1-20/+13
2017-09-14watchdog/core: Clean up stub functionsThomas Gleixner1-46/+22
2017-09-14watchdog/core: Remove the park_in_progress obfuscationThomas Gleixner1-20/+17
2017-09-14watchdog/hardlockup/perf: Prevent CPU hotplug deadlockThomas Gleixner1-0/+25
2017-09-14watchdog/hardlockup/perf: Remove broken self disable on failureThomas Gleixner1-15/+0
2017-09-14watchdog/core: Mark hardlockup_detector_disable() __initThomas Gleixner1-1/+1
2017-09-14watchdog/core: Rename watchdog_proc_mutexThomas Gleixner1-8/+7
2017-09-14watchdog/core: Rework CPU hotplug lockingThomas Gleixner1-6/+6
2017-09-14watchdog/core: Remove broken suspend/resume interfacesThomas Gleixner1-88/+1
2017-09-14watchdog/core: Provide interface to stop from poweroff()Thomas Gleixner1-1/+13
2017-08-18kernel/watchdog: Prevent false positives with turbo modesThomas Gleixner1-0/+1
2017-07-14kernel/watchdog.c: use better pr_fmt prefixKefeng Wang1-1/+1
2017-07-12kernel/watchdog: provide watchdog_nmi_reconfigure() for arch watchdogsNicholas Piggin1-4/+44
2017-07-12kernel/watchdog: split up config optionsNicholas Piggin1-85/+158
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <uap...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-01-24kernel/watchdog: prevent false hardlockup on overloaded systemDon Zickus1-0/+9
2016-12-14kernel/watchdog.c: move hardlockup detector to separate fileBabu Moger1-230/+11
2016-12-14kernel/watchdog.c: move shared definitions to nmi.hBabu Moger1-24/+4
2016-12-14kernel/watchdog: use nmi registers snapshot in hardlockup handlerKonstantin Khlebnikov1-1/+0
2016-03-17watchdog: don't run proc_watchdog_update if new value is same as oldJoshua Hunt1-1/+8
2016-01-11Merge branch 'for-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-1/+17
2015-12-19panic, x86: Allow CPUs to save registers even if looping in NMI contextHidehiro Kawai1-1/+1
2015-12-19panic, x86: Fix re-entrance problem due to panic on NMIHidehiro Kawai1-1/+1
2015-12-08workqueue: implement lockup detectorTejun Heo1-0/+3
2015-12-08watchdog: introduce touch_softlockup_watchdog_sched()Tejun Heo1-1/+14
2015-11-05kernel/watchdog.c: fix race between proc_watchdog_thresh() and watchdog_timer...Ulrich Obergfell1-1/+1
2015-11-05kernel/watchdog.c: remove {get|put}_online_cpus() from watchdog_{park|unpark}...Ulrich Obergfell1-4/+6
2015-11-05kernel/watchdog.c: avoid races between /proc handlers and CPU hotplugUlrich Obergfell1-0/+6
2015-11-05kernel/watchdog.c: avoid race between lockup detector suspend/resume and CPU ...Ulrich Obergfell1-0/+2
2015-11-05kernel/watchdog.c: add sysctl knob hardlockup_panicDon Zickus1-1/+1
2015-11-05kernel/watchdog.c: perform all-CPU backtrace in case of hard lockupJiri Kosina1-5/+28
2015-11-05watchdog: do not unpark threads in watchdog_park_threads() on errorUlrich Obergfell1-4/+6
2015-11-05watchdog: implement error handling in lockup_detector_suspend()Ulrich Obergfell1-0/+5
2015-11-05watchdog: implement error handling in update_watchdog_all_cpus() and callersUlrich Obergfell1-7/+23
2015-11-05watchdog: move watchdog_disable_all_cpus() outside of ifdefUlrich Obergfell1-3/+5
2015-11-05watchdog: fix error handling in proc_watchdog_thresh()Ulrich Obergfell1-3/+4
2015-11-05kernel/watchdog.c: is_hardlockup can be booleanYaowei Bai1-3/+3
2015-09-04watchdog: rename watchdog_suspend() and watchdog_resume()Ulrich Obergfell1-4/+22
2015-09-04watchdog: use suspend/resume interface in fixup_ht_bug()Ulrich Obergfell1-35/+0
2015-09-04watchdog: use park/unpark functions in update_watchdog_all_cpus()Ulrich Obergfell1-38/+2
2015-09-04watchdog: introduce watchdog_suspend() and watchdog_resume()Ulrich Obergfell1-0/+65
2015-09-04watchdog: introduce watchdog_park_threads() and watchdog_unpark_threads()Ulrich Obergfell1-0/+36
2015-09-04kernel/watchdog: move NMI function header declarations from watchdog.h to nmi.hGuenter Roeck1-2/+0
2015-09-04watchdog: simplify housekeeping affinity with the appropriate maskFrederic Weisbecker1-4/+2
2015-09-04smpboot: allow passing the cpumask on per-cpu thread registrationFrederic Weisbecker1-6/+3
2015-06-24watchdog: add watchdog_cpumask sysctl to assist nohzChris Metcalf1-5/+62
2015-05-19watchdog: fix double lock in watchdog_nmi_enable_allMichal Hocko1-1/+1
2015-05-18watchdog: Fix merge 'conflict'Peter Zijlstra1-5/+15
2015-04-14Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-74/+215
2015-04-14watchdog: introduce the hardlockup_detector_disable() functionUlrich Obergfell1-19/+2
2015-04-14watchdog: clean up some function names and argumentsUlrich Obergfell1-8/+12
2015-04-14watchdog: enable the new user interface of the watchdog mechanismUlrich Obergfell1-65/+16
2015-04-14watchdog: implement error handling for failure to set up hardware perf eventsUlrich Obergfell1-0/+30
2015-04-14watchdog: introduce separate handlers for parameters in /proc/sys/kernelUlrich Obergfell1-0/+59
2015-04-14watchdog: introduce proc_watchdog_common()Ulrich Obergfell1-0/+65
2015-04-14watchdog: move definition of 'watchdog_proc_mutex' outside of proc_dowatchdog()Ulrich Obergfell1-1/+2
2015-04-14watchdog: introduce the proc_watchdog_update() functionUlrich Obergfell1-0/+23
2015-04-14watchdog: new definitions and variables, initializationUlrich Obergfell1-1/+26
2015-04-02watchdog: Add watchdog enable/disable all functionsStephane Eranian1-0/+28
2015-02-12kernel/sched/clock.c: add another clock for use with the soft lockup watchdogCyril Bur1-1/+1
2014-10-15Merge branch 'for-3.18-consistent-ops' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-6/+6
2014-10-14kernel/watchdog.c: control hard lockup detection defaultUlrich Obergfell1-2/+48
2014-10-13Merge branch 'perf-watchdog-for-linus' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-6/+4
2014-10-09softlockup: make detector be aware of task switch of processes hogging cpuchai wen1-1/+17
2014-08-26watchdog: Replace __raw_get_cpu_var usesChristoph Lameter1-6/+6
2014-08-18watchdog: Fix print-once on enableUlrich Obergfell1-1/+4
2014-08-18watchdog: Remove unnecessary header fileschai wen1-5/+0
2014-08-08panic: add TAINT_SOFTLOCKUPJosh Hunt1-0/+1
2014-08-06kernel/watchdog.c: convert printk/pr_warning to pr_foo()Fabian Frederick1-4/+6
2014-06-23kernel/watchdog.c: print traces for all cpus on lockup detectionAaron Tomlin1-0/+39
2014-06-23kernel/watchdog.c: remove preemption restrictions when restarting lockup dete...Don Zickus1-2/+0
2014-04-18kernel/watchdog.c:touch_softlockup_watchdog(): use raw_cpu_write()Andrew Morton1-1/+5
2014-04-03kernel/watchdog.c: touch_nmi_watchdog should only touch local cpu not every oneBen Zhang1-8/+8
2014-02-24watchdog: Simplify a little the IPI callFrederic Weisbecker1-2/+1
2013-09-24watchdog: update watchdog_thresh properlyMichal Hocko1-3/+50
2013-09-24watchdog: update watchdog attributes atomicallyMichal Hocko1-2/+5
2013-07-30watchdog: Make it work under full dynticksFrederic Weisbecker1-8/+0
2013-06-20watchdog: Boot-disable by default on full dynticksFrederic Weisbecker1-0/+8
2013-06-20watchdog: Rename confusing state variableFrederic Weisbecker1-15/+15
2013-06-20watchdog: Register / unregister watchdog kthreads on sysctl controlFrederic Weisbecker1-40/+47
2013-03-14watchdog: Add comments to explain the watchdog_disabled variableanish kumar1-0/+5
2013-02-22Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-6/+4
2013-02-19watchdog: Use local_clock for get_timestamp()Namhyung Kim1-6/+4
2013-02-07sched/rt: Move rt specific bits into new header fileClark Williams1-0/+1
2012-12-19watchdog: Fix disable/enable regressionBjørn Mork1-7/+4
2012-12-17watchdog: store the watchdog sample period as a variableChuansheng Liu1-5/+8
2012-12-04watchdog: Fix CPU hotplug regressionThomas Gleixner1-0/+3
2012-11-26watchdog: using u64 in get_sample_period()Chuansheng Liu1-2/+2
2012-08-13watchdog: Use hotplug thread infrastructureThomas Gleixner1-174/+89
2012-08-08Revert "NMI watchdog: fix for lockup detector breakage on resume"Rafael J. Wysocki1-19/+2
2012-07-30NMI watchdog: fix for lockup detector breakage on resumeSameer Nanda1-2/+19
2012-06-14watchdog: Quiet down the boot messagesDon Zickus1-1/+18
2012-04-08watchdog: add check for suspended vm in softlockup detectorEric B Munson1-0/+12
2012-03-23kernel/watchdog.c: add comment to watchdog() exit pathAndrew Morton1-0/+4
2012-03-23kernel/watchdog.c: convert to pr_foo()Andrew Morton1-6/+10
2012-03-23watchdog: make sure the watchdog thread gets CPU on loaded systemMichal Hocko1-4/+3
2012-02-11watchdog: Fix code/comments mismatchesFernando Luis Vázquez Cao1-12/+12
2012-01-26bugs, x86: Fix printk levels for panic, softlockups and stack dumpsPrarit Bhargava1-1/+1
2011-10-31watchdog: move watchdog_*_all_cpus under CONFIG_SYSCTLVasily Averin1-2/+2
2011-09-18watchdog: Drop FIFO policy in exit pathThomas Gleixner1-2/+3
2011-08-14watchdog: Make the kthreads NUMA affineEric Dumazet1-1/+1
2011-07-14perf, x86: P4 PMU - Introduce event alias featureCyrill Gorcunov1-2/+0
2011-07-01perf: Add context field to perf_eventAvi Kivity1-1/+1
2011-07-01perf: Remove the nmi parameter from the swevent and overflow interfacePeter Zijlstra1-1/+1
2011-07-01perf, x86: Add hw_watchdog_set_attr() in a sake of nmi-watchdog on P4Cyrill Gorcunov1-1/+5
2011-05-24watchdog: Fix non-standard prototype of get_softlockup_thresh()Ingo Molnar1-7/+4
2011-05-23watchdog: Change the default timeout and configure nmi watchdog period based ...Mandeep Singh Baines1-4/+15
2011-05-23watchdog: Disable watchdog when thresh is zeroMandeep Singh Baines1-16/+9
2011-05-23watchdog: Only disable/enable watchdog if neccessaryMandeep Singh Baines1-8/+12
2011-05-23watchdog: Fix rounding bug in get_sample_period()Mandeep Singh Baines1-1/+1
2011-04-28kernel/watchdog.c: disable nmi perf event in the error path of enabling watchdogHillf Danton1-1/+4
2011-03-22kernel/watchdog.c: always return NOTIFY_OK during cpu up/down eventsDon Zickus1-6/+16
2011-03-22kernel/watchdog.c: allow hardlockup to panic by defaultDon Zickus1-1/+4
2011-02-10watchdog, nmi: Lower the severity of error messagesDon Zickus1-2/+8
2011-01-31watchdog: Don't change watchdog state on read of sysctlMarcin Slusarz1-4/+6
2011-01-31watchdog: Fix sysctl consistencyMarcin Slusarz1-6/+7
2011-01-31watchdog: Fix broken nowatchdog logicMarcin Slusarz1-14/+6
2011-01-07Merge branch 'for-2.6.38' of git://git.kernel.org/pub/scm/linux/kernel/git/tj...Linus Torvalds1-18/+18