diff options
author | Sean Christopherson <seanjc@google.com> | 2024-05-22 04:40:13 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-06-12 00:18:47 +0300 |
commit | 3dee3b187499b317a6587e2b8e9bf3d5050e5288 (patch) | |
tree | 9ac513f93d6a1a87da39ae6d3920090bd9acbeda /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ef2e18ef37501888161b791e134c4572b28dbd70 (diff) | |
download | linux-3dee3b187499b317a6587e2b8e9bf3d5050e5288.tar.xz |
KVM: x86: Drop now-superflous setting of l1tf_flush_l1d in vcpu_run()
Now that KVM unconditionally sets l1tf_flush_l1d in kvm_arch_vcpu_load(),
drop the redundant store from vcpu_run(). The flag is cleared only when
VM-Enter is imminent, deep below vcpu_run(), i.e. barring a KVM bug, it's
impossible for l1tf_flush_l1d to be cleared between loading the vCPU and
calling vcpu_run().
Acked-by: Kai Huang <kai.huang@intel.com>
Link: https://lore.kernel.org/r/20240522014013.1672962-7-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions