OSDN Git Service

KVM: PPC: Add KVMPPC_VSX_COPY_WORD_LOAD_DUMP type support for mmio emulation
authorSimon Guo <wei.guo.simon@gmail.com>
Mon, 21 May 2018 05:24:20 +0000 (13:24 +0800)
committerPaul Mackerras <paulus@ozlabs.org>
Tue, 22 May 2018 09:51:03 +0000 (19:51 +1000)
commit94dd7fa1c0b75e909fa54d86ce2d1aaf2c54ceb7
treec2accfdb7eecced163fb64ec311645269a491a20
parentec531d027ab29b0cfa1c80c8af561b0e74bd4283
KVM: PPC: Add KVMPPC_VSX_COPY_WORD_LOAD_DUMP type support for mmio emulation

Some VSX instructions like lxvwsx will splat word into VSR. This patch
adds a new VSX copy type KVMPPC_VSX_COPY_WORD_LOAD_DUMP to support this.

Signed-off-by: Simon Guo <wei.guo.simon@gmail.com>
Reviewed-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/include/asm/kvm_host.h
arch/powerpc/kvm/powerpc.c