diff options
author | 2023-07-28 18:15:50 -0700 | |
---|---|---|
committer | 2023-08-03 17:16:28 -0700 | |
commit | c0dc39bd2c584879748dfd1321f8541d1cbeb9b8 (patch) | |
tree | 32aa9d714bb09aca4fb61f595409a7a809aff077 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: nSVM: Load L1's TSC multiplier based on L1 state, not L2 state (diff) | |
download | wireguard-linux-c0dc39bd2c584879748dfd1321f8541d1cbeb9b8.tar.xz wireguard-linux-c0dc39bd2c584879748dfd1321f8541d1cbeb9b8.zip |
KVM: nSVM: Use the "outer" helper for writing multiplier to MSR_AMD64_TSC_RATIO
When emulating nested SVM transitions, use the outer helper for writing
the TSC multiplier for L2. Using the inner helper only for one-off cases,
i.e. for paths where KVM is NOT emulating or modifying vCPU state, will
allow for multiple cleanups:
- Explicitly disabling preemption only in the outer helper
- Getting the multiplier from the vCPU field in the outer helper
- Skipping the WRMSR in the outer helper if guest state isn't loaded
Opportunistically delete an extra newline.
No functional change intended.
Link: https://lore.kernel.org/r/20230729011608.1065019-4-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions