android_kernel_samsung_univ.../drivers/pci
Vitaly Kuznetsov fef9866d27 ACPI / PCI: Bail early in acpi_pci_add_bus() if there is no ACPI handle
commit a0040c0145945d3bd203df8fa97f6dfa819f3f7d upstream.

Hyper-V instances support PCI pass-through which is implemented through PV
pci-hyperv driver. When a device is passed through, a new root PCI bus is
created in the guest. The bus sits on top of VMBus and has no associated
information in ACPI. acpi_pci_add_bus() in this case proceeds all the way
to acpi_evaluate_dsm(), which reports

  ACPI: \: failed to evaluate _DSM (0x1001)

While acpi_pci_slot_enumerate() and acpiphp_enumerate_slots() are protected
against ACPI_HANDLE() being NULL and do nothing, acpi_evaluate_dsm() is not
and gives us the error. It seems the correct fix is to not do anything in
acpi_pci_add_bus() in such cases.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-08-09 12:19:28 +02:00
..
host PCI: keystone: Fix interrupt-controller-node lookup 2018-02-28 10:17:21 +01:00
hotplug PCI: pciehp: Clear Presence Detect and Data Link Layer Status Changed on resume 2018-07-03 11:21:30 +02:00
pcie PCI/AER: Report non-fatal errors only to the affected endpoint 2017-12-25 14:22:15 +01:00
access.c
ats.c
bus.c
host-bridge.c
hotplug-pci.c
htirq.c
iov.c PCI: Create SR-IOV virtfn/physfn links before attaching driver 2017-12-25 14:22:14 +01:00
irq.c
Kconfig
Makefile
msi.c
of.c
pci-acpi.c ACPI / PCI: Bail early in acpi_pci_add_bus() if there is no ACPI handle 2018-08-09 12:19:28 +02:00
pci-driver.c PCI: Restore config space on runtime resume despite being unbound 2018-05-30 07:49:12 +02:00
pci-label.c
pci-stub.c
pci-sysfs.c PCI: Prevent sysfs disable of device while driver is attached 2018-08-06 16:24:33 +02:00
pci.c PCI: Avoid bus reset if bridge itself is broken 2017-12-25 14:22:14 +01:00
pci.h
probe.c PCI: Make PCI_ROM_ADDRESS_MASK a 32-bit constant 2018-04-08 11:51:57 +02:00
proc.c
quirks.c PCI: Add function 1 DMA alias quirk for Marvell 88SE9220 2018-05-30 07:49:15 +02:00
remove.c PCI: Detach driver before procfs & sysfs teardown on device remove 2017-12-20 10:05:00 +01:00
rom.c
search.c
setup-bus.c
setup-irq.c
setup-res.c PCI: Make PCI_ROM_ADDRESS_MASK a 32-bit constant 2018-04-08 11:51:57 +02:00
slot.c
syscall.c
vc.c
vpd.c
xen-pcifront.c