Star64_linux/arch
Sean Christopherson 9304bc40c7 KVM: SVM: Stuff next_rip on emulated INT3 injection if NRIPS is supported
[ Upstream commit 3741aec4c3 ]

If NRIPS is supported in hardware but disabled in KVM, set next_rip to
the next RIP when advancing RIP as part of emulating INT3 injection.
There is no flag to tell the CPU that KVM isn't using next_rip, and so
leaving next_rip is left as is will result in the CPU pushing garbage
onto the stack when vectoring the injected event.

Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Fixes: 66b7138f91 ("KVM: SVM: Emulate nRIP feature when reinjecting INT3")
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
Message-Id: <cd328309a3b88604daa2359ad56f36cb565ce2d4.1651440202.git.maciej.szmigiero@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-19 17:52:29 +08:00
..
alpha tty: the rest, stop using tty_schedule_flip() 2023-04-19 17:51:49 +08:00
arc ARC: entry: fix syscall_trace_exit argument 2023-04-19 17:48:15 +08:00
arm ARM: dts: qcom: pm8841: add required thermal-sensor-cells 2023-04-19 17:52:12 +08:00
arm64 crypto: arm64/gcm - Select AEAD for GHASH_ARM64_CE 2023-04-19 17:52:22 +08:00
csky csky: patch_text: Fixup last cpu should be master 2023-04-19 17:50:04 +08:00
h8300
hexagon uaccess: fix integer overflow on access_ok() 2023-04-19 17:46:25 +08:00
ia64 ia64, processor: fix -Wincompatible-pointer-types in ia64_get_irr() 2023-04-19 17:52:05 +08:00
m68k m68knommu: fix undefined reference to `mach_get_rtc_pll' 2023-04-19 17:50:18 +08:00
microblaze uaccess: fix nios2 and microblaze get_user_8() 2023-04-19 17:46:49 +08:00
mips MIPS: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK 2023-04-19 17:52:05 +08:00
nds32 nds32: fix access_ok() checks in get/put_user 2023-04-19 17:46:25 +08:00
nios2 nios2: use fallback for random_get_entropy() instead of zero 2023-04-19 17:49:11 +08:00
openrisc openrisc: start CPU timer early in boot 2023-04-19 17:49:27 +08:00
parisc parisc: io_pgetevents_time64() needs compat syscall in 32-bit compat mode 2023-04-19 17:52:01 +08:00
powerpc powerpc/64s: Disable stack variable initialisation for prom_init 2023-04-19 17:52:09 +08:00
riscv RISC-V: Add modules to virtual kernel memory layout dump 2023-04-19 17:52:02 +08:00
s390 KVM: s390: pv: don't present the ecall interrupt twice 2023-04-19 17:51:59 +08:00
sh sh: convert nommu io{re,un}map() to static inline functions 2023-04-19 17:51:17 +08:00
sparc signal: Deliver SIGTRAP on perf event asynchronously if blocked 2023-04-19 17:49:35 +08:00
um um: seed rng using host OS rng 2023-04-19 17:52:03 +08:00
x86 KVM: SVM: Stuff next_rip on emulated INT3 injection if NRIPS is supported 2023-04-19 17:52:29 +08:00
xtensa xtensa: Fix refcount leak bug in time.c 2023-04-19 17:50:46 +08:00
.gitignore
Kconfig arch: make TRACE_IRQFLAGS_NMI_SUPPORT generic 2023-04-19 17:52:06 +08:00