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>
Showing
- arch/powerpc/include/asm/kvm_host.h 2 additions, 0 deletionsarch/powerpc/include/asm/kvm_host.h
- arch/powerpc/include/asm/kvm_ppc.h 4 additions, 0 deletionsarch/powerpc/include/asm/kvm_ppc.h
- arch/powerpc/include/asm/ppc-opcode.h 6 additions, 0 deletionsarch/powerpc/include/asm/ppc-opcode.h
- arch/powerpc/kvm/emulate_loadstore.c 36 additions, 0 deletionsarch/powerpc/kvm/emulate_loadstore.c
- arch/powerpc/kvm/powerpc.c 150 additions, 0 deletionsarch/powerpc/kvm/powerpc.c
Please register or sign in to comment