diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2017-03-17 11:31:38 +0300 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2017-04-20 04:37:33 +0300 |
commit | 91242fd1a3eb96e4efe43bdf96c2fcec97fdf4ff (patch) | |
tree | 33ee98d9cce154ae4601e2216e257ed5e786cf15 /arch/powerpc/include/asm/ppc-opcode.h | |
parent | 6f63e81bda98cbb549b01faf978884692ded438d (diff) | |
download | linux-91242fd1a3eb96e4efe43bdf96c2fcec97fdf4ff.tar.xz |
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>
Diffstat (limited to 'arch/powerpc/include/asm/ppc-opcode.h')
-rw-r--r-- | arch/powerpc/include/asm/ppc-opcode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/ppc-opcode.h b/arch/powerpc/include/asm/ppc-opcode.h index 1e37c3c0733a..94e7df22630e 100644 --- a/arch/powerpc/include/asm/ppc-opcode.h +++ b/arch/powerpc/include/asm/ppc-opcode.h @@ -94,6 +94,7 @@ #define OP_31_XOP_TRAP_64 68 #define OP_31_XOP_DCBF 86 #define OP_31_XOP_LBZX 87 +#define OP_31_XOP_STDX 149 #define OP_31_XOP_STWX 151 #define OP_31_XOP_STBX 215 #define OP_31_XOP_LBZUX 119 |