diff options
author | Fabiano Rosas <[email protected]> | 2022-01-25 18:56:52 -0300 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2022-01-31 13:42:59 +1100 |
commit | b99234b918c6e36b9aa0a5b2981e86b6bd11f8e2 (patch) | |
tree | 693f99bea027ad0e10a74ad6636f663711a5b2a7 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | 36d014d37d59065087e51b8381e37993f1ca99bc (diff) |
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 <[email protected]>
Reviewed-by: Nicholas Piggin <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions