diff options
author | Mika Westerberg | 2018-05-24 00:40:23 +0200 |
---|---|---|
committer | Bjorn Helgaas | 2018-06-02 07:18:28 +0200 |
commit | 1df81a6d6e01ff3f351c614c5bc35b49847e1dc5 (patch) | |
tree | da574d3095c83692bccf5ae669415ece176ea8a2 /include/linux/pci.h | |
parent | PCI: shpchp: Convert SHPC to be builtin only (diff) | |
download | kernel-qcow2-linux-1df81a6d6e01ff3f351c614c5bc35b49847e1dc5.tar.gz kernel-qcow2-linux-1df81a6d6e01ff3f351c614c5bc35b49847e1dc5.tar.xz kernel-qcow2-linux-1df81a6d6e01ff3f351c614c5bc35b49847e1dc5.zip |
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>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 3f009003706a..a4968cdb5f33 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -475,6 +475,7 @@ struct pci_host_bridge { unsigned int no_ext_tags:1; /* No Extended Tags */ unsigned int native_aer:1; /* OS may use PCIe AER */ unsigned int native_pcie_hotplug:1; /* OS may use PCIe hotplug */ + unsigned int native_shpc_hotplug:1; /* OS may use SHPC hotplug */ unsigned int native_pme:1; /* OS may use PCIe PME */ /* Resource alignment requirements */ resource_size_t (*align_resource)(struct pci_dev *dev, |