]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S: Add MMIO emulation for VMX instructions
authorJose Ricardo Ziviani <joserz@linux.vnet.ibm.com>
Sat, 3 Feb 2018 20:24:26 +0000 (18:24 -0200)
committerPaul Mackerras <paulus@ozlabs.org>
Fri, 9 Feb 2018 05:51:51 +0000 (16:51 +1100)
commit3a0e1eb0d67e6dd5c46f8d5e0a0b5cbe95e59ce0
treee1f509042ec0fce63894916fc43a40096d44507d
parent3c8776f3465162a89272157c739f78a4ea4d699a
KVM: PPC: Book3S: Add MMIO emulation for VMX instructions

This patch provides the MMIO load/store vector indexed
X-Form emulation.

Instructions implemented:
lvx: the quadword in storage addressed by the result of EA &
0xffff_ffff_ffff_fff0 is loaded into VRT.

stvx: the contents of VRS are stored into the quadword in storage
addressed by the result of EA & 0xffff_ffff_ffff_fff0.

Reported-by: Gopesh Kumar Chaudhary <gopchaud@in.ibm.com>
Reported-by: Balamuruhan S <bala24@linux.vnet.ibm.com>
Signed-off-by: Jose Ricardo Ziviani <joserz@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/include/asm/kvm_host.h
arch/powerpc/include/asm/kvm_ppc.h
arch/powerpc/include/asm/ppc-opcode.h
arch/powerpc/kvm/emulate_loadstore.c
arch/powerpc/kvm/powerpc.c