Commit e8fe653f authored by Fabiano Rosas's avatar Fabiano Rosas Committed by Greg Kroah-Hartman
Browse files

KVM: PPC: Fix vmx/vsx mixup in mmio emulation



[ Upstream commit b99234b9 ]

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: acc9eb93 ("KVM: PPC: Reimplement LOAD_VMX/STORE_VMX instruction ...")
Signed-off-by: default avatarFabiano Rosas <farosas@linux.ibm.com>
Reviewed-by: default avatarNicholas Piggin <npiggin@gmail.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220125215655.1026224-3-farosas@linux.ibm.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 11cb9eba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment