[tip: x86/urgent] x86/cpu: Add new Raptor Lake CPU model number

From: tip-bot2 for Tony Luck
Date: Tue Aug 23 2022 - 15:22:12 EST


The following commit has been merged into the x86/urgent branch of tip:

Commit-ID: ea902bcc1943f7539200ec464de3f54335588774
Gitweb: https://git.kernel.org/tip/ea902bcc1943f7539200ec464de3f54335588774
Author: Tony Luck <tony.luck@xxxxxxxxx>
AuthorDate: Tue, 23 Aug 2022 10:48:19 -07:00
Committer: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
CommitterDate: Tue, 23 Aug 2022 10:58:21 -07:00

x86/cpu: Add new Raptor Lake CPU model number

Note1: Model 0xB7 already claimed the "no suffix" #define for a regular
client part, so add (yet another) suffix "S" to distinguish this new
part from the earlier one.

Note2: the RAPTORLAKE* and ALDERLAKE* processors are very similar from a
software enabling point of view. There are no known features that have
model-specific enabling and also differ between the two. In other words,
every single place that list *one* or more RAPTORLAKE* or ALDERLAKE*
processors should list all of them.

Note3: This is being merged before there is an in-tree user. Merging
this provides an "anchor" so that the different folks can update their
subsystems (like perf) in parallel to use this define and test it.

[ dhansen: add a note about why this has no in-tree users yet ]

Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx>
Signed-off-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
Link: https://lkml.kernel.org/r/20220823174819.223941-1-tony.luck@xxxxxxxxx
---
arch/x86/include/asm/intel-family.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/x86/include/asm/intel-family.h b/arch/x86/include/asm/intel-family.h
index def6ca1..aeb3802 100644
--- a/arch/x86/include/asm/intel-family.h
+++ b/arch/x86/include/asm/intel-family.h
@@ -27,6 +27,7 @@
* _X - regular server parts
* _D - micro server parts
* _N,_P - other mobile parts
+ * _S - other client parts
*
* Historical OPTDIFFs:
*
@@ -112,6 +113,7 @@

#define INTEL_FAM6_RAPTORLAKE 0xB7
#define INTEL_FAM6_RAPTORLAKE_P 0xBA
+#define INTEL_FAM6_RAPTORLAKE_S 0xBF

/* "Small Core" Processors (Atom) */