diff options
author | Sean Christopherson <[email protected]> | 2021-06-22 10:57:32 -0700 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2021-06-24 18:00:46 -0400 |
commit | 961f84457cd4e2fc479e59d015f1d292ec30373b (patch) | |
tree | 9b7e5e395eb6f3e55f8dec78800137959a3f9025 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 36f267871edceafbfbbc5d570c34c089a2afa1c1 (diff) |
KVM: x86/mmu: Add helpers to do full reserved SPTE checks w/ generic MMU
Extract the reserved SPTE check and print helpers in get_mmio_spte() to
new helpers so that KVM can also WARN on reserved badness when making a
SPTE.
Tag the checking helper with __always_inline to improve the probability
of the compiler generating optimal code for the checking loop, e.g. gcc
appears to avoid using %rbp when the helper is tagged with a vanilla
"inline".
No functional change intended.
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions