android_kernel_sony_sdm845/arch
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sean Christopherson 6be2735f9e KVM: VMX: Do not allow reexecute_instruction() when skipping MMIO instr
[ Upstream commit c4409905cd6eb42cfd06126e9226b0150e05a715 ]

Re-execution after an emulation decode failure is only intended to
handle a case where two or vCPUs race to write a shadowed page, i.e.
we should never re-execute an instruction as part of MMIO emulation.
As handle_ept_misconfig() is only used for MMIO emulation, it should
pass EMULTYPE_NO_REEXECUTE when using the emulator to skip an instr
in the fast-MMIO case where VM_EXIT_INSTRUCTION_LEN is invalid.

And because the cr2 value passed to x86_emulate_instruction() is only
destined for use when retrying or reexecuting, we can simply call
emulate_instruction().

Fixes: d391f1207067 ("x86/kvm/vmx: do not use vm-exit instruction length
                      for fast MMIO when running nested")
Cc: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-02 17:20:31 +02:00
..
alpha alpha: Fix Eiger NR_IRQS to 128 2019-02-20 10:18:32 +01:00
arc ARC: define __ALIGN_STR and __ALIGN symbols for ARC 2020-03-20 09:07:44 +01:00
arm ARM: dts: dra7: Add "dma-ranges" property to PCIe RC DT nodes 2020-04-02 17:20:21 +02:00
arm64 arm64: smp: fix smp_send_stop() behaviour 2020-04-02 17:20:28 +02:00
avr32
blackfin pinctrl: adi2: Fix Kconfig build problem 2017-12-20 10:07:32 +01:00
c6x c6x/ptrace: Remove useless PTRACE_SETREGSET implementation 2017-03-31 10:31:46 +02:00
cris
frv futex: Remove duplicated code and fix undefined behaviour 2018-05-19 10:27:00 +02:00
h8300 h8300: use cc-cross-prefix instead of hardcoding h8300-unknown-linux- 2019-04-05 22:29:05 +02:00
hexagon hexagon: work around compiler crash 2020-01-23 08:19:38 +01:00
ia64 ia64:unwind: fix double free for mod->arch.init_unw_table 2019-10-05 12:30:20 +02:00
m32r
m68k m68k: Call timer_interrupt() with interrupts disabled 2020-01-29 10:24:36 +01:00
metag metag/uaccess: Check access_ok in strncpy_from_user 2017-05-25 15:44:46 +02:00
microblaze microblaze: Prevent the overflow of the start 2020-02-28 15:42:42 +01:00
mips MIPS: VPE: Fix a double free and a memory leak in 'release_vpe()' 2020-03-11 07:53:06 +01:00
mn10300 mn10300/misalignment: Use SIGSEGV SEGV_MAPERR to report a failed user copy 2018-02-17 13:21:20 +01:00
nios2 nios2: ksyms: Add missing symbol exports 2020-01-29 10:24:18 +01:00
openrisc openrisc: Fix broken paths to arch/or32 2019-12-05 15:34:41 +01:00
parisc parisc: Fix compiler warnings in debug_core.c 2020-01-12 11:24:25 +01:00
powerpc powerpc: Include .BTF section 2020-04-02 17:20:21 +02:00
s390 s390/mm: Explicitly compare PAGE_DEFAULT_KEY against zero in storage_key_init_range 2020-02-28 15:42:57 +01:00
score
sh pinctrl: sh-pfc: sh7269: Fix CAN function GPIOs 2020-02-28 15:42:28 +01:00
sparc sparc: Add .exit.data section. 2020-02-28 15:42:20 +01:00
tile locking/x86: Remove the unused atomic_inc_short() methd 2020-01-12 11:24:19 +01:00
um um: Make GCOV depend on !KCOV 2019-12-05 15:34:56 +01:00
unicore32
x86 KVM: VMX: Do not allow reexecute_instruction() when skipping MMIO instr 2020-04-02 17:20:31 +02:00
xtensa xtensa: fix TLB sanity checker 2019-12-21 10:42:30 +01:00
.gitignore
Kconfig cpu/hotplug: Provide knobs to control SMT 2018-08-15 18:14:46 +02:00