Alexey Kardashevskiy <aik@xxxxxxxxx> 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 <aik@xxxxxxxxx> > Reviewed-by: David Gibson <david@xxxxxxxxxxxxxxxxxxxxx> > --- > 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@xxxxxxxxxxxxxx> cheers