diff options
author | Andre Przywara <[email protected]> | 2020-04-01 11:27:24 +0100 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2020-04-01 13:51:51 -0600 |
commit | f44efca0493ddc1e8731047c234ec8e475943077 (patch) | |
tree | 899f176f70b34d03b8cde5a86b2a74af1720fe4a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 00bc5095547ef9878324167fe0c3e56f7b388159 (diff) |
vfio: Ignore -ENODEV when getting MSI cookie
When we try to get an MSI cookie for a VFIO device, that can fail if
CONFIG_IOMMU_DMA is not set. In this case iommu_get_msi_cookie() returns
-ENODEV, and that should not be fatal.
Ignore that case and proceed with the initialisation.
This fixes VFIO with a platform device on the Calxeda Midway (no MSIs).
Fixes: f6810c15cf973f ("iommu/arm-smmu: Clean up early-probing workarounds")
Signed-off-by: Andre Przywara <[email protected]>
Acked-by: Robin Murphy <[email protected]>
Reviewed-by: Eric Auger <[email protected]>
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions