ACPI: Provide consistent PNPID match handling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ACPI: Remove acpi_device dependency in acpi_device_set_id()drivers/ drivers/ drivers/ +2 more | +59 | 0 replies | |
| 2/3 | ACPI: Update PNPID set/free interfacesdrivers/ drivers/ drivers/ | +45 | 0 replies | |
| 3/3 | ACPI: Update PNPID match handling for notifydrivers/ | +52 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] ACPI: Provide consistent PNPID match handling
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(-)