From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 415FYC5QzhzDrcd for ; Wed, 13 Jun 2018 15:24:15 +1000 (AEST) Subject: Re: [RFC PATCH 16/23] watchdog/hardlockup: Add an HPET-based hardlockup detector To: Ricardo Neri , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" Cc: Andi Kleen , Ashok Raj , Borislav Petkov , Tony Luck , "Ravi V. Shankar" , x86@kernel.org, sparclinux@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Jacob Pan , "Rafael J. Wysocki" , Don Zickus , Nicholas Piggin , Michael Ellerman , Frederic Weisbecker , Alexei Starovoitov , Babu Moger , Mathieu Desnoyers , Masami Hiramatsu , Peter Zijlstra , Andrew Morton , Philippe Ombredanne , Colin Ian King , Byungchul Park , "Paul E. McKenney" , "Luis R. Rodriguez" , Waiman Long , Josh Poimboeuf , Davidlohr Bueso , Christoffer Dall , Marc Zyngier , Kai-Heng Feng , Konrad Rzeszutek Wilk , David Rientjes , iommu@lists.linux-foundation.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> From: Randy Dunlap Message-ID: <1e5bc136-4123-328a-2d2e-e6f2faef5bf4@infradead.org> Date: Tue, 12 Jun 2018 22:23:47 -0700 MIME-Version: 1.0 In-Reply-To: <1528851463-21140-17-git-send-email-ricardo.neri-calderon@linux.intel.com> Content-Type: text/plain; charset=utf-8 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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