diff options
author | Fabiano Rosas <farosas@linux.ibm.com> | 2022-01-25 22:56:52 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-01-31 03:42:59 +0100 |
commit | b99234b918c6e36b9aa0a5b2981e86b6bd11f8e2 (patch) | |
tree | 693f99bea027ad0e10a74ad6636f663711a5b2a7 /arch/powerpc/kvm/emulate.c | |
parent | KVM: PPC: Book3S HV: Stop returning internal values to userspace (diff) | |
download | linux-b99234b918c6e36b9aa0a5b2981e86b6bd11f8e2.tar.xz linux-b99234b918c6e36b9aa0a5b2981e86b6bd11f8e2.zip |
KVM: PPC: Fix vmx/vsx mixup in mmio emulation
The MMIO emulation code for vector instructions is duplicated between
VSX and VMX. When emulating VMX we should check the VMX copy size
instead of the VSX one.
Fixes: acc9eb9305fe ("KVM: PPC: Reimplement LOAD_VMX/STORE_VMX instruction ...")
Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220125215655.1026224-3-farosas@linux.ibm.com
Diffstat (limited to 'arch/powerpc/kvm/emulate.c')
0 files changed, 0 insertions, 0 deletions