[PATCH 0/3] acpi: GPE fixes

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Alexey Starikovskiy <astarikovskiy@...>
Cc: Henrique de Moraes Holschuh <hmh@...>, <linux-acpi@...>, <linux-kernel@...>
Date: Saturday, July 19, 2008 - 7:37 am

Here's what I came up with -

1.  I was fighting against EC_FLAGS_QUERY_PENDING.  This was used to ignore
    multiple successive GPE interrupts and treat them as a single GPE instead.
    That's the exact opposite of what we want to do.  Let's get rid of it.

2.  Then we can apply my original patch to fix GPE polling on the Asus EeePC,
    by repeatedly querying for GPEs until there are none left.

3.  Finally, if I'm right then we now know how to handle "GPE interrupt storms".
    Some EC's are raising multiple interrupts before we acknowledge them. but
    they're just telling us how many events are pending.  There's no harm in
    that, so we don't ever need to disable GPE interrupts.  Let's get rid of
    GPE polling mode.  (Code mainly stolen from Alexey).

Patch 3 would benefit from wider testing.  Fortunately there are several open
bugs about GPEs so it should be easy to find testers :-).

Alan

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

Messages in current thread:
Re: [PATCH] acpi: Avoid dropping rapid hotkey events (or oth..., Alexey Starikovskiy, (Thu Jul 17, 10:35 am)
Re: [PATCH] acpi: Avoid dropping rapid hotkey events (or oth..., Alexey Starikovskiy, (Thu Jul 17, 12:45 pm)
Re: [PATCH] acpi: Avoid dropping rapid hotkey events (or oth..., Alexey Starikovskiy, (Thu Jul 17, 2:59 pm)
Re: [PATCH] acpi: Avoid dropping rapid hotkey events (or oth..., Maximilian Engelhardt, (Wed Aug 13, 9:36 am)
Re: [PATCH] acpi: Avoid dropping rapid hotkey events (or oth..., Alexey Starikovskiy, (Thu Jul 17, 7:49 am)
Re: [PATCH] acpi: Avoid dropping rapid hotkey events (or oth..., Henrique de Moraes Holschuh..., (Thu Jul 17, 8:13 am)
Re: [PATCH] acpi: Avoid dropping rapid hotkey events (or oth..., Alexey Starikovskiy, (Thu Jul 17, 8:30 am)
Re: [PATCH] acpi: Avoid dropping rapid hotkey events (or oth..., Henrique de Moraes Holschuh..., (Thu Jul 17, 12:26 pm)
Re: [PATCH] acpi: Avoid dropping rapid hotkey events (or oth..., Henrique de Moraes Holschuh..., (Thu Jul 17, 2:50 pm)
[PATCH 0/3] acpi: GPE fixes, Alan Jenkins, (Sat Jul 19, 7:37 am)
Re: [PATCH 0/3] acpi: GPE fixes, Vegard Nossum, (Sat Jul 19, 10:07 am)