diff options
| author | Thiago Jung Bauermann <[email protected]> | 2019-08-19 23:13:23 -0300 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2019-08-30 09:55:41 +1000 |
| commit | edea902c1c1efb855f77e041f9daf1abe7a9768a (patch) | |
| tree | 5b36c86623d7cd9128ecff8bac88ccb68557e020 /tools/perf/scripts/python | |
| parent | 4edaac512c8a31b0aa715b58ee00ee06df642fa2 (diff) | |
powerpc/pseries/iommu: Don't use dma_iommu_ops on secure guests
Secure guest memory is inacessible to devices so regular DMA isn't
possible.
In that case set devices' dma_map_ops to NULL so that the generic
DMA code path will use SWIOTLB to bounce buffers for DMA.
Signed-off-by: Thiago Jung Bauermann <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions