linux-stable/arch
Fabiano Rosas ed45ce503c KVM: PPC: Fix vmx/vsx mixup in mmio emulation
[ Upstream commit b99234b918 ]

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: acc9eb9305 ("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
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 13:57:59 +02:00
..
alpha bitmap patches for 5.17-rc1 2022-01-23 06:20:44 +02:00
arc bitmap patches for 5.17-rc1 2022-01-23 06:20:44 +02:00
arm ARM: configs: multi_v5_defconfig: re-enable DRM_PANEL and FB_xxx 2022-04-08 13:57:54 +02:00
arm64 arm64: dts: rockchip: Fix SDIO regulator supply properties on rk3399-firefly 2022-04-08 13:57:51 +02:00
csky uaccess: fix integer overflow on access_ok() 2022-03-28 10:03:21 +02:00
h8300 bitmap patches for 5.17-rc1 2022-01-23 06:20:44 +02:00
hexagon uaccess: fix integer overflow on access_ok() 2022-03-28 10:03:21 +02:00
ia64 ia64: make IA64_MCA_RECOVERY bool instead of tristate 2022-01-30 09:56:58 +02:00
m68k m68k: coldfire/device.c: only build for MCF_EDMA when h/w macros are defined 2022-04-08 13:57:51 +02:00
microblaze uaccess: fix nios2 and microblaze get_user_8() 2022-04-08 13:57:49 +02:00
mips mips: Always permit to build u-boot images 2022-04-08 13:57:29 +02:00
nds32 nds32: fix access_ok() checks in get/put_user 2022-03-28 10:03:22 +02:00
nios2 uaccess: fix nios2 and microblaze get_user_8() 2022-04-08 13:57:49 +02:00
openrisc bitmap patches for 5.17-rc1 2022-01-23 06:20:44 +02:00
parisc parisc/unaligned: Fix ldw() and stw() unalignment handlers 2022-02-23 18:01:06 +01:00
powerpc KVM: PPC: Fix vmx/vsx mixup in mmio emulation 2022-04-08 13:57:59 +02:00
riscv RISC-V: Declare per cpu boot data as static 2022-04-08 13:57:21 +02:00
s390 KVM: s390x: fix SCK locking 2022-04-08 13:57:30 +02:00
sh bitmap patches for 5.17-rc1 2022-01-23 06:20:44 +02:00
sparc bitmap patches for 5.17-rc1 2022-01-23 06:20:44 +02:00
um virtio,vdpa,qemu_fw_cfg: features, cleanups, fixes 2022-01-18 10:05:48 +02:00
x86 perf/x86/intel/pt: Fix address filter config for 32-bit kernel 2022-04-08 13:57:39 +02:00
xtensa xtensa: fix xtensa_wsr always writing 0 2022-04-08 13:57:30 +02:00
.gitignore
Kconfig stack: Constrain and fix stack offset randomization with Clang builds 2022-04-08 13:57:34 +02:00