]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8d385d4c1902d185cd721553d169448091ea23c8
tree33ee98d9cce154ae4601e2216e257ed5e786cf15
parentf5cda67273f67ed5e3ac0add0e11610dd00cae79
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