Skip to content

Commit 1f84e9f

Browse files
committed
PCI: Add ARCH_PHYTIUM check for phytium root and switch ports
deepin inclusion category: bugfix To prevent affect other platform or use a runtime check, use ARCH_PHYTIUM to limit the quirk in our arm64 platform kernel. Fixes: 66d2694 ("PCI: Add ACS quirk for phytium root and switch ports") Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
1 parent 8200fe6 commit 1f84e9f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/pci/quirks.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5381,8 +5381,10 @@ static const struct pci_dev_acs_enabled {
53815381
{ PCI_VENDOR_ID_MUCSE, 0x1061, pci_quirk_mf_endpoint_acs },
53825382
{ PCI_VENDOR_ID_MUCSE, 0x1c61, pci_quirk_mf_endpoint_acs },
53835383
/* Phytium Technology */
5384+
#ifdef CONFIG_ARCH_PHYTIUM
53845385
{ PCI_VENDOR_ID_PLX, PCI_ANY_ID, pci_quirk_xgene_acs },
53855386
{ PCI_VENDOR_ID_CDNS, PCI_ANY_ID, pci_quirk_xgene_acs },
5387+
#endif
53865388
{ PCI_VENDOR_ID_PHYTIUM, PCI_ANY_ID, pci_quirk_xgene_acs },
53875389
{ 0 }
53885390
};

0 commit comments

Comments
 (0)