summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@linux.ibm.com>2019-08-20 04:13:23 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2019-08-30 01:55:41 +0200
commitedea902c1c1efb855f77e041f9daf1abe7a9768a (patch)
tree5b36c86623d7cd9128ecff8bac88ccb68557e020 /arch/powerpc/include
parentpowerpc/pseries/svm: Disable doorbells in SVM guests (diff)
downloadlinux-edea902c1c1efb855f77e041f9daf1abe7a9768a.tar.xz
linux-edea902c1c1efb855f77e041f9daf1abe7a9768a.zip
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 <bauerman@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20190820021326.6884-14-bauerman@linux.ibm.com
Diffstat (limited to 'arch/powerpc/include')
0 files changed, 0 insertions, 0 deletions