aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinaro CI <ci_notify@linaro.org>2021-02-09 20:08:56 +0000
committerLinaro CI <ci_notify@linaro.org>2021-02-09 20:08:56 +0000
commit7681a5b0ffdd7e0fb579f68582a311e8ec2f1ef2 (patch)
tree7476dbe7ff2d716d79ebab40ce76409c1de0029e
parent8b0694103df5854204145f1bd297e0947df9b419 (diff)
parent15aa99a0a0d7beed4a4e1bf2e6b7dfec7d9aa05e (diff)
Merge remote-tracking branch 'bus-scaling/icc-testing' into integration-linux-qcomlt
-rw-r--r--drivers/pci/controller/dwc/pcie-qcom.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/pci/controller/dwc/pcie-qcom.c b/drivers/pci/controller/dwc/pcie-qcom.c
index affa2713bf80..4e8b5690a897 100644
--- a/drivers/pci/controller/dwc/pcie-qcom.c
+++ b/drivers/pci/controller/dwc/pcie-qcom.c
@@ -1552,6 +1552,13 @@ static void qcom_fixup_class(struct pci_dev *dev)
{
dev->class = PCI_CLASS_BRIDGE_PCI << 8;
}
+
+static void qcom_fixup_nopm(struct pci_dev *dev)
+{
+ dev->pm_cap = 0;
+ dev_info(&dev->dev, "Disabling PCI power management\n");
+}
+
DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_QCOM, 0x0101, qcom_fixup_class);
DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_QCOM, 0x0104, qcom_fixup_class);
DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_QCOM, 0x0106, qcom_fixup_class);
@@ -1559,6 +1566,7 @@ DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_QCOM, 0x0107, qcom_fixup_class);
DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_QCOM, 0x0302, qcom_fixup_class);
DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_QCOM, 0x1000, qcom_fixup_class);
DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_QCOM, 0x1001, qcom_fixup_class);
+DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_RENESAS, 0x0014, qcom_fixup_nopm);
static struct platform_driver qcom_pcie_driver = {
.probe = qcom_pcie_probe,