Re: [PATCH net-next] sfc: Stop using iommu_present()

From: Edward Cree
Date: Thu Apr 07 2022 - 12:06:58 EST


On 05/04/2022 14:40, Robin Murphy wrote:
> Even if an IOMMU might be present for some PCI segment in the system,
> that doesn't necessarily mean it provides translation for the device
> we care about. It appears that what we care about here is specifically
> whether DMA mapping ops involve any IOMMU overhead or not, so check for
> translation actually being active for our device.
>
> Signed-off-by: Robin Murphy <robin.murphy@xxxxxxx>
Acked-by: Edward Cree <ecree.xilinx@xxxxxxxxx>