Home
last modified time | relevance | path

Searched hist:"5 a7a6477" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/x86/kvm/vmx/
H A Dvmenter.S5a7a6477 Fri Nov 18 18:37:47 CST 2022 Sean Christopherson <seanjc@google.com> KVM: VMX: Access @flags as a 32-bit value in __vmx_vcpu_run()

Access @flags using 32-bit operands when saving and testing @flags for
VMX_RUN_VMRESUME, as using 8-bit operands is unnecessarily fragile due
to relying on VMX_RUN_VMRESUME being in bits 0-7. The behavior of
treating @flags a single byte is a holdover from when the param was
"bool launched", i.e. is not deliberate.

Cc: Alexey Dobriyan <adobriyan@gmail.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Link: https://lore.kernel.org/r/20221119003747.2615229-1-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>