From: "Jing Lv" <lvjing_421@126.com>
To: Helgaas <bhelgaas@google.com>, Gunthorpe <logang@deltatee.com>
Cc: linux-pci <linux-pci@vger.kernel.org>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] PCI/P2PDMA: Add HYGON to pci_p2pdma_whitelist
Date: Mon, 2 Nov 2026 14:42:31 +0800 (CST) [thread overview]
Message-ID: <3ead5562.4f02.1a19afeca3e.Coremail.lvjing_421@126.com> (raw)
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},
{}
};
reply other threads:[~2026-11-02 6:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3ead5562.4f02.1a19afeca3e.Coremail.lvjing_421@126.com \
--to=lvjing_421@126.com \
--cc=bhelgaas@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=logang@deltatee.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®