Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756016AbZKMAZs (ORCPT ); Thu, 12 Nov 2009 19:25:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755976AbZKMAZr (ORCPT ); Thu, 12 Nov 2009 19:25:47 -0500 Received: from mga02.intel.com ([134.134.136.20]:37625 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755937AbZKMAZq convert rfc822-to-8bit (ORCPT ); Thu, 12 Nov 2009 19:25:46 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.44,732,1249282800"; d="scan'208";a="466866405" From: "Pallipadi, Venkatesh" To: Justin Piszcz CC: Thomas Gleixner , john stultz , lkml , Arjan van de Ven Date: Thu, 12 Nov 2009 16:30:15 -0800 Subject: RE: 2.6.31.4: WARNING: at arch/x86/kernel/hpet.c:390 hpet_next_event+0x70/0x80() [occurs when ACPI_PROCESSOR=y] Thread-Topic: 2.6.31.4: WARNING: at arch/x86/kernel/hpet.c:390 hpet_next_event+0x70/0x80() [occurs when ACPI_PROCESSOR=y] Thread-Index: Acpj9yW1NNzXSN48SXCPJvOs+yYWagAALCVw Message-ID: <7E82351C108FA840AB1866AC776AEC467647AC27@orsmsx505.amr.corp.intel.com> References: <20091111195016.GB22225@redhat.com> <1f1b08da0911121513l32d47b4x8b9722ad3440ceb6@mail.gmail.com> <1258069232.14894.9.camel@localhost.localdomain> <7E82351C108FA840AB1866AC776AEC467647ABBD@orsmsx505.amr.corp.intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4125 Lines: 107 >-----Original Message----- >From: Justin Piszcz [mailto:jpiszcz@lucidpixels.com] >Sent: Thursday, November 12, 2009 4:21 PM >To: Pallipadi, Venkatesh >Cc: Thomas Gleixner; john stultz; lkml; Arjan van de Ven >Subject: RE: 2.6.31.4: WARNING: at arch/x86/kernel/hpet.c:390 >hpet_next_event+0x70/0x80() [occurs when ACPI_PROCESSOR=y] > > > >On Thu, 12 Nov 2009, Pallipadi, Venkatesh wrote: > >> >>> On Fri, 13 Nov 2009, Thomas Gleixner wrote: >>> >>>> On Thu, 12 Nov 2009, john stultz wrote: >>>> >>>>> Forgot to CC lkml, re-adding. >>>> >>>> Added more CCs >>>> >>>>> On Thu, 2009-11-12 at 18:25 -0500, Justin Piszcz wrote: >>>>>> On Thu, 12 Nov 2009, john stultz wrote: >>>>>>> On Thu, Nov 12, 2009 at 8:33 AM, Justin Piszcz >>> wrote: >>>>>>>> On Thu, 12 Nov 2009, Justin Piszcz wrote: >>>>>>>>> On Wed, 11 Nov 2009, Justin Piszcz wrote: >>>>>>>>> Again, the problem: >>>>>>>>> [ 3.318770] cpuidle: using governor ladder >>>>>>>>> [ 3.321556] ------------[ cut here ]------------ >>>>>>>>> [ 3.321560] WARNING: at arch/x86/kernel/hpet.c:390 >>>>>>>>> hpet_next_event+0x70/0x80() >>>>>>>>> [ 3.321561] Hardware name: >>>>>>>>> [ 3.321562] Modules linked in: >>>>>>>>> [ 3.321564] Pid: 0, comm: swapper Not tainted 2.6.31.5 #17 >>>>>>>>> [ 3.321565] Call Trace: >>>>>>>>> [ 3.321567] [] ? >hpet_next_event+0x70/0x80 >>>>>>>>> [ 3.321568] [] ? >hpet_next_event+0x70/0x80 >>>>>>>>> [ 3.321571] [] ? >>> warn_slowpath_common+0x74/0xd0 >>>>>>>>> [ 3.321573] [] ? >hpet_next_event+0x70/0x80 >>>>>>>>> [ 3.321576] [] ? >>> tick_dev_program_event+0x36/0xb0 >>>>>>>>> [ 3.321578] [] ? >>>>>>>>> tick_broadcast_oneshot_control+0x119/0x120 >>>>>>>>> [ 3.321579] [] ? tick_notify+0x22d/0x420 >>>>>>>>> [ 3.321581] [] ? >>> notifier_call_chain+0x37/0x70 >>>>>>>>> [ 3.321583] [] ? >>> clockevents_notify+0x2b/0x90 >>>>>>>>> [ 3.321586] [] ? >>> acpi_idle_enter_bm+0x15f/0x2d3 >>>>>>>>> [ 3.321587] [] ? >>> acpi_idle_enter_c1+0xf1/0xfc >>>>>>>>> [ 3.321590] [] ? >>> cpuidle_idle_call+0xba/0x120 >>>>>>>>> [ 3.321593] [] ? cpu_idle+0x62/0xc0 >>>>>>>>> [ 3.321596] ---[ end trace cac202f11005305c ]--- >>>>>>>>> [ 3.553852] cpuidle: using governor menu >>>>>>>> >>>>> Huh. That's sort of crazy. It almost seems as though you >>> have two offset >>>>> HPET timers at one timer location that are switching back >and forth. >>>>> Looks like either very busted hardware, or something new >the kernel >>>>> doesn't expect. >>>>> >>>>>> When I do not load processor.ko though, the error does not occur? >> >> Yes. Yes. This is a hardware errata. I have a patch to >workaround this and >> waiting on the errata description to get published.. >When will the patch be publicly available? > >> >> processor.ko part may be a red-herring as we do not use hpet >when deep >> C-states are not enabled and hence we won't go through this >code path. >Can you clarify something in relation to C-states? Without >processor.ko >(along with ACPI_CPUFREQ etc) loaded, turbo boost will not be enabled, >correct (the CPU will not be able to change stages)? > >Processor.ko loaded (even w/ the bug) = bzip2 of 2.6.31.tar = >40 seconds. >Processor.ko not loaded = bzip2 of 2.6.31.tar = >50 seconds. > Yes. To get the Turbo boost, ACPI_CPUFREQ and cpufreq governor to request the highest frequency. There is a chance that default is the highest frequency, without those drivers. But, C-states support and idle cores going to deep C-state greatly increase the chances of turbo boost and C-state part will not work without processor.ko. Thanks, Venki -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/