From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932628AbYF3T6v (ORCPT ); Mon, 30 Jun 2008 15:58:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762763AbYF3T6k (ORCPT ); Mon, 30 Jun 2008 15:58:40 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:51959 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752031AbYF3T6j (ORCPT ); Mon, 30 Jun 2008 15:58:39 -0400 From: "Rafael J. Wysocki" To: Andrew Morton Subject: Re: GPE storm detected, disabling EC GPE Date: Mon, 30 Jun 2008 21:59:50 +0200 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) Cc: "Justin Mattock" , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, Alexey Starikovskiy , Andi Kleen References: <20080630123454.7f48b7e0.akpm@linux-foundation.org> In-Reply-To: <20080630123454.7f48b7e0.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806302159.51768.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday, 30 of June 2008, Andrew Morton wrote: > On Thu, 5 Jun 2008 21:01:55 +0000 > "Justin Mattock" wrote: > > > FWIW I noticed a post where the person had changed 5 to 20, and it > > seemed to work for them; > > So with that in mind I decide to give that a go, here is the location: > > drivers/acpi/ec.c > > @@ -527,47 +488,51 @@ static u32 acpi_ec_gpe_handler(void *data) > > { > > acpi_status status = AE_OK; > > struct acpi_ec *ec = data; > > u8 state = acpi_ec_read_status(ec); > > > > pr_debug(PREFIX "~~~> interrupt\n"); > > atomic_inc(&ec->irq_count); > > - if (atomic_read(&ec->irq_count) > 5) { > > + if (atomic_read(&ec->irq_count) > 20) { > > pr_err(PREFIX "GPE storm detected, disabling EC GPE\n"); > > ec_switch_to_poll_mode(ec); > > goto end; > > } > > > > Now I don't know if this will work for other brands, but for > > me(Macbook Pro ATI chipset) I have not received the > > GPE storm detected, disabling EC GPE message, but it's only been an > > hour, maybe after two or three this might appear. > > Also is this good or bad to set 5 to 20 for the system? > > regards; > > We've had a few reports of this GPE-storm problem and I've rather lost > track of what's happening. Has anyone looked into it? Yes, the problem is still being worked on, AFAICS. > If not, do we have a bugzilla report where we can work on this? There's a bugzilla entry at http://bugzilla.kernel.org/show_bug.cgi?id=10724 . Thanks, Rafael