Bug#1015871: Enabling PCI_P2PDMA for distro kernels?
- To: Lukas Wunner <lukas@wunner.de>, Logan Gunthorpe <logang@deltatee.com>
- Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>, Bjorn Helgaas <bhelgaas@google.com>, Simon Richter <sjr@debian.org>, 1015871@bugs.debian.org, linux-pci@vger.kernel.org, Alex Deucher <alexander.deucher@amd.com>, Krzysztof Wilczy??ski <kw@linux.com>, Emanuele Rocca <ema@debian.org>
- Subject: Bug#1015871: Enabling PCI_P2PDMA for distro kernels?
- From: Simon Richter <sjr@debian.org>
- Date: Thu, 26 Oct 2023 08:40:04 +0900
- Message-id: <[🔎] 7bf7628c-9d92-4c87-86db-b60c272f59be@debian.org>
- Reply-to: Simon Richter <sjr@debian.org>, 1015871@bugs.debian.org
- In-reply-to: <[🔎] 20231025171126.GA9661@wunner.de>
- References: <[🔎] 20231025061927.smn5xnwpkasctpn7@pengutronix.de> <[🔎] b909a5e6-841a-44e4-a21f-e3cddbf71816@deltatee.com> <[🔎] 20231025171126.GA9661@wunner.de> <165852041410.25326.17973698626515845951.reportbug@lime.hogyros.de>
Hi,
On 10/26/23 02:11, Lukas Wunner wrote:
This has recently been brought up internally at Intel and nobody could
understand why there's a whitelist in the first place. A long-time PCI
architect told me that Intel silicon validation has been testing P2PDMA
at least since the Lindenhurst days, i.e. since 2005.
My PCIe test box generates URE completions in the root complex when I
try to address iGPU BARs from an FPGA, and texture fetches from the iGPU
that use BAR addresses on the FPGA do not get forwarded (so I venture
that is an URE as well).
CPU: i3-3225 CPU @ 3.30GHz (fam: 06, model: 3a, stepping: 09)
pci 0000:00:00.0: [8086:0150] type 00 class 0x060000
pci 0000:00:01.0: [8086:0151] type 01 class 0x060400
pci 0000:00:02.0: [8086:0162] type 00 class 0x030000
pci 0000:00:14.0: [8086:1e31] type 00 class 0x0c0330
pci 0000:00:16.0: [8086:1e3a] type 00 class 0x078000
pci 0000:00:1a.0: [8086:1e2d] type 00 class 0x0c0320
pci 0000:00:1b.0: [8086:1e20] type 00 class 0x040300
pci 0000:00:1c.0: [8086:1e10] type 01 class 0x060400
pci 0000:00:1c.4: [8086:1e18] type 01 class 0x060400
pci 0000:00:1d.0: [8086:1e26] type 00 class 0x0c0320
pci 0000:00:1f.0: [8086:1e4a] type 00 class 0x060100
pci 0000:00:1f.2: [8086:1e00] type 00 class 0x01018f
pci 0000:00:1f.3: [8086:1e22] type 00 class 0x0c0500
pci 0000:00:1f.5: [8086:1e08] type 00 class 0x010185
pci 0000:01:00.0: [1172:1337] type 00 class 0xff0000
pci 0000:03:00.0: [10ec:8168] type 00 class 0x020000
So there is at least one configuration that doesn't work. :P
Simon
Reply to: