[PATCH 0/3] ACPICA/ACPI: clean up power button event management during resume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This mini-series moves a little resume-path code from the host OS
(Linux in this case) into the ACPI CA.

When resuming, OSPM must clear GPEs and power button events to prevent
taking spurious events when interrupts are enabled.  Linux currently
clears these events itself, but this series adds code to do it in the
ACPICA (in acpi_leave_sleep_state_prep(), which is already supposed to
be called before enabling interrupts).  This should be safe without
any host OS changes.

The last patch takes out the event clearing from Linux and obviously
depends on the previous ACPICA patches.  It's safe to drop this one
(no harm in clearing the events twice).  I can easily post it again
later.

---

Bjorn Helgaas (3):
      ACPICA: Use fixed event wrappers to enable/disable/clear
      ACPICA: Clear GPEs and power button events during wakeup
      ACPI: remove clearing of events on resume, now that ACPI CA does it


 drivers/acpi/acpica/evevent.c |   13 +++----------
 drivers/acpi/acpica/hwsleep.c |   24 +++++++-----------------
 drivers/acpi/sleep.c          |   14 --------------
 3 files changed, 10 insertions(+), 41 deletions(-)

-- 
Bjorn
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux