ACPI: Use reference counting only for GPEs enabled at runtime
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ACPI: Introduce acpi_gpe_wakeup()drivers/ drivers/ drivers/ +2 more | +78 | 0 replies | |
| 2/2 | ACPI: Remove wakeup GPE reference counting which is not useddrivers/ drivers/ drivers/ +9 more | +43 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] ACPI: Use reference counting only for GPEs enabled at runtime
Hi,
The following two patches rework the GPE code so that reference counting is only used for GPEs enabled at run time.
As a result, the third argument of acpi_{enable|disable}_gpe() is removed, which simplifies the runtime GPE handling quite a bit. The "wakeup" GPEs are handled with the help of a new function that only manipulates their enable bits in their registers' enable_for_wake masks and is only called in two places in drivers/acpi/wakeup.c.
Please apply.
Rafael