Home
last modified time | relevance | path

Searched hist:"1 a047cc7e53cb10e4706c09f6e92b2fa911a2bf2" (Results 1 – 1 of 1) sorted by relevance

/linux/arch/powerpc/platforms/pseries/
H A Dsetup.cdiff 1a047cc7e53cb10e4706c09f6e92b2fa911a2bf2 Tue May 07 08:25:59 CEST 2019 Alexey Kardashevskiy <aik@ozlabs.ru> powerpc/pseries/dma: Enable SWIOTLB

So far the pseries platforms has always been using IOMMU making
SWIOTLB unnecessary. Now we want secure guests which means devices can
only access certain areas of guest physical memory; we are going to
use SWIOTLB for this purpose.

This allows SWIOTLB for pseries. By default there is no change in
behavior.

This enables SWIOTLB when the "swiotlb" kernel parameter is set to
"force".

With the SWIOTLB enabled, the kernel creates a directly mapped DMA
window (using the usual DDW mechanism) and implements SWIOTLB on top
of that.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>