summaryrefslogtreecommitdiffstats
path: root/include/acpi/acpi_bus.h
diff options
context:
space:
mode:
authorRafael J. Wysocki2014-02-16 00:12:09 +0100
committerRafael J. Wysocki2014-02-16 00:12:09 +0100
commitcc6254e00eb676dda6501655f8185aef7b761b4f (patch)
tree715f7e1f038b6ee6540e61776b5d54c7a5c0fcce /include/acpi/acpi_bus.h
parentACPI / hotplug / PCI: Rename register_slot() to acpiphp_add_context() (diff)
downloadkernel-qcow2-linux-cc6254e00eb676dda6501655f8185aef7b761b4f.tar.gz
kernel-qcow2-linux-cc6254e00eb676dda6501655f8185aef7b761b4f.tar.xz
kernel-qcow2-linux-cc6254e00eb676dda6501655f8185aef7b761b4f.zip
ACPI / hotplug / PCI: Add ACPIPHP contexts to devices handled by PCIeHP
Currently, ACPIPHP does not add hotplug context to devices that should be handled by the native PCI hotplug (PCIeHP) code. The reason why was because PCIeHP didn't know about the devices' connections with ACPI and would not clean up things properly during an eject of an ACPI-backed device, for example. However, after recent changes that made the ACPI core create struct acpi_device objects for all namespace nodes regardless of the underlying devices' status and added PCI rescan-remove locking to both ACPIPHP and PCIeHP, that concern is not valid any more. Namely, after those changes PCIeHP need not care about the ACPI side of things any more and it should be serialized with respect to ACPIPHP and they won't be running concurrently with each other in any case. For this reason, make ACPIPHP to add its hotplug context to all devices with ACPI companions, even the ones that should be handled by PCIeHP in principle. That may work around hotplug issues on some systems where PCIeHP is supposed to work, but it doesn't and the ACPI hotplug signaling works instead. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi/acpi_bus.h')
0 files changed, 0 insertions, 0 deletions