diff options
| author | Ram Pai <linuxram@us.ibm.com> | 2019-12-16 15:19:21 +1100 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-01-06 16:25:30 +1100 |
| commit | d862b44133b7a1d7de25288e09eabf4df415e971 (patch) | |
| tree | d393d687c93d4ee2683fde927c4e5f75ced7dc15 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | powerpc/pseries: Remove redundant select of PPC_DOORBELL (diff) | |
| download | linux-d862b44133b7a1d7de25288e09eabf4df415e971.tar.gz linux-d862b44133b7a1d7de25288e09eabf4df415e971.zip | |
Revert "powerpc/pseries/iommu: Don't use dma_iommu_ops on secure guests"
This reverts commit edea902c1c1efb855f77e041f9daf1abe7a9768a.
At the time the change allowed direct DMA ops for secure VMs; however
since then we switched on using SWIOTLB backed with IOMMU (direct mapping)
and to make this work, we need dma_iommu_ops which handles all cases
including TCE mapping I/O pages in the presence of an IOMMU.
Fixes: edea902c1c1e ("powerpc/pseries/iommu: Don't use dma_iommu_ops on secure guests")
Signed-off-by: Ram Pai <linuxram@us.ibm.com>
[aik: added "revert" and "fixes:"]
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
Tested-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191216041924.42318-2-aik@ozlabs.ru
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
