From mboxrd@z Thu Jan 1 00:00:00 1970 From: yakui_zhao Subject: Re: [BISECTED] 20 ACPI interrupts per second on EEEPC 4G Date: Mon, 13 Apr 2009 10:04:08 +0800 Message-ID: <1239588248.5564.19.camel@localhost.localdomain> References: <49DF6835.9040501@tuffmail.co.uk> <49DFE345.3010109@gmail.com> <49E05F83.2090500@tuffmail.co.uk> <49E20EBA.2090708@tuffmail.co.uk> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <49E20EBA.2090708-cCz0Lq7MMjm9FHfhHBbuYA@public.gmane.org> Sender: kernel-testers-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Alan Jenkins Cc: Matthew Garrett , Alexey Starikovskiy , "linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Linux Kernel Mailing List , Kernel Testers List On Sun, 2009-04-12 at 23:54 +0800, Alan Jenkins wrote: > Alan Jenkins wrote: > > Alexey Starikovskiy wrote: > >> Alan Jenkins wrote: > >>> On latest git, powertop shows 20 ACPI interrupts per second. > >>> Previously, this was closer to 1 per second. See attached output (a > >>> vs b, "a" is from 2.6.29-rc8). > >>> > >>> This is from a pretty sparse KDE desktop. Normally I run > >>> gnome-power-manager, but I killed it to make sure that wasn't > >>> causing any problems. > >>> > > > >>> gpe18: 60975 enabled > >>> gpe_all: 60975 > >>> sci: 60975 > >>> > >>> which I presume means lots of EC interrupts. > >>> > >>> [ 0.134068] ACPI: EC: GPE = 0x18, I/O: command/status = 0x66, > >>> data = 0x62 > >>> > > > >> This patch looks to be a suspect: > >> 34ff4dbccccce54c83b1234d39b7ad9e548a75dd, > >> Please check if reversing it helps > > > > No, I still get 20 ACPI interrupts per second. > > > > I tried without powertop, just in case that was provoking it, but it > > still happens: > > > > alan@alan-eeepc:/sys/firmware/acpi/interrupts$ cat sci; sleep 5; cat sci > > 2583 > > 2680 > > I did wonder whether this was due to thermal polling. So look what I > found with bisection :-). Does the issue still exist if the following commit is reverted? Thanks. > > > b1569e99c795bf83b4ddf41c4f1c42761ab7f75e is first bad commit > commit b1569e99c795bf83b4ddf41c4f1c42761ab7f75e > Author: Matthew Garrett > Date: Wed Dec 3 17:55:32 2008 +0000 > > ACPI: move thermal trip handling to generic thermal layer > > The ACPI code currently carries its own thermal trip handling, > meaning that > any other thermal implementation will need to reimplement it. Move > the code > to the generic thermal layer. > > > Regards > Alan > -- > To unsubscribe from this list: send the line "unsubscribe linux-acpi" in > the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754125AbZDMCDG (ORCPT ); Sun, 12 Apr 2009 22:03:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753013AbZDMCCx (ORCPT ); Sun, 12 Apr 2009 22:02:53 -0400 Received: from mga11.intel.com ([192.55.52.93]:51229 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750734AbZDMCCw (ORCPT ); Sun, 12 Apr 2009 22:02:52 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.40,178,1239001200"; d="scan'208";a="680964175" Subject: Re: [BISECTED] 20 ACPI interrupts per second on EEEPC 4G From: yakui_zhao To: Alan Jenkins Cc: Matthew Garrett , Alexey Starikovskiy , "linux-acpi@vger.kernel.org" , Linux Kernel Mailing List , Kernel Testers List In-Reply-To: <49E20EBA.2090708@tuffmail.co.uk> References: <49DF6835.9040501@tuffmail.co.uk> <49DFE345.3010109@gmail.com> <49E05F83.2090500@tuffmail.co.uk> <49E20EBA.2090708@tuffmail.co.uk> Content-Type: text/plain Organization: Intel Open Source Technology Center Date: Mon, 13 Apr 2009 10:04:08 +0800 Message-Id: <1239588248.5564.19.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 (2.22.1-2.fc9) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2009-04-12 at 23:54 +0800, Alan Jenkins wrote: > Alan Jenkins wrote: > > Alexey Starikovskiy wrote: > >> Alan Jenkins wrote: > >>> On latest git, powertop shows 20 ACPI interrupts per second. > >>> Previously, this was closer to 1 per second. See attached output (a > >>> vs b, "a" is from 2.6.29-rc8). > >>> > >>> This is from a pretty sparse KDE desktop. Normally I run > >>> gnome-power-manager, but I killed it to make sure that wasn't > >>> causing any problems. > >>> > > > >>> gpe18: 60975 enabled > >>> gpe_all: 60975 > >>> sci: 60975 > >>> > >>> which I presume means lots of EC interrupts. > >>> > >>> [ 0.134068] ACPI: EC: GPE = 0x18, I/O: command/status = 0x66, > >>> data = 0x62 > >>> > > > >> This patch looks to be a suspect: > >> 34ff4dbccccce54c83b1234d39b7ad9e548a75dd, > >> Please check if reversing it helps > > > > No, I still get 20 ACPI interrupts per second. > > > > I tried without powertop, just in case that was provoking it, but it > > still happens: > > > > alan@alan-eeepc:/sys/firmware/acpi/interrupts$ cat sci; sleep 5; cat sci > > 2583 > > 2680 > > I did wonder whether this was due to thermal polling. So look what I > found with bisection :-). Does the issue still exist if the following commit is reverted? Thanks. > > > b1569e99c795bf83b4ddf41c4f1c42761ab7f75e is first bad commit > commit b1569e99c795bf83b4ddf41c4f1c42761ab7f75e > Author: Matthew Garrett > Date: Wed Dec 3 17:55:32 2008 +0000 > > ACPI: move thermal trip handling to generic thermal layer > > The ACPI code currently carries its own thermal trip handling, > meaning that > any other thermal implementation will need to reimplement it. Move > the code > to the generic thermal layer. > > > Regards > Alan > -- > To unsubscribe from this list: send the line "unsubscribe linux-acpi" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html