android_kernel_xiaomi_sdm845/drivers/pci/pcie
Andrew Patterson 3c75e23784 PCI: Run ACPI _OSC method on root bridges only
According to the PCI Firmware Specification Revision 3.0 section 4.5, _OSC
should only be called on a root brdige.  Here is the relevant passage: "The
_OSC interface defined in this section applies only to Host Bridge ACPI
devices that originate PCI, PCI-X, or PCI Express hierarchies". Changed the
code to find the parent root bridge of the device and call _OSC on that.

Signed-off-by: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-02-01 15:04:30 -08:00
..
aer PCI: Run ACPI _OSC method on root bridges only 2008-02-01 15:04:30 -08:00
Kconfig pciehp: remove CONFIG_HOTPLUG_PCI_PCIE_POLL_EVENT_MODE 2007-10-12 15:03:14 -07:00
Makefile PCI-Express AER implemetation: AER core and aerdriver 2006-09-26 17:43:53 -07:00
portdrv_bus.c PCI-Express AER implemetation: export pcie_port_bus_type 2006-09-26 17:43:52 -07:00
portdrv_core.c pcie port driver: correctly detect native PME feature 2008-02-01 15:04:18 -08:00
portdrv_pci.c PCI: pcie portdriver: initialize returned value 2007-11-28 14:35:25 -08:00
portdrv.h PCI: pcie-check-and-return-bus_register-errors fix 2006-10-18 11:36:10 -07:00