KVM: PPC: Add MMIO emulation for stdx (store doubleword indexed)
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Fri, 17 Mar 2017 08:31:38 +0000 (19:31 +1100)
committerPaul Mackerras <paulus@ozlabs.org>
Thu, 20 Apr 2017 01:37:33 +0000 (11:37 +1000)
commit91242fd1a3eb96e4efe43bdf96c2fcec97fdf4ff
tree33ee98d9cce154ae4601e2216e257ed5e786cf15
parent6f63e81bda98cbb549b01faf978884692ded438d
KVM: PPC: Add MMIO emulation for stdx (store doubleword indexed)

This adds missing stdx emulation for emulated MMIO accesses by KVM
guests.  This allows the Mellanox mlx5_core driver from recent kernels
to work when MMIO emulation is enforced by userspace.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/include/asm/ppc-opcode.h
arch/powerpc/kvm/emulate_loadstore.c