Linux PCI subsystem development
 help / color / mirror / Atom feed
From: Lukas Wunner <lukas@wunner.de>
To: Logan Gunthorpe <logang@deltatee.com>
Cc: Bjorn Helgaas <helgaas@kernel.org>,
	Giovanni Cabiddu <giovanni.cabiddu@intel.com>,
	Vinicius Costa Gomes <vinicius.gomes@intel.com>,
	linux-pci@vger.kernel.org, qat-linux@intel.com,
	Damir Chanyshev <conflict342@gmail.com>,
	Simon Richter <sjr@debian.org>,
	Tomasz Ossowski <tomasz.ossowski@intel.com>
Subject: Re: [PATCH] PCI/P2PDMA: Add Intel QAT, DSA, IAA devices to whitelist
Date: Thu, 4 Jun 2026 17:42:48 +0200	[thread overview]
Message-ID: <aiGc-CCSdIeEYTLb@wunner.de> (raw)
In-Reply-To: <a830ffd4-14a1-4739-b862-25e664394a96@deltatee.com>

On Thu, Jun 04, 2026 at 09:21:50AM -0600, Logan Gunthorpe wrote:
> On 2026-06-04 5:50 a.m., Lukas Wunner wrote:
> > The first device on a PCI root bus determines whether the host bridge is
> > whitelisted for P2PDMA.  All Intel Xeon chips since Ice Lake (ICX, 2021)
> > expose a device with ID 0x09a2 as first device.  It is loosely associated
> > with the IOMMU.  All these Xeon chips support P2PDMA, so since the
> > addition of the device with commit feaea1fe8b36 ("PCI/P2PDMA: Add Intel
> > 3rd Gen Intel Xeon Scalable Processors to whitelist"), P2PDMA has been
> > allowed on all new Xeons without the need to amend the whitelist:
[...]
> > However these Xeons also expose accelerators as first device on a root bus
> > of its own:
> > 
> >   QuickAssist Technology (QAT, crypto & compression accelerator)
> >   Data Streaming Accelerator (DSA, dma engine)
> >   In-Memory Analytics Accelerator (IAA, dma engine)
> > 
> > Whitelist them for P2PDMA as well.  Move their Device ID macros from the
> > accelerator drivers to <linux/pci_ids.h> for reuse by P2PDMA code.
> 
> I'm sorry, I don't fully understand this. Are QAT devices functioning as
> root ports? Are there devices in the tree that are doing P2P
> transactions through theme? That surprises me.

These accelerators are RCiEPs, each located on a Host Bridge by itself.
The idea is that users should be able to set up P2PDMA between these
accelerators and other devices.

Thanks,

Lukas

  reply	other threads:[~2026-06-04 15:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-04 11:50 [PATCH] PCI/P2PDMA: Add Intel QAT, DSA, IAA devices to whitelist Lukas Wunner
2026-06-04 15:21 ` Logan Gunthorpe
2026-06-04 15:42   ` Lukas Wunner [this message]
2026-06-04 23:44     ` 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=aiGc-CCSdIeEYTLb@wunner.de \
    --to=lukas@wunner.de \
    --cc=conflict342@gmail.com \
    --cc=giovanni.cabiddu@intel.com \
    --cc=helgaas@kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=logang@deltatee.com \
    --cc=qat-linux@intel.com \
    --cc=sjr@debian.org \
    --cc=tomasz.ossowski@intel.com \
    --cc=vinicius.gomes@intel.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