|
105 | 105 | #define X86_FEATURE_AMD_DCM ( 3*32+27) /* multi-node processor */
|
106 | 106 | #define X86_FEATURE_APERFMPERF ( 3*32+28) /* APERFMPERF */
|
107 | 107 | #define X86_FEATURE_NONSTOP_TSC_S3 ( 3*32+30) /* TSC doesn't stop in S3 state */
|
| 108 | +#define X86_FEATURE_TSC_KNOWN_FREQ ( 3*32+31) /* TSC has known frequency */ |
108 | 109 |
|
109 | 110 | /* Intel-defined CPU features, CPUID level 0x00000001 (ecx), word 4 */
|
110 | 111 | #define X86_FEATURE_XMM3 ( 4*32+ 0) /* "pni" SSE-3 */
|
|
188 | 189 |
|
189 | 190 | #define X86_FEATURE_CPB ( 7*32+ 2) /* AMD Core Performance Boost */
|
190 | 191 | #define X86_FEATURE_EPB ( 7*32+ 3) /* IA32_ENERGY_PERF_BIAS support */
|
| 192 | +#define X86_FEATURE_CAT_L3 ( 7*32+ 4) /* Cache Allocation Technology L3 */ |
| 193 | +#define X86_FEATURE_CAT_L2 ( 7*32+ 5) /* Cache Allocation Technology L2 */ |
| 194 | +#define X86_FEATURE_CDP_L3 ( 7*32+ 6) /* Code and Data Prioritization L3 */ |
191 | 195 |
|
192 | 196 | #define X86_FEATURE_HW_PSTATE ( 7*32+ 8) /* AMD HW-PState */
|
193 | 197 | #define X86_FEATURE_PROC_FEEDBACK ( 7*32+ 9) /* AMD ProcFeedbackInterface */
|
194 | 198 |
|
| 199 | +#define X86_FEATURE_INTEL_PPIN ( 7*32+14) /* Intel Processor Inventory Number */ |
195 | 200 | #define X86_FEATURE_INTEL_PT ( 7*32+15) /* Intel Processor Trace */
|
196 | 201 | #define X86_FEATURE_AVX512_4VNNIW (7*32+16) /* AVX-512 Neural Network Instructions */
|
197 | 202 | #define X86_FEATURE_AVX512_4FMAPS (7*32+17) /* AVX-512 Multiply Accumulation Single precision */
|
|
220 | 225 | #define X86_FEATURE_RTM ( 9*32+11) /* Restricted Transactional Memory */
|
221 | 226 | #define X86_FEATURE_CQM ( 9*32+12) /* Cache QoS Monitoring */
|
222 | 227 | #define X86_FEATURE_MPX ( 9*32+14) /* Memory Protection Extension */
|
| 228 | +#define X86_FEATURE_RDT_A ( 9*32+15) /* Resource Director Technology Allocation */ |
223 | 229 | #define X86_FEATURE_AVX512F ( 9*32+16) /* AVX-512 Foundation */
|
224 | 230 | #define X86_FEATURE_AVX512DQ ( 9*32+17) /* AVX-512 DQ (Double/Quad granular) Instructions */
|
225 | 231 | #define X86_FEATURE_RDSEED ( 9*32+18) /* The RDSEED instruction */
|
226 | 232 | #define X86_FEATURE_ADX ( 9*32+19) /* The ADCX and ADOX instructions */
|
227 | 233 | #define X86_FEATURE_SMAP ( 9*32+20) /* Supervisor Mode Access Prevention */
|
| 234 | +#define X86_FEATURE_AVX512IFMA ( 9*32+21) /* AVX-512 Integer Fused Multiply-Add instructions */ |
228 | 235 | #define X86_FEATURE_CLFLUSHOPT ( 9*32+23) /* CLFLUSHOPT instruction */
|
229 | 236 | #define X86_FEATURE_CLWB ( 9*32+24) /* CLWB instruction */
|
230 | 237 | #define X86_FEATURE_AVX512PF ( 9*32+26) /* AVX-512 Prefetch */
|
|
278 | 285 | #define X86_FEATURE_AVIC (15*32+13) /* Virtual Interrupt Controller */
|
279 | 286 |
|
280 | 287 | /* Intel-defined CPU features, CPUID level 0x00000007:0 (ecx), word 16 */
|
| 288 | +#define X86_FEATURE_AVX512VBMI (16*32+ 1) /* AVX512 Vector Bit Manipulation instructions*/ |
281 | 289 | #define X86_FEATURE_PKU (16*32+ 3) /* Protection Keys for Userspace */
|
282 | 290 | #define X86_FEATURE_OSPKE (16*32+ 4) /* OS Protection Keys Enable */
|
| 291 | +#define X86_FEATURE_RDPID (16*32+ 22) /* RDPID instruction */ |
283 | 292 |
|
284 | 293 | /* AMD-defined CPU features, CPUID level 0x80000007 (ebx), word 17 */
|
285 | 294 | #define X86_FEATURE_OVERFLOW_RECOV (17*32+0) /* MCA overflow recovery support */
|
|
310 | 319 | #define X86_BUG_NULL_SEG X86_BUG(10) /* Nulling a selector preserves the base */
|
311 | 320 | #define X86_BUG_SWAPGS_FENCE X86_BUG(11) /* SWAPGS without input dep on GS */
|
312 | 321 | #define X86_BUG_MONITOR X86_BUG(12) /* IPI required to wake up remote CPU */
|
| 322 | +#define X86_BUG_AMD_E400 X86_BUG(13) /* CPU is among the affected by Erratum 400 */ |
| 323 | + |
313 | 324 | #endif /* _ASM_X86_CPUFEATURES_H */
|
0 commit comments