From: Stephen Bates <sbates@raithlin.com>
To: bhelgaas@google.com, logang@deltatee.com,
linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: sbates@raithlin.com
Subject: [PATCH] p2pdma: Whitelist the QEMU host bridge for x86_64
Date: Mon, 14 Apr 2025 18:24:01 -0600 [thread overview]
Message-ID: <Z_2nIRgPqp2JlT9m@MKMSTEBATES01.amd.com> (raw)
It is useful to be able to develop and test p2pdma applications in
virtualized environments. Whitelist the QEMU PCI host bridge emulated
by the default QEMU system for x86_64.
Signed-off-by: Stephen Bates <sbates@raithlin.com>
---
drivers/pci/p2pdma.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/pci/p2pdma.c b/drivers/pci/p2pdma.c
index 0cb7e0aaba0e..03b41ee0cc72 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},
+ /* QEMU Host Bridge */
+ {PCI_VENDOR_ID_INTEL, 0x29c0, 0},
{}
};
--
2.43.0
--
Cheers
Stephen Bates, PhD.
next reply other threads:[~2025-04-15 0:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-15 0:24 Stephen Bates [this message]
2025-04-15 17:00 ` [PATCH] p2pdma: Whitelist the QEMU host bridge for x86_64 Logan Gunthorpe
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=Z_2nIRgPqp2JlT9m@MKMSTEBATES01.amd.com \
--to=sbates@raithlin.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