[PATCH kernel 0/2] pseries: Enable SWIOTLB

Alexey Kardashevskiy aik at ozlabs.ru
Thu May 30 17:04:44 AEST 2019


Ping, anyone?

On 07/05/2019 16:25, Alexey Kardashevskiy wrote:
> This is an attempt to allow PCI pass through to a secure guest when
> hardware can only access insecure memory. This allows SWIOTLB use
> for passed through devices.
> 
> Later on secure VMs will unsecure SWIOTLB bounce buffers for DMA
> and the rest of the guest RAM will be unavailable to the hardware
> by default.
> 
> 
> This is based on sha1
> e93c9c99a629 Linus Torvalds "Linux 5.1".
> 
> Please comment. Thanks.
> 
> 
> 
> Alexey Kardashevskiy (2):
>   powerpc/pseries/dma: Allow swiotlb
>   powerpc/pseries/dma: Enable swiotlb
> 
>  arch/powerpc/kernel/dma-iommu.c        | 36 ++++++++++++++++++++++++++
>  arch/powerpc/platforms/pseries/setup.c |  5 ++++
>  arch/powerpc/platforms/pseries/Kconfig |  1 +
>  3 files changed, 42 insertions(+)
> 

-- 
Alexey


More information about the Linuxppc-dev mailing list