linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] x86/cpu: Add new Raptor Lake CPU model number
@ 2022-08-23 17:48 Tony Luck
  2022-08-23 18:02 ` [tip: x86/urgent] " tip-bot2 for Tony Luck
  2022-08-24  6:55 ` [PATCH] " Peter Zijlstra
  0 siblings, 2 replies; 3+ messages in thread
From: Tony Luck @ 2022-08-23 17:48 UTC (permalink / raw)
  To: x86; +Cc: linux-kernel, patches, Tony Luck

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.

Signed-off-by: Tony Luck <tony.luck@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 def6ca121111..aeb38023a703 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) */
 
-- 
2.35.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [tip: x86/urgent] x86/cpu: Add new Raptor Lake CPU model number
  2022-08-23 17:48 [PATCH] x86/cpu: Add new Raptor Lake CPU model number Tony Luck
@ 2022-08-23 18:02 ` tip-bot2 for Tony Luck
  2022-08-24  6:55 ` [PATCH] " Peter Zijlstra
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot2 for Tony Luck @ 2022-08-23 18:02 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Tony Luck, Dave Hansen, x86, linux-kernel

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@intel.com>
AuthorDate:    Tue, 23 Aug 2022 10:48:19 -07:00
Committer:     Dave Hansen <dave.hansen@linux.intel.com>
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@intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lkml.kernel.org/r/20220823174819.223941-1-tony.luck@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) */
 

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] x86/cpu: Add new Raptor Lake CPU model number
  2022-08-23 17:48 [PATCH] x86/cpu: Add new Raptor Lake CPU model number Tony Luck
  2022-08-23 18:02 ` [tip: x86/urgent] " tip-bot2 for Tony Luck
@ 2022-08-24  6:55 ` Peter Zijlstra
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Zijlstra @ 2022-08-24  6:55 UTC (permalink / raw)
  To: Tony Luck; +Cc: x86, linux-kernel, patches

On Tue, Aug 23, 2022 at 10:48:19AM -0700, Tony Luck wrote:
> 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: Except when they should not: https://lore.kernel.org/all/Yv9Kw21Wl/f6KJTk@worktop.programming.kicks-ass.net/?q=Alder+Lake+N

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-24  6:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-23 17:48 [PATCH] x86/cpu: Add new Raptor Lake CPU model number Tony Luck
2022-08-23 18:02 ` [tip: x86/urgent] " tip-bot2 for Tony Luck
2022-08-24  6:55 ` [PATCH] " Peter Zijlstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).