lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z_2nIRgPqp2JlT9m@MKMSTEBATES01.amd.com>
Date: Mon, 14 Apr 2025 18:24:01 -0600
From: Stephen Bates <sbates@...thlin.com>
To: bhelgaas@...gle.com, logang@...tatee.com, linux-pci@...r.kernel.org,
	linux-kernel@...r.kernel.org
Cc: sbates@...thlin.com
Subject: [PATCH] p2pdma: Whitelist the QEMU host bridge for x86_64

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@...thlin.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.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ