Documentation/ABI: Mention retbleed vulnerability info file for sysfs
[linux-block.git] / arch / x86 / include / asm / intel-family.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
970442c5
DH
2#ifndef _ASM_X86_INTEL_FAMILY_H
3#define _ASM_X86_INTEL_FAMILY_H
4
5/*
6 * "Big Core" Processors (Branded as Core, Xeon, etc...)
7 *
850eb9fb
RB
8 * While adding a new CPUID for a new microarchitecture, add a new
9 * group to keep logically sorted out in chronological order. Within
10 * that group keep the CPUID for the variants sorted by model number.
12ece2d5
TL
11 *
12 * The defined symbol names have the following form:
13 * INTEL_FAM6{OPTFAMILY}_{MICROARCH}{OPTDIFF}
14 * where:
15 * OPTFAMILY Describes the family of CPUs that this belongs to. Default
16 * is assumed to be "_CORE" (and should be omitted). Other values
17 * currently in use are _ATOM and _XEON_PHI
18 * MICROARCH Is the code name for the micro-architecture for this core.
19 * N.B. Not the platform name.
20 * OPTDIFF If needed, a short string to differentiate by market segment.
a3d8c0d1
PZ
21 *
22 * Common OPTDIFFs:
23 *
24 * - regular client parts
25 * _L - regular mobile parts
26 * _G - parts with extra graphics on
27 * _X - regular server parts
28 * _D - micro server parts
3ccce934 29 * _N,_P - other mobile parts
ea902bcc 30 * _S - other client parts
a3d8c0d1
PZ
31 *
32 * Historical OPTDIFFs:
33 *
34 * _EP - 2 socket server parts
35 * _EX - 4+ socket server parts
12ece2d5 36 *
53375a5a 37 * The #define line may optionally include a comment including platform or core
99cb64de 38 * names. An exception is made for skylake/kabylake where steppings seem to have gotten
53375a5a 39 * their own names :-(
970442c5
DH
40 */
41
20d43744
TG
42/* Wildcard match for FAM6 so X86_MATCH_INTEL_FAM6_MODEL(ANY) works */
43#define INTEL_FAM6_ANY X86_MODEL_ANY
44
970442c5 45#define INTEL_FAM6_CORE_YONAH 0x0E
c238f234 46
970442c5
DH
47#define INTEL_FAM6_CORE2_MEROM 0x0F
48#define INTEL_FAM6_CORE2_MEROM_L 0x16
49#define INTEL_FAM6_CORE2_PENRYN 0x17
50#define INTEL_FAM6_CORE2_DUNNINGTON 0x1D
51
52#define INTEL_FAM6_NEHALEM 0x1E
4b3b234f 53#define INTEL_FAM6_NEHALEM_G 0x1F /* Auburndale / Havendale */
970442c5
DH
54#define INTEL_FAM6_NEHALEM_EP 0x1A
55#define INTEL_FAM6_NEHALEM_EX 0x2E
c238f234 56
970442c5 57#define INTEL_FAM6_WESTMERE 0x25
970442c5
DH
58#define INTEL_FAM6_WESTMERE_EP 0x2C
59#define INTEL_FAM6_WESTMERE_EX 0x2F
60
61#define INTEL_FAM6_SANDYBRIDGE 0x2A
62#define INTEL_FAM6_SANDYBRIDGE_X 0x2D
63#define INTEL_FAM6_IVYBRIDGE 0x3A
64#define INTEL_FAM6_IVYBRIDGE_X 0x3E
65
c66f78a6 66#define INTEL_FAM6_HASWELL 0x3C
970442c5 67#define INTEL_FAM6_HASWELL_X 0x3F
af239c44 68#define INTEL_FAM6_HASWELL_L 0x45
5e741407 69#define INTEL_FAM6_HASWELL_G 0x46
970442c5 70
c66f78a6 71#define INTEL_FAM6_BROADWELL 0x3D
5e741407 72#define INTEL_FAM6_BROADWELL_G 0x47
970442c5 73#define INTEL_FAM6_BROADWELL_X 0x4F
5ebb34ed 74#define INTEL_FAM6_BROADWELL_D 0x56
970442c5 75
53375a5a
PZ
76#define INTEL_FAM6_SKYLAKE_L 0x4E /* Sky Lake */
77#define INTEL_FAM6_SKYLAKE 0x5E /* Sky Lake */
78#define INTEL_FAM6_SKYLAKE_X 0x55 /* Sky Lake */
99cb64de
AC
79/* CASCADELAKE_X 0x55 Sky Lake -- s: 7 */
80/* COOPERLAKE_X 0x55 Sky Lake -- s: 11 */
970442c5 81
53375a5a
PZ
82#define INTEL_FAM6_KABYLAKE_L 0x8E /* Sky Lake */
83/* AMBERLAKE_L 0x8E Sky Lake -- s: 9 */
84/* COFFEELAKE_L 0x8E Sky Lake -- s: 10 */
85/* WHISKEYLAKE_L 0x8E Sky Lake -- s: 11,12 */
850eb9fb 86
53375a5a
PZ
87#define INTEL_FAM6_KABYLAKE 0x9E /* Sky Lake */
88/* COFFEELAKE 0x9E Sky Lake -- s: 10-13 */
8cd8f0ce 89
53375a5a
PZ
90#define INTEL_FAM6_COMETLAKE 0xA5 /* Sky Lake */
91#define INTEL_FAM6_COMETLAKE_L 0xA6 /* Sky Lake */
6e1c32c5 92
53375a5a 93#define INTEL_FAM6_CANNONLAKE_L 0x66 /* Palm Cove */
8d7c6ac3 94
53375a5a
PZ
95#define INTEL_FAM6_ICELAKE_X 0x6A /* Sunny Cove */
96#define INTEL_FAM6_ICELAKE_D 0x6C /* Sunny Cove */
97#define INTEL_FAM6_ICELAKE 0x7D /* Sunny Cove */
98#define INTEL_FAM6_ICELAKE_L 0x7E /* Sunny Cove */
99#define INTEL_FAM6_ICELAKE_NNPI 0x9D /* Sunny Cove */
e00b62f0 100
53375a5a 101#define INTEL_FAM6_LAKEFIELD 0x8A /* Sunny Cove / Tremont */
be25d1b5 102
53375a5a 103#define INTEL_FAM6_ROCKETLAKE 0xA7 /* Cypress Cove */
e00b62f0 104
53375a5a
PZ
105#define INTEL_FAM6_TIGERLAKE_L 0x8C /* Willow Cove */
106#define INTEL_FAM6_TIGERLAKE 0x8D /* Willow Cove */
28188cc4
AK
107
108#define INTEL_FAM6_SAPPHIRERAPIDS_X 0x8F /* Golden Cove */
53375a5a
PZ
109
110#define INTEL_FAM6_ALDERLAKE 0x97 /* Golden Cove / Gracemont */
111#define INTEL_FAM6_ALDERLAKE_L 0x9A /* Golden Cove / Gracemont */
3ccce934 112#define INTEL_FAM6_ALDERLAKE_N 0xBE
e00b62f0 113
7d697f0d 114#define INTEL_FAM6_RAPTORLAKE 0xB7
3ccce934 115#define INTEL_FAM6_RAPTORLAKE_P 0xBA
ea902bcc 116#define INTEL_FAM6_RAPTORLAKE_S 0xBF
fbdb5e8f 117
970442c5
DH
118/* "Small Core" Processors (Atom) */
119
f2c4db1b
PZ
120#define INTEL_FAM6_ATOM_BONNELL 0x1C /* Diamondville, Pineview */
121#define INTEL_FAM6_ATOM_BONNELL_MID 0x26 /* Silverthorne, Lincroft */
122
123#define INTEL_FAM6_ATOM_SALTWELL 0x36 /* Cedarview */
124#define INTEL_FAM6_ATOM_SALTWELL_MID 0x27 /* Penwell */
125#define INTEL_FAM6_ATOM_SALTWELL_TABLET 0x35 /* Cloverview */
126
127#define INTEL_FAM6_ATOM_SILVERMONT 0x37 /* Bay Trail, Valleyview */
5ebb34ed 128#define INTEL_FAM6_ATOM_SILVERMONT_D 0x4D /* Avaton, Rangely */
f2c4db1b
PZ
129#define INTEL_FAM6_ATOM_SILVERMONT_MID 0x4A /* Merriefield */
130
131#define INTEL_FAM6_ATOM_AIRMONT 0x4C /* Cherry Trail, Braswell */
132#define INTEL_FAM6_ATOM_AIRMONT_MID 0x5A /* Moorefield */
855fa1f3 133#define INTEL_FAM6_ATOM_AIRMONT_NP 0x75 /* Lightning Mountain */
f2c4db1b
PZ
134
135#define INTEL_FAM6_ATOM_GOLDMONT 0x5C /* Apollo Lake */
5ebb34ed 136#define INTEL_FAM6_ATOM_GOLDMONT_D 0x5F /* Denverton */
a3d8c0d1
PZ
137
138/* Note: the micro-architecture is "Goldmont Plus" */
f2c4db1b 139#define INTEL_FAM6_ATOM_GOLDMONT_PLUS 0x7A /* Gemini Lake */
0a05fa67 140
5ebb34ed 141#define INTEL_FAM6_ATOM_TREMONT_D 0x86 /* Jacobsville */
0f65605a 142#define INTEL_FAM6_ATOM_TREMONT 0x96 /* Elkhart Lake */
b2d32af0 143#define INTEL_FAM6_ATOM_TREMONT_L 0x9C /* Jasper Lake */
970442c5
DH
144
145/* Xeon Phi */
146
147#define INTEL_FAM6_XEON_PHI_KNL 0x57 /* Knights Landing */
0047f598 148#define INTEL_FAM6_XEON_PHI_KNM 0x85 /* Knights Mill */
970442c5 149
20d43744
TG
150/* Family 5 */
151#define INTEL_FAM5_QUARK_X1000 0x09 /* Quark X1000 SoC */
152
970442c5 153#endif /* _ASM_X86_INTEL_FAMILY_H */