]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 13:11:51 +0000 (15:11 +0200)
[ Upstream commit 026f84d3fa62d215b11cbeb5a5d97df941e93b5c ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pci/quirks.c

index 2d648967aa85f6d76ff95619edf9e5af58559c25..965e2c9406dbd75cf56e21423ffdaecf0b79527f 100644 (file)
@@ -4946,6 +4946,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 */