• Alexey Kardashevskiy's avatar
    powerpc/pseries/dma: Enable SWIOTLB · 1a047cc7
    Alexey Kardashevskiy authored
    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: default avatarAlexey Kardashevskiy <aik@ozlabs.ru>
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    1a047cc7
Kconfig 4.55 KB