Re: [PATCH 07/13] PCI/P2PDMA: Derive peer-to-peer routing from ACS control bits

Logan Gunthorpe <[email protected]> Tue, 4 Aug 2026 15:55:10 -0600
Newsgroups gmane.linux.kernel,gmane.linux.kernel.pci,gmane.linux.documentation
Message-ID <[email protected]>

On 2026-08-02 09:09, Leon Romanovsky wrote:
> From: Leon Romanovsky <[email protected]>
> 
> The redirect test reports an upstream redirect for any ACS redirect or
> egress control bit. PCIe r7.0, sec 6.12.3, table 6-11 ties the outcome to
> the control bits and the target vector, and an enabled egress control bit
> alone does not redirect. Compute the result from the control bits so the
> vector can be honored next, using the host-bridge route while the peer
> target is unknown.
> 
> Signed-off-by: Leon Romanovsky <[email protected]>

Ok, thanks, this is not the simplest thing to understand but I've
followed through this and the next 3 patches and I think it makes sense
to me.

Reviewed-by: Logan Gunthorpe <[email protected]>

Logan