aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2019-12-04 15:50:27 +0100
committerPaolo Bonzini <[email protected]>2020-01-08 17:33:12 +0100
commit7adacf5eb2d2048045d9fd8fdab861fd9e7e2e96 (patch)
treebd7de712b726a307d666a1877c9ce3be3caf9e10 /tools/perf/scripts/python/syscall-counts.py
parentc79f46a282390e0f5b306007bf7b11a46d529538 (diff)
KVM: x86: use CPUID to locate host page table reserved bits
The comment in kvm_get_shadow_phys_bits refers to MKTME, but the same is actually true of SME and SEV. Just use CPUID[0x8000_0008].EAX[7:0] unconditionally if available, it is simplest and works even if memory is not encrypted. Cc: [email protected] Reported-by: Tom Lendacky <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions