Skip to content

ACPI: Use reference counting only for GPEs enabled at runtime

Rafael J. Wysocki linux-acpi 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ACPI: Introduce acpi_gpe_wakeup()drivers/acpi/acpica/evxfevnt.c drivers/acpi/sleep.c drivers/acpi/wakeup.c +2 more+78 -200 replies
2/2ACPI: Remove wakeup GPE reference counting which is not useddrivers/acpi/acpica/acevents.h drivers/acpi/acpica/aclocal.h drivers/acpi/acpica/evgpe.c +9 more+43 -1290 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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