]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Fix CPUID function for word 6 (80000001_ECX)
authorJanakarajan Natarajan <Janakarajan.Natarajan@amd.com>
Mon, 6 Nov 2017 17:44:23 +0000 (11:44 -0600)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 17 Nov 2017 12:20:22 +0000 (13:20 +0100)
commit8977a4de32dc5d61adf0ab7a08935789178e726a
tree74434fc1f5330f66ccaba76a0363497ddf9d991c
parent617b94eb701e1bf1d0f4944ddc428e36d371f0e5
KVM: x86: Fix CPUID function for word 6 (80000001_ECX)

The function for CPUID 80000001 ECX is set to 0xc0000001. Set it to
0x80000001.

Signed-off-by: Janakarajan Natarajan <Janakarajan.Natarajan@amd.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Reviewed-by: Krish Sadhukhan <krish.sadhukhan@oracle.com>
Reviewed-by: Borislav Petkov <bp@suse.de>
Fixes: fbb9ff16df5b ("KVM: x86: generalize guest_cpuid_has_ helpers")
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/cpuid.h