public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] identifier string for P4 Prescott
@ 2004-08-30 22:02 Chris Lalancette
  0 siblings, 0 replies; 3+ messages in thread
From: Chris Lalancette @ 2004-08-30 22:02 UTC (permalink / raw)
  To: linux-kernel

A trivial patch to change the identifier in the kernel from "Unknown CPU 
[15:3]" to "Pentium 4(tm) Prescott".  Although Prescott is not the 
official name of the chip (I think Intel just decided to go with the 
P4 name), I do think it is useful to be able to identify this chip 
separately (given that it has a different core).  This is a patch against 
2.4.27

(NOTE: please CC me on any correspondence; I am not subscribed to the 
list)

--- linux-2.4.27/arch/i386/kernel/mpparse.c     2004-08-07 
19:26:04.000000000 -0400
+++ linux-2.4.27-crl/arch/i386/kernel/mpparse.c 2004-08-30 
17:01:20.000000000 -0400
@@ -137,6 +137,8 @@
                                 return("Pentium 4(tm)");
                         if (model == 0x02)
                                 return("Pentium 4(tm) XEON(tm)");
+                       if (model == 0x03)
+                               return("Pentium 4(tm) Prescott");
                         if (model == 0x0F)
                                 return("Special controller");
         }


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

* Re: [PATCH] identifier string for P4 Prescott
       [not found] <2z2vJ-7ND-13@gated-at.bofh.it>
@ 2004-08-30 22:47 ` Andi Kleen
  2004-08-31  8:51   ` Tonnerre
  0 siblings, 1 reply; 3+ messages in thread
From: Andi Kleen @ 2004-08-30 22:47 UTC (permalink / raw)
  To: Chris Lalancette; +Cc: linux-kernel

Chris Lalancette <clalancette@illuminari.org> writes:

> A trivial patch to change the identifier in the kernel from "Unknown
> CPU [15:3]" to "Pentium 4(tm) Prescott".  Although Prescott is not the
> official name of the chip (I think Intel just decided to go with the
> P4 name), I do think it is useful to be able to identify this chip
> separately (given that it has a different core).  This is a patch
> against 2.4.27

2.6 dropped this decoding because it was useless (doesn't offer
any additional information). Maybe that should be just done on 2.4
too.

It doesn't offer any additional information because we get
the CPU name from CPUID anyways and it is a long term
mainteance burden.

-Andi

P.S.: The official Intel name for Prescott would be Pentium 4E 
(I don't know where to place the (tm) though) 


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

* Re: [PATCH] identifier string for P4 Prescott
  2004-08-30 22:47 ` [PATCH] identifier string for P4 Prescott Andi Kleen
@ 2004-08-31  8:51   ` Tonnerre
  0 siblings, 0 replies; 3+ messages in thread
From: Tonnerre @ 2004-08-31  8:51 UTC (permalink / raw)
  To: Andi Kleen; +Cc: Chris Lalancette, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 274 bytes --]

Salut,

On Tue, Aug 31, 2004 at 12:47:54AM +0200, Andi Kleen wrote:
> P.S.: The official Intel name for Prescott would be Pentium 4E 
> (I don't know where to place the (tm) though) 

I think Pentium4E(TM) and Pentium(TM) 4 Extremely Expensive(TM)

			    Tonnerre

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2004-08-31  8:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <2z2vJ-7ND-13@gated-at.bofh.it>
2004-08-30 22:47 ` [PATCH] identifier string for P4 Prescott Andi Kleen
2004-08-31  8:51   ` Tonnerre
2004-08-30 22:02 Chris Lalancette

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