]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: x86: Add "significant index" flag to a few CPUID leaves
authorJim Mattson <jmattson@google.com>
Thu, 12 Sep 2019 16:55:03 +0000 (09:55 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 24 Sep 2019 14:04:44 +0000 (16:04 +0200)
commita84dfe726b0ea41561c1f77e3f4bf50f92870e56
treea61ba4e5969b77c876d29126699aaeae22ac15da
parent6986494430efee509fe2e14b8d58a18e8b20d99b
kvm: x86: Add "significant index" flag to a few CPUID leaves

According to the Intel SDM, volume 2, "CPUID," the index is
significant (or partially significant) for CPUID leaves 0FH, 10H, 12H,
17H, 18H, and 1FH.

Add the corresponding flag to these CPUID leaves in do_host_cpuid().

Signed-off-by: Jim Mattson <jmattson@google.com>
Reviewed-by: Peter Shier <pshier@google.com>
Reviewed-by: Steve Rutherford <srutherford@google.com>
Fixes: 143f3c0798ba4a ("KVM: x86: Add Intel CPUID.1F cpuid emulation support")
Reviewed-by: Krish Sadhukhan <krish.sadhukhan@oracle.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/cpuid.c