Re: [PATCH v7 11/19] PCI/P2PDMA: Log detailed ACS routing diagnostics

From: Logan Gunthorpe

Date: Mon Sep 21 2026 - 17:21:13 EST




On 2026-09-20 05:41, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@xxxxxxxxxx>
>
> When P2PDMA rejects a mapping, existing warnings identify only the final
> ACS or host-bridge result. They omit topology, live controls, divergence
> ports, cache state, and intermediate routing decisions.
>
> Emit debug-level messages for verbose calculations and cache lookups.
> Report both paths, decoded ACS controls, directional decisions, host
> fallback, and the final mapping. This keeps incidental unsupported probes
> quiet while allowing the diagnostics to be enabled when needed.
>
> Tested-by: Tushar Dave <tdave@xxxxxxxxxx>
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx>

Looks good to me:

Reviewed-by: Logan Gunthorpe <logang@xxxxxxxxxxxx>