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

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

On 2026-08-04 15:55, Logan Gunthorpe wrote:
> 
> 
> 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.

Err, I thought I was sending this on patch 5 but I made a mistake. I
meant patches 5 through 8 here.

Logan