diff options
author | Robin Murphy <robin.murphy@arm.com> | 2022-04-05 14:40:55 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-04-07 21:04:10 -0700 |
commit | 6a62924c0a81316b2aff713566593405b57545d5 (patch) | |
tree | 83349945d71967733d3b906dc8a044bbb85ffee4 /lib/decompress_unlz4.c | |
parent | e9f656b7a21408866ba04c112ccbac73885529bd (diff) |
sfc: Stop using iommu_present()
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@arm.com>
Acked-by: Edward Cree <ecree.xilinx@gmail.com>
Link: https://lore.kernel.org/r/7350f957944ecfce6cce90f422e3992a1f428775.1649166055.git.robin.murphy@arm.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/decompress_unlz4.c')
0 files changed, 0 insertions, 0 deletions