Re: [PATCH kernel v11 09/10] KVM: PPC: iommu: Unify TCE checking
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2017-03-27 03:37:37
Also in:
kvm
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2017-03-27 03:37:37
Also in:
kvm
Alexey Kardashevskiy [off-list ref] writes:
This reworks helpers for checking TCE update parameters in way they can be used in KVM. This should cause no behavioral change. Signed-off-by: Alexey Kardashevskiy <redacted> Reviewed-by: David Gibson <redacted> --- Changes: v6: * s/tce/gpa/ as TCE without permission bits is a GPA and this is what is passed everywhere --- arch/powerpc/include/asm/iommu.h | 20 +++++++++++++++----- arch/powerpc/include/asm/kvm_ppc.h | 6 ++++-- arch/powerpc/kernel/iommu.c | 37 +++++++++++++------------------------ arch/powerpc/kvm/book3s_64_vio_hv.c | 31 +++++++------------------------
Acked-by: Michael Ellerman <mpe@ellerman.id.au> cheers