Re: [PATCH v3 05/14] PCI/P2PDMA: Apply host bridge whitelist for ACS

From: Christoph Hellwig
Date: Fri Aug 16 2019 - 04:09:19 EST

On Mon, Aug 12, 2019 at 11:30:39AM -0600, Logan Gunthorpe wrote:
> When a P2PDMA transfer is rejected due to ACS being set, we can also check
> the whitelist and allow the transactions.
> Do this by pushing the whitelist check into the upstream_bridge_distance()
> function.
> Link:
> Signed-off-by: Logan Gunthorpe <logang@xxxxxxxxxxxx>
> Signed-off-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
> Reviewed-by: Christian König <christian.koenig@xxxxxxx>

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>