GPE storm detected, disabling EC GPE

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linux Kernel Mailing List <linux-kernel@...>
Cc: Rafael J. Wysocki <rjw@...>
Date: Thursday, June 5, 2008 - 5:01 pm

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;

-- 
Justin P. Mattock
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
GPE storm detected, disabling EC GPE, Justin Mattock, (Thu Jun 5, 5:01 pm)
Re: GPE storm detected, disabling EC GPE, Andrew Morton, (Mon Jun 30, 3:34 pm)
Re: GPE storm detected, disabling EC GPE, Rafael J. Wysocki, (Mon Jun 30, 3:59 pm)
Re: GPE storm detected, disabling EC GPE, Justin Mattock, (Mon Jun 30, 10:10 pm)