mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] PCI/P2PDMA: Add HYGON to pci_p2pdma_whitelist
@ 2026-11-02  6:42 Jing Lv
  0 siblings, 0 replies; only message in thread
From: Jing Lv @ 2026-11-02  6:42 UTC (permalink / raw)
  To: Helgaas, Gunthorpe; +Cc: linux-pci, linux-kernel



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


--------------------------------------------------------------------------------
diff --git a/drivers/pci/p2pdma.c b/drivers/pci/p2pdma.c
index 0c361561b855..e66fb7e71bdb 100644
--- a/drivers/pci/p2pdma.c
+++ b/drivers/pci/p2pdma.c
@@ -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},
        {}
 };

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-02  6:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-02  6:42 [PATCH] PCI/P2PDMA: Add HYGON to pci_p2pdma_whitelist Jing Lv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®