Re: ACPI: EC: GPE storm detected, disabling EC GPE

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Friday, June 6, 2008 - 11:55 pm

On Sat, 7 Jun 2008 06:21:54 +0000 "Justin Mattock" <justinmattock@gmail.com> wrote:


I removed bugzilla from cc - that only works if there's [Bug 1234] in
the Subject:.

I added linux-acpi to cc - this is an acpi problem.

What Justin is mysteriously referring to here is:


: From: "Justin Mattock" <justinmattock@gmail.com>
: To: "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
: Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
: Subject: GPE storm detected, disabling EC GPE
: Date: 	Thu, 5 Jun 2008 21:01:55 +0000
: Sender: linux-kernel-owner@vger.kernel.org
: 
: 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?

Could someone from acpi land please help here?

Justin, has this machine always had this problem or is it something
which earlier kernels handled correctly?

Thanks.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ACPI: EC: GPE storm detected, disabling EC GPE, Justin Mattock, (Fri Jun 6, 11:21 pm)
Re: ACPI: EC: GPE storm detected, disabling EC GPE, Andrew Morton, (Fri Jun 6, 11:55 pm)
Re: ACPI: EC: GPE storm detected, disabling EC GPE, Maxim Levitsky, (Sat Jun 7, 3:59 am)
Re: ACPI: EC: GPE storm detected, disabling EC GPE, Guillaume Chazarain, (Sat Jun 7, 7:31 am)
Re: ACPI: EC: GPE storm detected, disabling EC GPE, Justin Mattock, (Sat Jun 7, 8:47 am)
Re: ACPI: EC: GPE storm detected, disabling EC GPE, Alexey Starikovskiy, (Sat Jun 7, 12:28 pm)
Re: ACPI: EC: GPE storm detected, disabling EC GPE, Justin Mattock, (Sat Jun 7, 1:35 pm)
Re: ACPI: EC: GPE storm detected, disabling EC GPE, Alexey Starikovskiy, (Sat Jun 7, 2:27 pm)
Re: ACPI: EC: GPE storm detected, disabling EC GPE, Justin Mattock, (Sat Jun 7, 4:20 pm)
Re: ACPI: EC: GPE storm detected, disabling EC GPE, Pavel Machek, (Sun Jun 8, 7:21 am)
Re: ACPI: EC: GPE storm detected, disabling EC GPE, Len Brown, (Tue Jun 10, 8:30 am)
Re: ACPI: EC: GPE storm detected, disabling EC GPE, Justin Mattock, (Tue Jun 10, 11:37 am)
Re: ACPI: EC: GPE storm detected, disabling EC GPE, Alexey Starikovskiy, (Wed Jun 11, 3:29 am)
Re: ACPI: EC: GPE storm detected, disabling EC GPE, Justin Mattock, (Wed Jun 11, 11:39 am)