Alexey Kardashevskiy <a...@ozlabs.ru> 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 <a...@ozlabs.ru> > Reviewed-by: David Gibson <da...@gibson.dropbear.id.au> > --- > 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 <m...@ellerman.id.au> cheers