diff options
author | 2024-02-13 18:22:40 -0800 | |
---|---|---|
committer | 2024-02-19 16:31:54 -0800 | |
commit | 706a189dcf74d3b3f955e9384785e726ed6c7c80 (patch) | |
tree | 3216353deb6ac96cf3e11c8c6313d79c40d73f0f /scripts/generate_rust_analyzer.py | |
parent | x86/bugs: Use ALTERNATIVE() instead of mds_user_clear static key (diff) | |
download | linux-rng-706a189dcf74d3b3f955e9384785e726ed6c7c80.tar.xz linux-rng-706a189dcf74d3b3f955e9384785e726ed6c7c80.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions