diff options
| author | Sean Christopherson <[email protected]> | 2023-08-15 20:36:47 +0000 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2023-08-17 18:43:28 +0000 |
| commit | 4365a45571c791a2fbeb81cf27738960c5456f57 (patch) | |
| tree | 8963d912fde7ac18ed978010c41cd4a934f1ebae /tools/perf/scripts/python/futex-contention.py | |
| parent | KVM: nSVM: Use KVM-governed feature framework to track "NRIPS enabled" (diff) | |
| download | kernel-4365a45571c791a2fbeb81cf27738960c5456f57.tar.gz kernel-4365a45571c791a2fbeb81cf27738960c5456f57.zip | |
KVM: nSVM: Use KVM-governed feature framework to track "TSC scaling enabled"
Track "TSC scaling exposed to L1" via a governed feature flag instead of
using a dedicated bit/flag in vcpu_svm.
Note, this fixes a benign bug where KVM would mark TSC scaling as exposed
to L1 even if overall nested SVM supported is disabled, i.e. KVM would let
L1 write MSR_AMD64_TSC_RATIO even when KVM didn't advertise TSCRATEMSR
support to userspace.
Reviewed-by: Yuan Yao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions
