diff options
author | Joerg Roedel <jroedel@suse.de> | 2015-06-29 10:16:08 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2015-06-29 21:57:19 +0200 |
commit | 38667f18900afe172a4fe44279b132b4140f920f (patch) | |
tree | d5e64dc3e7be3c9752675717fba5bc7c2a35dda8 /tools/perf/scripts/python/sched-migration.py | |
parent | 5ffde2f67181195d457b95df44b8f88e8d969d89 (diff) |
iommu: Ignore -ENODEV errors from add_device call-back
The -ENODEV error just means that the device is not
translated by an IOMMU. We shouldn't bail out of iommu
driver initialization when that happens, as this is a common
scenario on ARM.
Not returning -ENODEV in the drivers would be a bad idea, as
the IOMMU core would have no indication whether a device is
translated or not. This indication is not used at the
moment, but will probably be in the future.
Fixes: 19762d7 ("iommu: Propagate error in add_iommu_group")
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Eric Auger <eric.auger@linaro.org>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions