diff options
| author | Sean Christopherson <seanjc@google.com> | 2023-05-12 02:33:46 +0300 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2023-06-01 23:41:06 +0300 |
| commit | ebda79e5057778be1ad8ed072e4229894dfc66b7 (patch) | |
| tree | 7b17196e7431649e7beeadd849a94f92bc2426f4 /scripts/gdb/linux/proc.py | |
| parent | 7aeae027611ff27f13a32e19736c8fd06e41786c (diff) | |
| download | linux-ebda79e5057778be1ad8ed072e4229894dfc66b7.tar.xz | |
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 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions
