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

From: Logan Gunthorpe

Date: Tue Aug 04 2026 - 17:59:35 EST




On 2026-08-04 15:55, Logan Gunthorpe wrote:
>
>
> On 2026-08-02 09:09, Leon Romanovsky wrote:
>> From: Leon Romanovsky <leonro@xxxxxxxxxx>
>>
>> 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 <leonro@xxxxxxxxxx>
>
> 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