diff options
author | Sean Christopherson <seanjc@google.com> | 2023-05-11 16:33:46 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-06-01 13:41:06 -0700 |
commit | ebda79e5057778be1ad8ed072e4229894dfc66b7 (patch) | |
tree | 7b17196e7431649e7beeadd849a94f92bc2426f4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7aeae027611ff27f13a32e19736c8fd06e41786c (diff) |
KVM: x86: Add helper to query if variable MTRR MSR is base (versus mask)
Add a helper to query whether a variable MTRR MSR is a base versus as mask
MSR. Replace the unnecessarily complex math with a simple check on bit 0;
base MSRs are even, mask MSRs are odd.
Link: https://lore.kernel.org/r/20230511233351.635053-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