From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: Re: [RFC PATCH 16/23] watchdog/hardlockup: Add an HPET-based hardlockup detector Date: Tue, 12 Jun 2018 22:23:47 -0700 Message-ID: <1e5bc136-4123-328a-2d2e-e6f2faef5bf4@infradead.org> References: <1528851463-21140-1-git-send-email-ricardo.neri-calderon@linux.intel.com> <1528851463-21140-17-git-send-email-ricardo.neri-calderon@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1528851463-21140-17-git-send-email-ricardo.neri-calderon-VuQAYsv1563Yd54FQh9/CA@public.gmane.org> Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Ricardo Neri , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" Cc: "Rafael J. Wysocki" , Peter Zijlstra , Alexei Starovoitov , Kai-Heng Feng , sparclinux-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Christoffer Dall , Davidlohr Bueso , Ashok Raj , Michael Ellerman , x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, David Rientjes , Andi Kleen , Waiman Long , Borislav Petkov , Masami Hiramatsu , Don Zickus , "Ravi V. Shankar" , Konrad Rzeszutek Wilk , Marc Zyngier , Frederic Weisbecker , Nicholas Piggin , Byungchul Park , Mathieu Desnoyers List-Id: iommu@lists.linux-foundation.org Hi, On 06/12/2018 05:57 PM, Ricardo Neri wrote: > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug > index c40c7b7..6e79833 100644 > --- a/lib/Kconfig.debug > +++ b/lib/Kconfig.debug > @@ -828,6 +828,16 @@ config HARDLOCKUP_DETECTOR_PERF > bool > select SOFTLOCKUP_DETECTOR > > +config HARDLOCKUP_DETECTOR_HPET > + bool "Use HPET Timer for Hard Lockup Detection" > + select SOFTLOCKUP_DETECTOR > + select HARDLOCKUP_DETECTOR > + depends on HPET_TIMER && HPET > + help > + Say y to enable a hardlockup detector that is driven by an High-Precision > + Event Timer. In addition to selecting this option, the command-line > + parameter nmi_watchdog option. See Documentation/admin-guide/kernel-parameters.rst The "In addition ..." thing is a broken (incomplete) sentence. > + > # > # Enables a timestamp based low pass filter to compensate for perf based > # hard lockup detection which runs too fast due to turbo modes. -- ~Randy