Re: [RFC PATCH v3 11/21] x86/watchdog/hardlockup: Add an HPET-based hardlockup detector

From: Randy Dunlap
Date: Tue May 14 2019 - 10:29:09 EST


On 5/14/19 7:02 AM, Ricardo Neri wrote:
> diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug
> index 15d0fbe27872..376a5db81aec 100644
> --- a/arch/x86/Kconfig.debug
> +++ b/arch/x86/Kconfig.debug
> @@ -169,6 +169,17 @@ config IOMMU_LEAK
> config HAVE_MMIOTRACE_SUPPORT
> def_bool y
>
> +config X86_HARDLOCKUP_DETECTOR_HPET
> + bool "Use HPET Timer for Hard Lockup Detection"
> + select SOFTLOCKUP_DETECTOR
> + select HARDLOCKUP_DETECTOR
> + select HARDLOCKUP_DETECTOR_CORE
> + depends on HPET_TIMER && HPET && X86_64
> + help
> + Say y to enable a hardlockup detector that is driven by an High-

by a

> + Precision Event Timer. This option is helpful to not use counters
> + from the Performance Monitoring Unit to drive the detector.
> +
> config X86_DECODER_SELFTEST
> bool "x86 instruction decoder selftest"
> depends on DEBUG_KERNEL && KPROBES


--
~Randy