mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] ACPI: Provide consistent PNPID match handling
@ 2013-03-04 21:30 Toshi Kani
  2013-03-04 21:30 ` [PATCH 1/3] ACPI: Remove acpi_device dependency in acpi_device_set_id() Toshi Kani
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Toshi Kani @ 2013-03-04 21:30 UTC (permalink / raw)
  To: rjw
  Cc: linux-acpi, linux-kernel, yinghai, jiang.liu, isimatu.yasuaki,
	Toshi Kani

When installing/removing a notify handler to/from an ACPI device
object, ACPI core tries to match its associated scan handler to
see if it supports hotplug.  However, the matching logic of the
notify handler is different from the matching logic of attaching
a scan handler to an ACPI device object.  This inconsistency can
lead a mismatch and prevents ACPI scan handlers from supporting
non-HID devices, such as processor objects.

This patchset first updates PNPID setup interfaces to be independent
from acpi_device, and then updates the matching logic of the notify
handlers to be consistent with the attach handling.

This patchset is based on linux-pm.git/bleeding-edge.

---
Toshi Kani (3):
  ACPI: Remove acpi_device dependency in acpi_device_set_id()
  ACPI: Update PNPID set/free interfaces
  ACPI: Update PNPID match handling for notify

---
 drivers/acpi/internal.h               |   2 +-
 drivers/acpi/power.c                  |   2 +-
 drivers/acpi/scan.c                   | 203 +++++++++++++++++++---------------
 drivers/acpi/video_detect.c           |  25 ++---
 drivers/gpu/drm/i915/intel_opregion.c |   4 +-
 include/acpi/acpi_bus.h               |  14 ++-
 include/linux/acpi.h                  |   4 +-
 7 files changed, 138 insertions(+), 116 deletions(-)

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

end of thread, other threads:[~2013-03-26 14:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-04 21:30 [PATCH 0/3] ACPI: Provide consistent PNPID match handling Toshi Kani
2013-03-04 21:30 ` [PATCH 1/3] ACPI: Remove acpi_device dependency in acpi_device_set_id() Toshi Kani
2013-03-04 21:30 ` [PATCH 2/3] ACPI: Update PNPID set/free interfaces Toshi Kani
2013-03-04 21:30 ` [PATCH 3/3] ACPI: Update PNPID match handling for notify Toshi Kani
2013-03-26 13:11 ` [PATCH 0/3] ACPI: Provide consistent PNPID match handling Rafael J. Wysocki
2013-03-26 14:42   ` Toshi Kani

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

all inboxes | Powered by JetHome®