]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Make iommu_table::it_userspace big endian
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Wed, 4 Jul 2018 06:13:46 +0000 (16:13 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 16 Jul 2018 12:53:09 +0000 (22:53 +1000)
commitf374ae111404156cd8532add7815407b7a685388
treebb60631d0ff5be506a707e15f4025c318d1b3cd1
parent27bbe1722a5decd898a0b262f7d092d931c51eb7
KVM: PPC: Make iommu_table::it_userspace big endian

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.

Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Acked-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/iommu.h
arch/powerpc/kvm/book3s_64_vio.c
arch/powerpc/kvm/book3s_64_vio_hv.c
drivers/vfio/vfio_iommu_spapr_tce.c