Re: [PATCH v7 02/19] PCI/P2PDMA: Derive routing from directional ACS controls

From: Logan Gunthorpe

Date: Mon Sep 21 2026 - 16:23:30 EST




On 2026-09-20 05:41, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@xxxxxxxxxx>
>
> pci_bridge_has_acs_redir() treats Request and Completion Redirect as
> interchangeable. On asymmetric fabrics, a control for only the reverse TLP
> direction can unnecessarily force P2PDMA through the host bridge.
>
> Evaluate Request Redirect for client Requests and Completion Redirect for
> provider read Completions. Continue treating enabled Egress Control
> conservatively as a Request redirect.
>
> Fixes: 52916982af48 ("PCI/P2PDMA: Support peer-to-peer memory")
> Tested-by: Tushar Dave <tdave@xxxxxxxxxx>
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx>

Still looks good:

Reviewed-by: Logan Gunthorpe <logang@xxxxxxxxxxxx>