diff options
author | Robin Murphy <robin.murphy@arm.com> | 2022-04-11 13:36:32 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-22 21:01:18 +0200 |
commit | 77c97a7ea85f3a1f8d2c3bf54869c0b6638519c7 (patch) | |
tree | 482297b10151cab6d63ef5ee173efe52545559ff /drivers/misc/uacce | |
parent | 0ff1d6f8f55eafadea0a5ca25d0eaf3571813c70 (diff) |
habanalabs: 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. Replace iommu_present() with a more appropriate check.
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/uacce')
0 files changed, 0 insertions, 0 deletions