Message ID | 1398971824-17058-1-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
> From: Kamal Mostafa [mailto:kamal@canonical.com] > Sent: Thursday, May 01, 2014 12:17 PM > To: Yu, Fenghua > Cc: H. Peter Anvin; Kamal Mostafa; kernel-team@lists.ubuntu.com > Subject: [3.13.y.z extended stable] Patch "x86, AVX-512: AVX-512 > Feature Detection" has been added to staging queue > > This is a note to let you know that I have just added a patch titled > > x86, AVX-512: AVX-512 Feature Detection > > to the linux-3.13.y-queue branch of the 3.13.y.z extended stable tree > which can be found at: > > > http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads > /linux-3.13.y-queue > > This patch is scheduled to be released in version 3.13.11.1. > > If you, or anyone else, feels it should not be added to this tree, > please > reply to this email. > > For more information about the 3.13.y.z tree, see > https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable > > Thanks. > -Kamal Both of the two AVX 512 patches look good to me. Thanks. -Fenghua
diff --git a/arch/x86/include/asm/cpufeature.h b/arch/x86/include/asm/cpufeature.h index 89270b4..1e49a03 100644 --- a/arch/x86/include/asm/cpufeature.h +++ b/arch/x86/include/asm/cpufeature.h @@ -216,9 +216,13 @@ #define X86_FEATURE_ERMS (9*32+ 9) /* Enhanced REP MOVSB/STOSB */ #define X86_FEATURE_INVPCID (9*32+10) /* Invalidate Processor Context ID */ #define X86_FEATURE_RTM (9*32+11) /* Restricted Transactional Memory */ +#define X86_FEATURE_AVX512F (9*32+16) /* AVX-512 Foundation */ #define X86_FEATURE_RDSEED (9*32+18) /* The RDSEED instruction */ #define X86_FEATURE_ADX (9*32+19) /* The ADCX and ADOX instructions */ #define X86_FEATURE_SMAP (9*32+20) /* Supervisor Mode Access Prevention */ +#define X86_FEATURE_AVX512PF (9*32+26) /* AVX-512 Prefetch */ +#define X86_FEATURE_AVX512ER (9*32+27) /* AVX-512 Exponential and Reciprocal */ +#define X86_FEATURE_AVX512CD (9*32+28) /* AVX-512 Conflict Detection */ /* * BUG word(s)