Re: [PATCH] crypto: qat - stop using iommu_present()

2022-04-15 Thread Herbert Xu
On Tue, Apr 05, 2022 at 01:25:11PM +0100, 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. Replace iommu_present() with a more appropriate check. > > Signed-off-by:

Re: [PATCH] crypto: qat - stop using iommu_present()

2022-04-10 Thread Giovanni Cabiddu
On Tue, Apr 05, 2022 at 01:25:11PM +0100, 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. Replace iommu_present() with a more appropriate check. > > Signed-off-by:

[PATCH] crypto: qat - 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. Replace iommu_present() with a more appropriate check. Signed-off-by: Robin Murphy --- drivers/crypto/qat/qat_common/adf_sriov.c | 3 +-- 1