: ACPI / PM: Rework wakeup GPE handling for suspend-to-idle
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | PM / sleep: Export dpm_suspend_late/noirq() and dpm_resume_early/noirq()drivers/ include/ kernel/ | +19 | 0 replies | |
| 2/5 | PM / sleep: Rename platform suspend/resume functions in suspend.ckernel/ | +10 | 0 replies | |
| 3/5 | ACPICA: Clear all non-wakeup GPEs in acpi_hw_enable_wakeup_gpe_block()drivers/ | +4 | 0 replies | |
| 4/5 | ACPICA: Introduce acpi_enable_all_wakeup_gpes()drivers/ include/ | +33 | 2 replies | |
| 5/5 | ACPI / sleep: Rework the handling of ACPI GPE wakeup from suspend-to-idledrivers/ drivers/ include/ +1 more | +39 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5]: ACPI / PM: Rework wakeup GPE handling for suspend-to-idle
Hi,
This series is based on the pm-genirq branch of linux-pm.git which has been included into linux-next for a few weeks. That branch reworks the handling of wakeup interrupts in general so that enable_irq_wake() can be used to indicate that the given interrupt is to be used to wake up from suspend-to-idle as well as from the other sleep states. At the same time, using IRQF_NO_SUSPEND with wakeup interrupts is not regarded as correct any more.
Along these lines, rework the handling of wakeup GPEs for suspend-to-idle so as to make use of the new mechanism.
This has been tested on Toshiba Portege R500 with ACPI button wakeup and with ACPI-based PCI Wake-on-LAN.
[1/5] Export dpm_suspend_late(), dpm_suspend_noirq(), dpm_resume_noirq() and
dpm_resume_early() from the PM core.
[2/5] Rename local functions in the suspend core to better reflect their purpose. [3/5] Rework ACPICA's acpi_hw_enable_wakeup_gpe_block() to disable all non-wakeup
GPEs along with enabling the wakeup ones.
[4/5] Introduce acpi_enable_all_wakeup_gpes() in ACPICA (along the lines of the
analogous function for runtime GPEs).
[5/5] Modify the handling of wakeup GPEs for suspend-to-idle.
Thanks!
Signature · 2 lines
I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.