Skip to contentSkip to conversation

PCI/P2PDMA: Add HYGON to pci_p2pdma_whitelist

PATCH New Jing Lv 1 participant 1 message Nov 2

Subsystems (2)
lore
Share & tools
lore

Jing Lv

author
#0 lore raw

PATCH 1/1 PCI/P2PDMA: Add HYGON to pci_p2pdma_whitelist

Dear Bjorn and Logan,

I am working on Hygon C86-4G (OPN: 7490) platform with Ubuntu 24.04.4 LTS (GNU/Linux 6.8.0-53-generic). It happens cross-bridge p2pdma between GPU and SSD is not supported. With {PCI_VENDOR_ID_HYGON, 0x1480, 0} added in struct pci_p2pdma_whitelist, there is no problem. I notice there are similar code changes recently, e.g., "[PATCH] PCI/P2PDMA: Add Zhaoxin host bridges to whitelist" and "[PATCH] PCI/P2PDMA: Add Alibaba T-HEAD Yitian 710 to whitelist". It would be appreciated if the fix could be merged to the linux repo -- please involve Hygon in the community if appropriate.

With regards,
Jing

--------------------------------------------------------------------------------

drivers/pci/p2pdma.c +0 -0
index 0c361561b855..e66fb7e71bdb 100644
@@ -442,6 +442,8 @@ static const struct pci_p2pdma_whitelist_entry {
        {PCI_VENDOR_ID_INTEL,   0x2033, 0},
        {PCI_VENDOR_ID_INTEL,   0x2020, 0},
        {PCI_VENDOR_ID_INTEL,   0x09a2, 0},

+ /* Hygon C86-4G (OPN: 7490) */
+ {PCI_VENDOR_ID_HYGON, 0x1480, 0},
        {}
 };