diff options
author | Lorenzo Pieralisi <[email protected]> | 2017-05-27 19:17:44 +0530 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2017-05-30 11:31:33 +0200 |
commit | 4dac3210c54a04be9c187dd31b4debb46e3d792b (patch) | |
tree | 7b1cef9d31c8af430ec7bd066cd7ddc60204d4b2 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | a93a121a96531b99d6feb8db96417b49e1bb28e8 (diff) |
ACPI/IORT: Move the check to get iommu_ops from translated fwspec
With IOMMU probe deferral, iort_iommu_configure can be called
multiple times for the same device. Hence we have a check
to see if the device's fwspec is already translated and return
the iommu_ops from that directly. But the check is wrongly
placed in iort_iommu_xlate, which breaks devices with multiple
sids. Move the check to iort_iommu_configure.
Fixes: 5a1bb638d567 ("drivers: acpi: Handle IOMMU lookup failure with deferred probing or error")
Tested-by: Nate Watterson <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions