mirror-linux/arch
Jim Mattson 6f4d3ebc24 KVM: SVM: Allow KVM_SET_NESTED_STATE to clear GIF when SVME==0
GIF==0 together with EFER.SVME==0 is a valid architectural
state. Don't return -EINVAL for KVM_SET_NESTED_STATE when this
combination is specified.

Fixes: cc440cdad5 ("KVM: nSVM: implement KVM_GET_NESTED_STATE and KVM_SET_NESTED_STATE")
Signed-off-by: Jim Mattson <jmattson@google.com>
Reviewed-by: Yosry Ahmed <yosry.ahmed@linux.dev>
Signed-off-by: Yosry Ahmed <yosry.ahmed@linux.dev>
Link: https://patch.msgid.link/20251121204803.991707-2-yosry.ahmed@linux.dev
[sean: disallow KVM_STATE_NESTED_RUN_PENDING with SVME=0]
Signed-off-by: Sean Christopherson <seanjc@google.com>
2026-01-08 12:54:07 -08:00
..
alpha alpha updates for v6.19 2025-12-11 08:01:52 +09:00
arc
arm sound fixes for 6.19-rc1 2025-12-13 16:09:10 +12:00
arm64 Devicetree fixes for v6.19, part 1: 2025-12-20 11:49:49 -08:00
csky csky 6.19 Release Notes 2025-12-10 12:17:29 +09:00
hexagon This update includes the following changes: 2025-12-03 11:28:38 -08:00
loongarch LoongArch: BPF: Enhance the bpf_arch_text_poke() function 2025-12-31 15:19:21 +08:00
m68k Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
microblaze
mips MIPS: Fix a reference leak bug in ip22_check_gio() 2025-12-15 16:11:14 +01:00
nios2 arch/nios2: replace "__auto_type" and adjacent equivalent with "auto" 2025-12-08 15:32:15 -08:00
openrisc
parisc TTY/Serial changes for 6.19-rc1 2025-12-06 18:38:19 -08:00
powerpc powerpc/32: Restore disabling of interrupts at interrupt/syscall exit 2025-12-22 18:25:07 +05:30
riscv riscv: Add SBI debug trigger extension and function ids 2025-12-19 00:22:30 -07:00
s390 s390/stacktrace: Do not fallback to RA register 2025-12-14 11:03:58 +01:00
sh sound fixes for 6.19-rc1 2025-12-13 16:09:10 +12:00
sparc dma-mapping updates for Linux 6.19: 2025-12-06 09:25:05 -08:00
um Address various objtool scalability bugs/inefficiencies exposed by 2025-12-06 11:56:51 -08:00
x86 KVM: SVM: Allow KVM_SET_NESTED_STATE to clear GIF when SVME==0 2026-01-08 12:54:07 -08:00
xtensa TTY/Serial changes for 6.19-rc1 2025-12-06 18:38:19 -08:00
.gitignore
Kconfig