mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86/cpu: Add CPU model number for Bartlett Lake
@ 2025-04-14  3:28 Pi Xiange
  2025-04-14  7:22 ` Ingo Molnar
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Pi Xiange @ 2025-04-14  3:28 UTC (permalink / raw)
  To: x86; +Cc: tony.luck, peterz, linux-kernel

Bartlett Lake has a P-core only product with Raptor Cove.

Signed-off-by: Pi Xiange <xiange.pi@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 3a97a7eefb51..405bde66032a 100644
--- a/arch/x86/include/asm/intel-family.h
+++ b/arch/x86/include/asm/intel-family.h
@@ -126,6 +126,8 @@
 #define INTEL_GRANITERAPIDS_X		IFM(6, 0xAD) /* Redwood Cove */
 #define INTEL_GRANITERAPIDS_D		IFM(6, 0xAE)
 
+#define INTEL_RAPTORCOVE		IFM(6, 0xD7) /* Bartlett Lake */
+
 /* "Hybrid" Processors (P-Core/E-Core) */
 
 #define INTEL_LAKEFIELD			IFM(6, 0x8A) /* Sunny Cove / Tremont */
-- 
2.31.1


^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: [tip: x86/urgent] x86/cpu: Add CPU model number for Bartlett Lake CPUs with Raptor Cove cores
@ 2025-04-14 14:31 Christian Ludloff
  0 siblings, 0 replies; 6+ messages in thread
From: Christian Ludloff @ 2025-04-14 14:31 UTC (permalink / raw)
  To: linux-kernel
  Cc: Pi Xiange, Ingo Molnar, Peter Zijlstra, Tony Luck, Andrew Cooper,
	H. Peter Anvin, John Ogness, Ahmed S. Darwish, x86-cpuid, x86

> +#define INTEL_RAPTORCOVE IFM(6, 0xD7) /* Bartlett Lake */

Please fix this. It has the core and the product reversed. That is, it
should be INTEL_BARTLETTLAKE and /* Raptor Cove */ to match
the bulk of that file.

And yes, you also want to fix this for INTEL_PANTHERCOVE_X
and /* Diamond Rapids */ entry.

The macros refer to products.
The comments refer to cores.

Consistency, please.
Sanity, please.

--
Christian

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

end of thread, other threads:[~2025-04-16  7:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-14  3:28 [PATCH] x86/cpu: Add CPU model number for Bartlett Lake Pi Xiange
2025-04-14  7:22 ` Ingo Molnar
2025-04-14  7:34 ` [tip: x86/urgent] x86/cpu: Add CPU model number for Bartlett Lake CPUs with Raptor Cove cores tip-bot2 for Pi Xiange
2025-04-14 15:36 ` tip-bot2 for Pi Xiange
2025-04-16  7:25 ` tip-bot2 for Pi Xiange
2025-04-14 14:31 Christian Ludloff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®