x86/cpu: Add several Intel server CPU mode numbers

Message ID 20221103203310.5058-1-tony.luck@intel.com
State New
Headers
Series x86/cpu: Add several Intel server CPU mode numbers |

Commit Message

Luck, Tony Nov. 3, 2022, 8:33 p.m. UTC
  These servers are all on the public versions of the roadmap. The model
numbers for Grand Ridge, Granite Rapids, and Sierra Forest were included
in the September 2022 edition of the Instruction Set Extensions document.

Signed-off-by: Tony Luck <tony.luck@intel.com>
---
 arch/x86/include/asm/intel-family.h | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
  

Comments

Dave Hansen Nov. 4, 2022, 6:42 p.m. UTC | #1
On 11/3/22 13:33, Tony Luck wrote:
> These servers are all on the public versions of the roadmap. The model
> numbers for Grand Ridge, Granite Rapids, and Sierra Forest were included
> in the September 2022 edition of the Instruction Set Extensions document.
...
>  #define INTEL_FAM6_SAPPHIRERAPIDS_X	0x8F	/* Golden Cove */
>  
> +#define INTEL_FAM6_EMERALDRAPIDS_X	0xCF

Were the core names (like Golden Cove) left out intentionally?  Not a
big deal either way, but it's sometimes nice to see for things like the
hybrid parts what it might be "related" to.

Either way:

Acked-by: Dave Hansen <dave.hansen@linux.intel.com>
  
Luck, Tony Nov. 4, 2022, 6:47 p.m. UTC | #2
>>  #define INTEL_FAM6_SAPPHIRERAPIDS_X	0x8F	/* Golden Cove */
>>  
>> +#define INTEL_FAM6_EMERALDRAPIDS_X	0xCF
>
> Were the core names (like Golden Cove) left out intentionally?  Not a
> big deal either way, but it's sometimes nice to see for things like the
> hybrid parts what it might be "related" to.

Yes. Intentionally left out for now.

I try not to get ahead of what Intel has publicly announced for future
products. So details like that have to wait.

> Either way:
>
> Acked-by: Dave Hansen <dave.hansen@linux.intel.com>

Thanks

-Tony
  

Patch

diff --git a/arch/x86/include/asm/intel-family.h b/arch/x86/include/asm/intel-family.h
index 5d75fe229342..347707d459c6 100644
--- a/arch/x86/include/asm/intel-family.h
+++ b/arch/x86/include/asm/intel-family.h
@@ -107,6 +107,11 @@ 
 
 #define INTEL_FAM6_SAPPHIRERAPIDS_X	0x8F	/* Golden Cove */
 
+#define INTEL_FAM6_EMERALDRAPIDS_X	0xCF
+
+#define INTEL_FAM6_GRANITERAPIDS_X	0xAD
+#define INTEL_FAM6_GRANITERAPIDS_D	0xAE
+
 #define INTEL_FAM6_ALDERLAKE		0x97	/* Golden Cove / Gracemont */
 #define INTEL_FAM6_ALDERLAKE_L		0x9A	/* Golden Cove / Gracemont */
 #define INTEL_FAM6_ALDERLAKE_N		0xBE
@@ -118,7 +123,7 @@ 
 #define INTEL_FAM6_METEORLAKE		0xAC
 #define INTEL_FAM6_METEORLAKE_L		0xAA
 
-/* "Small Core" Processors (Atom) */
+/* "Small Core" Processors (Atom/E-Core) */
 
 #define INTEL_FAM6_ATOM_BONNELL		0x1C /* Diamondville, Pineview */
 #define INTEL_FAM6_ATOM_BONNELL_MID	0x26 /* Silverthorne, Lincroft */
@@ -145,6 +150,10 @@ 
 #define INTEL_FAM6_ATOM_TREMONT		0x96 /* Elkhart Lake */
 #define INTEL_FAM6_ATOM_TREMONT_L	0x9C /* Jasper Lake */
 
+#define INTEL_FAM6_SIERRAFOREST_X	0xAF
+
+#define INTEL_FAM6_GRANDRIDGE		0xB6
+
 /* Xeon Phi */
 
 #define INTEL_FAM6_XEON_PHI_KNL		0x57 /* Knights Landing */