> From: Leon Romanovsky <[email protected]>
> 
> ACS redirect controls choose between peer and upstream routes only at the
> path divergence. Applying them below that point rejects valid nested
> topologies because traffic already has only an upstream route.
> 
>     Host bridge 1      Host bridge 2
>           |                  |
>     PCIe switch 1      PCIe switch 2
>        |     |               |
>        A     B               C
> 
> A's and B's paths diverge in switch 1. A and C share no upstream bridge,
> so no direct route exists for ACS to gate.
> 
> Evaluate Request controls on the Requester-side divergence port and
> Completion Redirect on the Completer-side port and reject an unreadable ACS
> Control register.
> 
> Fixes: 52916982af48 ("PCI/P2PDMA: Support peer-to-peer memory")
> Reviewed-by: Logan Gunthorpe <[email protected]>
> Tested-by: Tushar Dave <[email protected]>
> Signed-off-by: Leon Romanovsky <[email protected]>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review ยท 
https://sashiko.dev/#/patchset/[email protected]?part=4

Reply via email to