]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
PCI: Add ACS quirk for Qualcomm SA8775P
authorSubramanian Ananthanarayanan <quic_skananth@quicinc.com>
Fri, 6 Sep 2024 05:22:27 +0000 (10:52 +0530)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Fri, 6 Sep 2024 06:43:09 +0000 (06:43 +0000)
The Qualcomm SA8775P root ports don't advertise an ACS capability, but they
do provide ACS-like features to disable peer transactions and validate bus
numbers in requests.

Thus, add an ACS quirk for the SA8775P.

Link: https://lore.kernel.org/linux-pci/20240906052228.1829485-1-quic_skananth@quicinc.com
Signed-off-by: Subramanian Ananthanarayanan <quic_skananth@quicinc.com>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
drivers/pci/quirks.c

index a2ce4e08edf5a31375bfb8b4358a9d2245f9b102..e085ec3d9982461979e487ed0b63f64402f7359b 100644 (file)
@@ -5070,6 +5070,8 @@ static const struct pci_dev_acs_enabled {
        /* QCOM QDF2xxx root ports */
        { PCI_VENDOR_ID_QCOM, 0x0400, pci_quirk_qcom_rp_acs },
        { PCI_VENDOR_ID_QCOM, 0x0401, pci_quirk_qcom_rp_acs },
+       /* QCOM SA8775P root port */
+       { PCI_VENDOR_ID_QCOM, 0x0115, pci_quirk_qcom_rp_acs },
        /* HXT SD4800 root ports. The ACS design is same as QCOM QDF2xxx */
        { PCI_VENDOR_ID_HXT, 0x0401, pci_quirk_qcom_rp_acs },
        /* Intel PCH root ports */