diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-10-21 22:43:38 (GMT) |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2011-10-31 17:17:43 (GMT) |
commit | 0d52f54e2ef64c189dedc332e680b2eb4a34590a (patch) | |
tree | 638b77454f0abdc808d93628d66c219080fc9e58 /drivers/pci/proc.c | |
parent | 839d8810747bbf39e0a5a7f223b67bffa7945f8d (diff) | |
download | linux-fsl-qoriq-0d52f54e2ef64c189dedc332e680b2eb4a34590a.tar.xz |
PCI / ACPI: Make acpiphp ignore root bridges using PCIe native hotplug
If the kernel has requested control of the PCIe native hotplug
feature for a given root complex, the acpiphp driver should not try
to handle that root complex and it should leave it to pciehp.
Failing to do so causes problems to happen if acpiphp is loaded
before pciehp on such systems.
To address this issue make find_root_bridges() ignore PCIe root
complexes with PCIe native hotplug enabled and make add_bridge()
return error code if PCIe native hotplug is enabled for the given
root port. This causes acpiphp to refuse to load if PCIe native
hotplug is enabled for all complexes and to refuse binding to
the root complexes with PCIe native hotplug is enabled.
Acked-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/proc.c')
0 files changed, 0 insertions, 0 deletions