diff options
author | Sean Christopherson <[email protected]> | 2024-02-13 18:22:40 -0800 |
---|---|---|
committer | Dave Hansen <[email protected]> | 2024-02-19 16:31:54 -0800 |
commit | 706a189dcf74d3b3f955e9384785e726ed6c7c80 (patch) | |
tree | 3216353deb6ac96cf3e11c8c6313d79c40d73f0f /scripts | |
parent | 6613d82e617dd7eb8b0c40b2fe3acea655b1d611 (diff) |
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 <[email protected]>
Signed-off-by: Pawan Gupta <[email protected]>
Signed-off-by: Dave Hansen <[email protected]>
Reviewed-by: Nikolay Borisov <[email protected]>
Link: https://lore.kernel.org/all/20240213-delay-verw-v8-5-a6216d83edb7%40linux.intel.com
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions