From c7fd7c1e58be5421b13ee38cd675660b24925317 Mon Sep 17 00:00:00 2001 From: LeoLiu-oc Date: Thu, 5 Jun 2025 18:01:19 +0800 Subject: [PATCH] anolis: PCI/P2PDMA: Add Zhaoxin Zhaoxin bridges to the whitelist ANBZ: #21673 Add Zhaoxin host bridges to the whitelist of p2pdma. Signed-off-by: LeoLiu-oc --- drivers/pci/p2pdma.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/pci/p2pdma.c b/drivers/pci/p2pdma.c index 3147d07e2de9..1eb613df7b2d 100644 --- a/drivers/pci/p2pdma.c +++ b/drivers/pci/p2pdma.c @@ -304,6 +304,12 @@ static const struct pci_p2pdma_whitelist_entry { {PCI_VENDOR_ID_INTEL, 0x2032, 0}, {PCI_VENDOR_ID_INTEL, 0x2033, 0}, {PCI_VENDOR_ID_INTEL, 0x2020, 0}, + /* KX-6000/KX-6000G/KX-7000/KH-40000/KH-50000 */ + {PCI_VENDOR_ID_ZHAOXIN, 0x1003, REQ_SAME_HOST_BRIDGE}, + {PCI_VENDOR_ID_ZHAOXIN, 0x1005, REQ_SAME_HOST_BRIDGE}, + {PCI_VENDOR_ID_ZHAOXIN, 0x1006, REQ_SAME_HOST_BRIDGE}, + {PCI_VENDOR_ID_ZHAOXIN, 0x1007, REQ_SAME_HOST_BRIDGE}, + {PCI_VENDOR_ID_ZHAOXIN, 0x1008, 0}, {} }; -- Gitee