All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/cpu: Add a third Alderlake CPU model number
@ 2022-03-10 21:56 Tony Luck
  2022-03-30 13:43 ` Peter Zijlstra
  0 siblings, 1 reply; 7+ messages in thread
From: Tony Luck @ 2022-03-10 21:56 UTC (permalink / raw)
  To: Borislav Petkov; +Cc: Peter Zijlstra, x86, linux-kernel, Tony Luck

Existing suffix conventions only cover mobile/desktop/server options.
But this isn't any of those. Use "_N" as it matches the Intel naming
convention for this part.

Signed-off-by: Tony Luck <tony.luck@intel.com>
---

Peter: What do you think about suffix proliferation? I tried to
get an answer about the target market segment for this CPU, but
didn't get an answer that is at all useful.

 arch/x86/include/asm/intel-family.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/include/asm/intel-family.h b/arch/x86/include/asm/intel-family.h
index 048b6d5aff50..2f7b608f3e55 100644
--- a/arch/x86/include/asm/intel-family.h
+++ b/arch/x86/include/asm/intel-family.h
@@ -107,6 +107,7 @@
 
 #define INTEL_FAM6_ALDERLAKE		0x97	/* Golden Cove / Gracemont */
 #define INTEL_FAM6_ALDERLAKE_L		0x9A	/* Golden Cove / Gracemont */
+#define INTEL_FAM6_ALDERLAKE_N		0xBE
 
 #define INTEL_FAM6_RAPTORLAKE		0xB7
 
-- 
2.35.1


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

* Re: [PATCH] x86/cpu: Add a third Alderlake CPU model number
  2022-03-10 21:56 [PATCH] x86/cpu: Add a third Alderlake CPU model number Tony Luck
@ 2022-03-30 13:43 ` Peter Zijlstra
  2022-03-30 19:57   ` Luck, Tony
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Zijlstra @ 2022-03-30 13:43 UTC (permalink / raw)
  To: Tony Luck; +Cc: Borislav Petkov, x86, linux-kernel

On Thu, Mar 10, 2022 at 01:56:52PM -0800, Tony Luck wrote:
> Existing suffix conventions only cover mobile/desktop/server options.
> But this isn't any of those. Use "_N" as it matches the Intel naming
> convention for this part.
> 
> Signed-off-by: Tony Luck <tony.luck@intel.com>
> ---
> 
> Peter: What do you think about suffix proliferation? I tried to
> get an answer about the target market segment for this CPU, but
> didn't get an answer that is at all useful.

I'm not loving it, but seeing how they keep making these things into
model numbers (instead of using a different differentiator), there's
little we can do about it :-(

>  arch/x86/include/asm/intel-family.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/x86/include/asm/intel-family.h b/arch/x86/include/asm/intel-family.h
> index 048b6d5aff50..2f7b608f3e55 100644
> --- a/arch/x86/include/asm/intel-family.h
> +++ b/arch/x86/include/asm/intel-family.h
> @@ -107,6 +107,7 @@
>  
>  #define INTEL_FAM6_ALDERLAKE		0x97	/* Golden Cove / Gracemont */
>  #define INTEL_FAM6_ALDERLAKE_L		0x9A	/* Golden Cove / Gracemont */
> +#define INTEL_FAM6_ALDERLAKE_N		0xBE

This is missing the /* Gracemont */ comment. That is, according to
Google, Alder Lake N is an E core only SKU. So alternatively, we can
call it: INTEL_FAM6_ATOM_GRACEMONT ....

/me runs like heck :-)

>  #define INTEL_FAM6_RAPTORLAKE		0xB7

That too is missing the comment, but I can't actually find what it
should be on wikichip so I suppose that's still sekrit or something.

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

* RE: [PATCH] x86/cpu: Add a third Alderlake CPU model number
  2022-03-30 13:43 ` Peter Zijlstra
@ 2022-03-30 19:57   ` Luck, Tony
  2022-04-11 23:37     ` [PATCH] x86/cpu: Add new Alderlake and Raptorlake CPU model numbers Luck, Tony
  0 siblings, 1 reply; 7+ messages in thread
From: Luck, Tony @ 2022-03-30 19:57 UTC (permalink / raw)
  To: Peter Zijlstra; +Cc: Borislav Petkov, x86, linux-kernel

>> +#define INTEL_FAM6_ALDERLAKE_N		0xBE
>
> This is missing the /* Gracemont */ comment. That is, according to
> Google, Alder Lake N is an E core only SKU.

I can neither confirm nor deny that information.

> So alternatively, we can
> call it: INTEL_FAM6_ATOM_GRACEMONT ....
>
> /me runs like heck :-)

And so you should :-) I think that will just cause a different level
of confusion.

-Tony


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

* [PATCH] x86/cpu: Add new Alderlake and Raptorlake CPU model numbers
  2022-03-30 19:57   ` Luck, Tony
@ 2022-04-11 23:37     ` Luck, Tony
  2022-04-19  8:56       ` Peter Zijlstra
  2022-04-19 10:16       ` [tip: x86/urgent] " tip-bot2 for Tony Luck
  0 siblings, 2 replies; 7+ messages in thread
From: Luck, Tony @ 2022-04-11 23:37 UTC (permalink / raw)
  To: Peter Zijlstra; +Cc: Borislav Petkov, x86, linux-kernel

Intel is subdividing the mobile segment with additional models
with the same codename. Using the Intel "N" and "P" suffices
for these will be less confusing than trying to map to some
different naming convention.

Signed-off-by: Tony Luck <tony.luck@intel.com>
---

I think the earlier patch for Alderlake "N" got stuck in limbo
trying to resolve whether we should add the "_N" suffix to our list
of acceptable CPU model #define names. Now we have another one "_P".

Can we just take these, and move on?

 arch/x86/include/asm/intel-family.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/x86/include/asm/intel-family.h b/arch/x86/include/asm/intel-family.h
index 048b6d5aff50..def6ca121111 100644
--- a/arch/x86/include/asm/intel-family.h
+++ b/arch/x86/include/asm/intel-family.h
@@ -26,6 +26,7 @@
  *		_G	- parts with extra graphics on
  *		_X	- regular server parts
  *		_D	- micro server parts
+ *		_N,_P	- other mobile parts
  *
  *		Historical OPTDIFFs:
  *
@@ -107,8 +108,10 @@
 
 #define INTEL_FAM6_ALDERLAKE		0x97	/* Golden Cove / Gracemont */
 #define INTEL_FAM6_ALDERLAKE_L		0x9A	/* Golden Cove / Gracemont */
+#define INTEL_FAM6_ALDERLAKE_N		0xBE
 
 #define INTEL_FAM6_RAPTORLAKE		0xB7
+#define INTEL_FAM6_RAPTORLAKE_P		0xBA
 
 /* "Small Core" Processors (Atom) */
 
-- 
2.35.1


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

* Re: [PATCH] x86/cpu: Add new Alderlake and Raptorlake CPU model numbers
  2022-04-11 23:37     ` [PATCH] x86/cpu: Add new Alderlake and Raptorlake CPU model numbers Luck, Tony
@ 2022-04-19  8:56       ` Peter Zijlstra
  2022-04-19 10:01         ` Borislav Petkov
  2022-04-19 10:16       ` [tip: x86/urgent] " tip-bot2 for Tony Luck
  1 sibling, 1 reply; 7+ messages in thread
From: Peter Zijlstra @ 2022-04-19  8:56 UTC (permalink / raw)
  To: Luck, Tony; +Cc: Borislav Petkov, x86, linux-kernel

On Mon, Apr 11, 2022 at 04:37:03PM -0700, Luck, Tony wrote:
> Intel is subdividing the mobile segment with additional models
> with the same codename. Using the Intel "N" and "P" suffices
> for these will be less confusing than trying to map to some
> different naming convention.
> 
> Signed-off-by: Tony Luck <tony.luck@intel.com>
> ---
> 
> I think the earlier patch for Alderlake "N" got stuck in limbo
> trying to resolve whether we should add the "_N" suffix to our list
> of acceptable CPU model #define names. Now we have another one "_P".
> 
> Can we just take these, and move on?

Yeah, I suppose so.

Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>

Let's hope our marketing team will stick with these names for a little
while atleast :/

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

* Re: [PATCH] x86/cpu: Add new Alderlake and Raptorlake CPU model numbers
  2022-04-19  8:56       ` Peter Zijlstra
@ 2022-04-19 10:01         ` Borislav Petkov
  0 siblings, 0 replies; 7+ messages in thread
From: Borislav Petkov @ 2022-04-19 10:01 UTC (permalink / raw)
  To: Peter Zijlstra; +Cc: Luck, Tony, x86, linux-kernel

On Tue, Apr 19, 2022 at 10:56:03AM +0200, Peter Zijlstra wrote:
> Let's hope our marketing team will stick with these names for a little
> while atleast :/

I'm waiting for the day when they run out of lakes and we and up doing

 #define INTEL_FAM6_LAKELAKE          0xff

:-P

-- 
Regards/Gruss,
    Boris.

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

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

* [tip: x86/urgent] x86/cpu: Add new Alderlake and Raptorlake CPU model numbers
  2022-04-11 23:37     ` [PATCH] x86/cpu: Add new Alderlake and Raptorlake CPU model numbers Luck, Tony
  2022-04-19  8:56       ` Peter Zijlstra
@ 2022-04-19 10:16       ` tip-bot2 for Tony Luck
  1 sibling, 0 replies; 7+ messages in thread
From: tip-bot2 for Tony Luck @ 2022-04-19 10:16 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: Tony Luck, Borislav Petkov, Peter Zijlstra (Intel), x86, linux-kernel

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

Commit-ID:     3ccce9340326df40ba4462d4d2a1692b6387a68e
Gitweb:        https://git.kernel.org/tip/3ccce9340326df40ba4462d4d2a1692b6387a68e
Author:        Tony Luck <tony.luck@intel.com>
AuthorDate:    Mon, 11 Apr 2022 16:37:03 -07:00
Committer:     Borislav Petkov <bp@suse.de>
CommitterDate: Tue, 19 Apr 2022 12:04:51 +02:00

x86/cpu: Add new Alderlake and Raptorlake CPU model numbers

Intel is subdividing the mobile segment with additional models
with the same codename. Using the Intel "N" and "P" suffices
for these will be less confusing than trying to map to some
different naming convention.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/YlS7n7Xtso9BXZA2@agluck-desk3.sc.intel.com
---
 arch/x86/include/asm/intel-family.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/x86/include/asm/intel-family.h b/arch/x86/include/asm/intel-family.h
index 048b6d5..def6ca1 100644
--- a/arch/x86/include/asm/intel-family.h
+++ b/arch/x86/include/asm/intel-family.h
@@ -26,6 +26,7 @@
  *		_G	- parts with extra graphics on
  *		_X	- regular server parts
  *		_D	- micro server parts
+ *		_N,_P	- other mobile parts
  *
  *		Historical OPTDIFFs:
  *
@@ -107,8 +108,10 @@
 
 #define INTEL_FAM6_ALDERLAKE		0x97	/* Golden Cove / Gracemont */
 #define INTEL_FAM6_ALDERLAKE_L		0x9A	/* Golden Cove / Gracemont */
+#define INTEL_FAM6_ALDERLAKE_N		0xBE
 
 #define INTEL_FAM6_RAPTORLAKE		0xB7
+#define INTEL_FAM6_RAPTORLAKE_P		0xBA
 
 /* "Small Core" Processors (Atom) */
 

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

end of thread, other threads:[~2022-04-19 10:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-10 21:56 [PATCH] x86/cpu: Add a third Alderlake CPU model number Tony Luck
2022-03-30 13:43 ` Peter Zijlstra
2022-03-30 19:57   ` Luck, Tony
2022-04-11 23:37     ` [PATCH] x86/cpu: Add new Alderlake and Raptorlake CPU model numbers Luck, Tony
2022-04-19  8:56       ` Peter Zijlstra
2022-04-19 10:01         ` Borislav Petkov
2022-04-19 10:16       ` [tip: x86/urgent] " tip-bot2 for Tony Luck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.