diff options
author | Sean Christopherson <seanjc@google.com> | 2024-05-22 04:40:12 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-06-12 00:18:46 +0300 |
commit | ef2e18ef37501888161b791e134c4572b28dbd70 (patch) | |
tree | 0a9e3871bef23f5acaba02932ba563841ddd6e73 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2a27c431400797e0044872283d1971aa372fcd3a (diff) | |
download | linux-ef2e18ef37501888161b791e134c4572b28dbd70.tar.xz |
KVM: x86: Unconditionally set l1tf_flush_l1d during vCPU load
Always set l1tf_flush_l1d during kvm_arch_vcpu_load() instead of setting
it only when the vCPU is being scheduled back in. The flag is processed
only when VM-Enter is imminent, and KVM obviously needs to load the vCPU
before VM-Enter, so attempting to precisely set l1tf_flush_l1d provides no
meaningful value. I.e. the flag _will_ be set either way, it's simply a
matter of when.
Acked-by: Kai Huang <kai.huang@intel.com>
Link: https://lore.kernel.org/r/20240522014013.1672962-6-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