PCI: shpchp: Request SHPC control via _OSC when adding host bridge
authorMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 23 May 2018 22:40:23 +0000 (17:40 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 2 Jun 2018 05:18:28 +0000 (00:18 -0500)
commit1df81a6d6e01ff3f351c614c5bc35b49847e1dc5
treeda574d3095c83692bccf5ae669415ece176ea8a2
parent82280f7af729125b89d47cb420cac0a761664b32
PCI: shpchp: Request SHPC control via _OSC when adding host bridge

The SHPC driver now must be builtin (it cannot be a module).  If it is
present, request SHPC control immediately when adding the ACPI host bridge.
This is similar to how we handle native PCIe hotplug via pciehp.

Suggested-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
[bhelgaas: split to separate patch]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/pci_root.c
drivers/pci/probe.c
include/linux/pci.h