]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/ACPI: Allow _OSC presence to be optional for PCI
authorSinan Kaya <okaya@kernel.org>
Fri, 10 Aug 2018 04:32:12 +0000 (04:32 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 17 Sep 2018 21:32:24 +0000 (16:32 -0500)
commitef933b6c64efa82dc39ff45c8ce0d96e5f60f58f
tree4d7b0116c0c4a86c6969564bf8ceceb02cfb15e0
parent62774a163cd2eec88b87f8910eee67bed29de2f7
PCI/ACPI: Allow _OSC presence to be optional for PCI

The PCI Firmware Spec, r3.2, sec 4.5.1, says:

  For a host bridge device that originates a PCI Express hierarchy, the
  _OSC interface defined in this section is required.  For a host bridge
  device that originates a PCI/PCI-X bus hierarchy, inclusion of an _OSC
  object is optional.

Allow PCI host bridges to bail out silently if _OSC is not found.

Reported-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Sinan Kaya <okaya@kernel.org>
[bhelgaas: cite PCI Firmware spec, the authoritative source]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/acpi/pci_root.c