Re: [PATCH kernel 3/6] KVM: PPC: Make iommu_table::it_userspace big endian

2018-06-09 Thread David Gibson
On Fri, Jun 08, 2018 at 03:46:30PM +1000, Alexey Kardashevskiy wrote: > We are going to reuse multilevel TCE code for the userspace copy of > the TCE table and since it is big endian, let's make the copy big endian > too. > > Signed-off-by: Alexey Kardashevskiy Reviewed-by: David Gibson > ---

[PATCH kernel 3/6] KVM: PPC: Make iommu_table::it_userspace big endian

2018-06-07 Thread Alexey Kardashevskiy
We are going to reuse multilevel TCE code for the userspace copy of the TCE table and since it is big endian, let's make the copy big endian too. Signed-off-by: Alexey Kardashevskiy --- arch/powerpc/include/asm/iommu.h| 2 +- arch/powerpc/kvm/book3s_64_vio.c| 11 ++- arch/powerp