From mboxrd@z Thu Jan 1 00:00:00 1970 From: Janakarajan Natarajan Subject: Re: [PATCH v2 1/4] x86/kvm/cpuid: Fix CPUID function for word 6 (80000001_ECX) Date: Mon, 6 Nov 2017 14:38:03 -0600 Message-ID: <703ed929-b76f-e472-cc64-7e3c9ac728d2@amd.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , Paolo Bonzini , Radim Krcmar , Len Brown , Kyle Huey , Borislav Petkov , Kan Liang , Grzegorz Andrejczuk , Tom Lendacky , Tony Luck , Janakarajan Natarajan To: kvm@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org Return-path: In-Reply-To: Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org I forgot to add Boris's Reviewed-by Tag. If the patchset is acceptable, please let me know if I should send another version with the Tag or if the Tag can be added when it is merged. On 11/06/2017 11:44 AM, Janakarajan Natarajan wrote: > The function for CPUID 80000001 ECX is set to 0xc0000001. Set it to > 0x80000001. > > Signed-off-by: Janakarajan Natarajan > --- > arch/x86/kvm/cpuid.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/x86/kvm/cpuid.h b/arch/x86/kvm/cpuid.h > index 0bc5c13..b21b1d2 100644 > --- a/arch/x86/kvm/cpuid.h > +++ b/arch/x86/kvm/cpuid.h > @@ -43,7 +43,7 @@ static const struct cpuid_reg reverse_cpuid[] = { > [CPUID_8086_0001_EDX] = {0x80860001, 0, CPUID_EDX}, > [CPUID_1_ECX] = { 1, 0, CPUID_ECX}, > [CPUID_C000_0001_EDX] = {0xc0000001, 0, CPUID_EDX}, > - [CPUID_8000_0001_ECX] = {0xc0000001, 0, CPUID_ECX}, > + [CPUID_8000_0001_ECX] = {0x80000001, 0, CPUID_ECX}, > [CPUID_7_0_EBX] = { 7, 0, CPUID_EBX}, > [CPUID_D_1_EAX] = { 0xd, 1, CPUID_EAX}, > [CPUID_F_0_EDX] = { 0xf, 0, CPUID_EDX},