|
@@ -387,8 +387,12 @@ static void negotiate_os_control(struct acpi_pci_root *root, int *no_aspm,
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- if (!pcie_ports_disabled
|
|
|
- && (support & ACPI_PCIE_REQ_SUPPORT) == ACPI_PCIE_REQ_SUPPORT) {
|
|
|
+ if (pcie_ports_disabled) {
|
|
|
+ dev_info(&device->dev, "PCIe port services disabled; not requesting _OSC control\n");
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
+ if ((support & ACPI_PCIE_REQ_SUPPORT) == ACPI_PCIE_REQ_SUPPORT) {
|
|
|
control = OSC_PCI_EXPRESS_CAPABILITY_CONTROL
|
|
|
| OSC_PCI_EXPRESS_NATIVE_HP_CONTROL
|
|
|
| OSC_PCI_EXPRESS_PME_CONTROL;
|