Re: [PART1 RFC 4/9] KVM: x86: Detect and Initialize AVIC support

From: Suravee Suthikulpanit
Date: Fri Feb 12 2016 - 10:46:42 EST


Hi,

On 02/12/2016 09:13 PM, Borislav Petkov wrote:
diff --git a/arch/x86/kernel/cpu/scattered.c b/arch/x86/kernel/cpu/scattered.c
>index 8cb57df..88cfbe7 100644
>--- a/arch/x86/kernel/cpu/scattered.c
>+++ b/arch/x86/kernel/cpu/scattered.c
>@@ -37,6 +37,7 @@ void init_scattered_cpuid_features(struct cpuinfo_x86 *c)
> { X86_FEATURE_HW_PSTATE, CR_EDX, 7, 0x80000007, 0 },
> { X86_FEATURE_CPB, CR_EDX, 9, 0x80000007, 0 },
> { X86_FEATURE_PROC_FEEDBACK, CR_EDX,11, 0x80000007, 0 },
>+ { X86_FEATURE_AVIC, CR_EDX,13, 0x8000000a, 0 },
> { 0, 0, 0, 0, 0 }
> };
You need to check tip/master when/before/after touching arch/x86/:

a1ff57260818 ("x86/cpufeature: Add AMD AVIC bit")

Ok, I'll check that in the next patch series.

Thanks,
Suravee