diff options
| author | Sean Christopherson <seanjc@google.com> | 2025-11-13 15:14:17 -0800 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-03-03 12:23:26 -0800 |
| commit | 089af84641b574990da97d4674706a0303abca34 (patch) | |
| tree | 4dbe3157b73b8b60c259e3a7a5f989a5453eb26c /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | f35043d0f973504e5f199be6287159dc5b373deb (diff) | |
KVM: SVM: Skip OSVW MSR reads if KVM is treating all errata as present
Don't bother reading the OSVW MSRs if osvw_len is already zero, i.e. if
KVM is already treating all errata as present, in which case the positive
path of the if-statement is one giant nop.
Opportunistically update the comment to more thoroughly explain how the
MSRs work and why the code does what it does.
Link: https://patch.msgid.link/20251113231420.1695919-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
