[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220407131602.14727-1-yangyicong@hisilicon.com>
Date: Thu, 7 Apr 2022 21:16:02 +0800
From: Yicong Yang <yangyicong@...ilicon.com>
To: <bhelgaas@...gle.com>, <rafael@...nel.org>, <lenb@...nel.org>
CC: <linux-pci@...r.kernel.org>, <linux-acpi@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <yangyicong@...ilicon.com>,
<linuxarm@...wei.com>
Subject: [PATCH] PCI/ACPI: Decouple the negotiation of ASPM and other PCIe services
Currently we regard ASPM as a necessary PCIe service and if it's disabled
by pcie_aspm=off we cannot enable other services like AER and hotplug.
However the ASPM is just one of the PCIe services and other services
mentioned no dependency on this. So this patch decouples the negotiation
of ASPM and other PCIe services, then we can make use of other services
in the absence of ASPM.
Aaron Sierra tried to fix this originally:
https://lore.kernel.org/linux-pci/20190702201318.GC128603@google.com/
Signed-off-by: Yicong Yang <yangyicong@...ilicon.com>
---
drivers/acpi/pci_root.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/acpi/pci_root.c b/drivers/acpi/pci_root.c
index 6f9e75d14808..16fa7c5a11ad 100644
--- a/drivers/acpi/pci_root.c
+++ b/drivers/acpi/pci_root.c
@@ -37,8 +37,6 @@ static int acpi_pci_root_scan_dependent(struct acpi_device *adev)
}
#define ACPI_PCIE_REQ_SUPPORT (OSC_PCI_EXT_CONFIG_SUPPORT \
- | OSC_PCI_ASPM_SUPPORT \
- | OSC_PCI_CLOCK_PM_SUPPORT \
| OSC_PCI_MSI_SUPPORT)
static const struct acpi_device_id root_device_ids[] = {
--
2.24.0
Powered by blists - more mailing lists