linux-stable/arch/arm64
Marc Zyngier 4d8226bc7e KVM: arm64: Allow AArch32 PSTATE.M to be restored as System mode
commit dfe6d190f3 upstream.

It appears that we don't allow a vcpu to be restored in AArch32
System mode, as we *never* included it in the list of valid modes.

Just add it to the list of allowed modes.

Fixes: 0d854a60b1 ("arm64: KVM: enable initialization of a 32bit vcpu")
Cc: stable@vger.kernel.org
Acked-by: Oliver Upton <oliver.upton@linux.dev>
Link: https://lore.kernel.org/r/20240524141956.1450304-3-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-06-16 13:32:34 +02:00
..
boot arm64: dts: hi3798cv200: fix the size of GICR 2024-06-16 13:32:33 +02:00
configs arm64: defconfig: build imx-sdma as a module 2022-04-08 14:40:34 +02:00
crypto crypto: arm64/gcm - Select AEAD for GHASH_ARM64_CE 2022-08-21 15:15:44 +02:00
include arm64: asm-bug: Add .align 2 to the end of __BUG_ENTRY 2024-06-16 13:32:27 +02:00
kernel Revert "arm64: Stash shadow stack pointer in the task struct on interrupt" 2024-02-23 08:42:31 +01:00
kvm KVM: arm64: Allow AArch32 PSTATE.M to be restored as System mode 2024-06-16 13:32:34 +02:00
lib arm64: csum: Fix OoB access in IP checksum code for negative lengths 2023-09-19 12:20:21 +02:00
mm arm64: mm: fix VA-range sanity check 2023-07-27 08:44:37 +02:00
net bpf, arm64: Clear prog->jited_len along prog->jited 2022-06-14 18:32:40 +02:00
xen
Kbuild
Kconfig arm64: Restrict CPU_BIG_ENDIAN to GNU as or LLVM IAS 15.x or newer 2023-11-28 16:54:56 +00:00
Kconfig.debug
Kconfig.platforms irqchip/exiu: Fix acknowledgment of edge triggered interrupts 2022-06-09 10:21:05 +02:00
Makefile arm64: link with -z norelro for LLD or aarch64-elf 2021-01-12 20:18:24 +01:00