diff options
author | Sean Christopherson <[email protected]> | 2023-05-11 16:33:46 -0700 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2023-06-01 13:41:06 -0700 |
commit | ebda79e5057778be1ad8ed072e4229894dfc66b7 (patch) | |
tree | 7b17196e7431649e7beeadd849a94f92bc2426f4 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
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/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions