diff options
author | Alexey Kardashevskiy <[email protected]> | 2015-06-05 16:34:53 +1000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2015-06-11 15:14:54 +1000 |
commit | ea30e99e8eccb684490f40d011ea534ecd937e98 (patch) | |
tree | 4d578185e3d2f964fc516918f6c588be7ec6a70e /tools/perf/scripts/python | |
parent | 1cbb4a1c433a1ca054ef5363f4e6597b43d208cc (diff) |
powerpc/eeh/ioda2: Use device::iommu_group to check IOMMU group
This relies on the fact that a PCI device always has an IOMMU table
which may not be the case when we get dynamic DMA windows so
let's use more reliable check for IOMMU group here.
As we do not rely on the table presence here, remove the workaround
from pnv_pci_ioda2_set_bypass(); also remove the @add_to_iommu_group
parameter from pnv_ioda_setup_bus_dma().
Signed-off-by: Alexey Kardashevskiy <[email protected]>
Acked-by: Gavin Shan <[email protected]>
Reviewed-by: David Gibson <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions