Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1312182
| From | Joerg Roedel <joro@8bytes.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] x86/cpufeature: Add AMD AVIC bit |
| Date | 2016-01-19 13:40 +0100 |
| Message-ID | <qSDJM-7SY-15@gated-at.bofh.it> (permalink) |
| References | <qRvOh-2DZ-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sat, Jan 16, 2016 at 10:58:12AM +0100, Borislav Petkov wrote: > From: Borislav Petkov <bp@suse.de> > > CPUID Fn8000_000A_EDX[13] denotes support for AMD's Virtual Interrupt > controller, i.e., APIC virtualization. > > Cc: David Kaplan <david.kaplan@amd.com> > Cc: Tom Lendacky <thomas.lendacky@amd.com> > Signed-off-by: Borislav Petkov <bp@suse.de> > --- > arch/x86/include/asm/cpufeature.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/x86/include/asm/cpufeature.h b/arch/x86/include/asm/cpufeature.h > index 7ad8c9464297..bbf166e805be 100644 > --- a/arch/x86/include/asm/cpufeature.h > +++ b/arch/x86/include/asm/cpufeature.h > @@ -268,6 +268,7 @@ > #define X86_FEATURE_DECODEASSISTS (15*32+ 7) /* Decode Assists support */ > #define X86_FEATURE_PAUSEFILTER (15*32+10) /* filtered pause intercept */ > #define X86_FEATURE_PFTHRESHOLD (15*32+12) /* pause filter threshold */ > +#define X86_FEATURE_AVIC (15*32+13) /* Virtual Interrupt Controller */ That is not enough, you also need to add the feature to the scattered cpuid_bits in arch/x86/kernel/cpu/scattered.c. The cpuid Fn8000_000A_EDX is not mapped 1-1 into the x86_capability array. Joerg
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] x86/cpufeature: Add AMD AVIC bit Borislav Petkov <bp@alien8.de> - 2016-01-16 11:00 +0100
Re: [PATCH] x86/cpufeature: Add AMD AVIC bit Joerg Roedel <joro@8bytes.org> - 2016-01-19 13:40 +0100
Re: [PATCH] x86/cpufeature: Add AMD AVIC bit Borislav Petkov <bp@alien8.de> - 2016-01-19 14:50 +0100
Re: [PATCH] x86/cpufeature: Add AMD AVIC bit Joerg Roedel <joro@8bytes.org> - 2016-01-19 15:00 +0100
[tip:x86/cpu] x86/cpufeature: Add AMD AVIC bit tip-bot for Borislav Petkov <tipbot@zytor.com> - 2016-01-19 14:40 +0100
csiph-web