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

2022-04-08 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (master) by Jakub Kicinski : On Tue, 5 Apr 2022 14:40:55 +0100 you 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 appear

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

2022-04-07 Thread Edward Cree
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 IOMM

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

2022-04-05 Thread Robin Murphy
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 actua