]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Add blurb to CPUID tracepoint when using max basic leaf values
authorSean Christopherson <sean.j.christopherson@intel.com>
Tue, 17 Mar 2020 19:53:54 +0000 (12:53 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 18 Mar 2020 12:44:43 +0000 (13:44 +0100)
commitdfc93b4636e733477163a7c38f28d2a289edcac7
treedfdfd6626cd1d4626423f8c8065bb9ebbad1c620
parenta7ba3dac470c9cac18d6869dd6aee36b2fbd8163
KVM: x86: Add blurb to CPUID tracepoint when using max basic leaf values

Tack on "used max basic" at the end of the CPUID tracepoint when the
output values correspond to the max basic leaf, i.e. when emulating
Intel's out-of-range CPUID behavior.  Observing "cpuid entry not found"
in the tracepoint with non-zero output values is confusing for users
that aren't familiar with the out-of-range semantics, and qualifying the
"not found" case hopefully makes it clear that "found" means "found the
exact entry".

Suggested-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/cpuid.c
arch/x86/kvm/trace.h