diff options
author | Sean Christopherson <seanjc@google.com> | 2025-06-10 15:57:29 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-06-20 13:07:32 -0700 |
commit | 2f89888434bce68123b3c980bf1f2e04ecee57e1 (patch) | |
tree | 8da8f3ba104e0da49ccffc2ffb1495080bd9e085 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4880919aaf8d4beda81746909559578544387728 (diff) |
KVM: SVM: Drop explicit check on MSRPM offset when emulating SEV-ES accesses
Now that msr_write_intercepted() defaults to true, i.e. accurately reflects
hardware behavior for out-of-range MSRs, and doesn't WARN (or BUG) on an
out-of-range MSR, drop sev_es_prevent_msr_access()'s svm_msrpm_offset()
check that guarded against calling msr_write_intercepted() with a "bad"
index.
Opportunistically clean up the helper's formatting.
Link: https://lore.kernel.org/r/20250610225737.156318-25-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