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

tip-bot2 for Tony Luck posted 1 patch 3 years, 7 months ago
There is a newer version of this series
arch/x86/include/asm/intel-family.h | 2 ++
1 file changed, 2 insertions(+)
[tip: x86/cpu] x86/cpu: Add new Raptor Lake CPU model number
Posted by tip-bot2 for Tony Luck 3 years, 7 months ago
The following commit has been merged into the x86/cpu branch of tip:

Commit-ID:     81779270304dd556e1bb9e62561115714c15fa6a
Gitweb:        https://git.kernel.org/tip/81779270304dd556e1bb9e62561115714c15fa6a
Author:        Tony Luck <tony.luck@intel.com>
AuthorDate:    Mon, 22 Aug 2022 10:12:21 -07:00
Committer:     Dave Hansen <dave.hansen@linux.intel.com>
CommitterDate: Mon, 22 Aug 2022 16:35:53 -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 eventually 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@intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lkml.kernel.org/r/YwO49TDHnLcOyE+F@agluck-desk3.sc.intel.com
---
 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) */
Re: [tip: x86/cpu] x86/cpu: Add new Raptor Lake CPU model number
Posted by Borislav Petkov 3 years, 7 months ago
On Mon, Aug 22, 2022 at 11:44:47PM -0000, tip-bot2 for Tony Luck wrote:
> The following commit has been merged into the x86/cpu branch of tip:
> 
> Commit-ID:     81779270304dd556e1bb9e62561115714c15fa6a
> Gitweb:        https://git.kernel.org/tip/81779270304dd556e1bb9e62561115714c15fa6a
> Author:        Tony Luck <tony.luck@intel.com>
> AuthorDate:    Mon, 22 Aug 2022 10:12:21 -07:00
> Committer:     Dave Hansen <dave.hansen@linux.intel.com>
> CommitterDate: Mon, 22 Aug 2022 16:35:53 -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 eventually 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.

Yeah, then you should probably stick it in x86/urgent so that it goes to
Linus now.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette