diff options
author | Sean Christopherson <seanjc@google.com> | 2024-02-14 05:22:40 +0300 |
---|---|---|
committer | Dave Hansen <dave.hansen@linux.intel.com> | 2024-02-20 03:31:54 +0300 |
commit | 706a189dcf74d3b3f955e9384785e726ed6c7c80 (patch) | |
tree | 3216353deb6ac96cf3e11c8c6313d79c40d73f0f /arch/x86/kvm/svm/pmu.c | |
parent | 6613d82e617dd7eb8b0c40b2fe3acea655b1d611 (diff) | |
download | linux-706a189dcf74d3b3f955e9384785e726ed6c7c80.tar.xz |
KVM/VMX: Use BT+JNC, i.e. EFLAGS.CF to select VMRESUME vs. VMLAUNCH
Use EFLAGS.CF instead of EFLAGS.ZF to track whether to use VMRESUME versus
VMLAUNCH. Freeing up EFLAGS.ZF will allow doing VERW, which clobbers ZF,
for MDS mitigations as late as possible without needing to duplicate VERW
for both paths.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Nikolay Borisov <nik.borisov@suse.com>
Link: https://lore.kernel.org/all/20240213-delay-verw-v8-5-a6216d83edb7%40linux.intel.com
Diffstat (limited to 'arch/x86/kvm/svm/pmu.c')
0 files changed, 0 insertions, 0 deletions