Skip to content

Commit 9eac0c7

Browse files
authored
Merge pull request #190 from krishnachaitanya-linux/qcom-6.18.y
Workaround: PCI: Disable L1ss through quirk for Qualcomm SA8775P
2 parents fabf00f + 973ce45 commit 9eac0c7

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

drivers/pci/quirks.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2527,6 +2527,12 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_FREESCALE, 0x0451, quirk_disable_aspm_l0s
25272527
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_PASEMI, 0xa002, quirk_disable_aspm_l0s_l1);
25282528
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_HUAWEI, 0x1105, quirk_disable_aspm_l0s_l1);
25292529

2530+
static void quirk_disable_aspm_l1ss(struct pci_dev *dev)
2531+
{
2532+
pci_disable_link_state(dev, PCIE_LINK_STATE_L1_1 | PCIE_LINK_STATE_L1_2);
2533+
}
2534+
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_QCOM, 0x1103, quirk_disable_aspm_l1ss);
2535+
25302536
/*
25312537
* Some Pericom PCIe-to-PCI bridges in reverse mode need the PCIe Retrain
25322538
* Link bit cleared after starting the link retrain process to allow this

0 commit comments

Comments
 (0)