All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] ACPICA/ACPI: clean up power button event management during resume
@ 2009-06-19 20:57 Bjorn Helgaas
  2009-06-19 20:57 ` [PATCH 1/3] ACPICA: Use fixed event wrappers to enable/disable/clear Bjorn Helgaas
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Bjorn Helgaas @ 2009-06-19 20:57 UTC (permalink / raw)
  To: Bob Moore, Len Brown; +Cc: linux-acpi

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-06-20  6:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-19 20:57 [PATCH 0/3] ACPICA/ACPI: clean up power button event management during resume Bjorn Helgaas
2009-06-19 20:57 ` [PATCH 1/3] ACPICA: Use fixed event wrappers to enable/disable/clear Bjorn Helgaas
2009-06-19 20:57 ` [PATCH 2/3] ACPICA: Clear GPEs and power button events during wakeup Bjorn Helgaas
2009-06-19 20:58 ` [PATCH 3/3] ACPI: remove clearing of events on resume, now that ACPI CA does it Bjorn Helgaas
2009-06-20  5:06 ` [PATCH 0/3] ACPICA/ACPI: clean up power button event management during resume Len Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.