Linux ACPI
 help / color / mirror / Atom feed
* [PATCH 0/4] ACPI: use handle, not device, in system notification path
@ 2009-05-22 17:43 Bjorn Helgaas
  2009-05-22 17:43 ` [PATCH 1/4] ACPI: simplify notification debug messages Bjorn Helgaas
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Bjorn Helgaas @ 2009-05-22 17:43 UTC (permalink / raw)
  To: Len Brown; +Cc: linux-acpi

Currently, ACPI hotplug is mostly handled in drivers.  I'm working on moving
that hotplug support out of drivers and into the Linux/ACPI core.

These patches change the Linux/ACPI notify handling to use the
acpi_handle a bit longer before looking up an acpi_device.

System notifications often deal with device presence and status change.
In these cases, we may not have an acpi_device.  For example, we may
get a Device Check notification on an object that previously was not
present.  Since the object was not present, we would not have had an
acpi_device for it.

Note: The last patch in this series depends on this previous patch
that is not upstream yet:
    http://patchwork.kernel.org/patch/21076/

Comments welcome.

---

Bjorn Helgaas (4):
      ACPI: use handle, not device, in system notification path
      ACPI: remove unused return values from Bus Check & Device Check handling
      ACPI: remove unused "status_changed" return value from Check Device handling
      ACPI: simplify notification debug messages


 drivers/acpi/bus.c |   93 +++++++++++++---------------------------------------
 1 files changed, 23 insertions(+), 70 deletions(-)

-- 
Bjorn

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

end of thread, other threads:[~2009-05-28  1:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-22 17:43 [PATCH 0/4] ACPI: use handle, not device, in system notification path Bjorn Helgaas
2009-05-22 17:43 ` [PATCH 1/4] ACPI: simplify notification debug messages Bjorn Helgaas
2009-05-22 17:43 ` [PATCH 2/4] ACPI: remove unused "status_changed" return value from Check Device handling Bjorn Helgaas
2009-05-22 17:43 ` [PATCH 3/4] ACPI: remove unused return values from Bus Check & Device Check handling Bjorn Helgaas
2009-05-22 17:43 ` [PATCH 4/4] ACPI: use handle, not device, in system notification path Bjorn Helgaas
2009-05-28  1:32 ` [PATCH 0/4] " Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox