|
@@ -477,6 +477,9 @@ static void negotiate_os_control(struct acpi_pci_root *root, int *no_aspm)
|
|
|
if (IS_ENABLED(CONFIG_HOTPLUG_PCI_PCIE))
|
|
|
control |= OSC_PCI_EXPRESS_NATIVE_HP_CONTROL;
|
|
|
|
|
|
+ if (IS_ENABLED(CONFIG_HOTPLUG_PCI_SHPC))
|
|
|
+ control |= OSC_PCI_SHPC_NATIVE_HP_CONTROL;
|
|
|
+
|
|
|
if (pci_aer_available()) {
|
|
|
if (aer_acpi_firmware_first())
|
|
|
dev_info(&device->dev,
|
|
@@ -903,6 +906,8 @@ struct pci_bus *acpi_pci_root_create(struct acpi_pci_root *root,
|
|
|
host_bridge = to_pci_host_bridge(bus->bridge);
|
|
|
if (!(root->osc_control_set & OSC_PCI_EXPRESS_NATIVE_HP_CONTROL))
|
|
|
host_bridge->native_pcie_hotplug = 0;
|
|
|
+ if (!(root->osc_control_set & OSC_PCI_SHPC_NATIVE_HP_CONTROL))
|
|
|
+ host_bridge->native_shpc_hotplug = 0;
|
|
|
if (!(root->osc_control_set & OSC_PCI_EXPRESS_AER_CONTROL))
|
|
|
host_bridge->native_aer = 0;
|
|
|
if (!(root->osc_control_set & OSC_PCI_EXPRESS_PME_CONTROL))
|