* RE: Dave Jones: Fix cache size of Centrino CPU
@ 2003-10-01 18:55 Nakajima, Jun
2003-10-01 19:27 ` Dave Jones
0 siblings, 1 reply; 3+ messages in thread
From: Nakajima, Jun @ 2003-10-01 18:55 UTC (permalink / raw)
To: Dave Jones, Linux Kernel Mailing List; +Cc: Marcelo Tossati
Just curious. Why do we want to know L1D/L1I cache size? If you do, then
you might want to know the associativity and line size as well.
Jun
> -----Original Message-----
> From: linux-kernel-owner@vger.kernel.org [mailto:linux-kernel-
> owner@vger.kernel.org] On Behalf Of Dave Jones
> Sent: Wednesday, October 01, 2003 11:33 AM
> To: Linux Kernel Mailing List
> Cc: Marcelo Tossati
> Subject: Re: Dave Jones: Fix cache size of Centrino CPU
>
> On Wed, Oct 01, 2003 at 03:45:39PM +0000, Linux Kernel wrote:
> > ChangeSet 1.1136.2.9, 2003/10/01 12:45:39-03:00,
marcelo@dmt.cyclades
> >
> > Dave Jones: Fix cache size of Centrino CPU
> >
> >
> > # This patch includes the following deltas:
> > # ChangeSet 1.1136.2.8 -> 1.1136.2.9
> > # arch/i386/kernel/setup.c 1.73 -> 1.74
> > #
> >
> > setup.c | 2 ++
> > 1 files changed, 2 insertions(+)
> >
> >
> > diff -Nru a/arch/i386/kernel/setup.c b/arch/i386/kernel/setup.c
> > --- a/arch/i386/kernel/setup.c Wed Oct 1 11:05:23 2003
> > +++ b/arch/i386/kernel/setup.c Wed Oct 1 11:05:23 2003
> > @@ -2291,6 +2291,8 @@
> > { 0x83, LVL_2, 512 },
> > { 0x84, LVL_2, 1024 },
> > { 0x85, LVL_2, 2048 },
> > + { 0x86, LVL_2, 512 },
> > + { 0x87, LVL_2, 1024 },
> > { 0x00, 0, 0}
> > };
> >
> > -
>
> You seem to have dropped the first hunk of the diff.
>
> Dave
>
>
> --- 1/arch/i386/kernel/setup.c~ 2003-09-22 15:48:24.000000000
+0100
> +++ 2/arch/i386/kernel/setup.c 2003-09-22 15:49:33.000000000
+0100
> @@ -2296,6 +2296,8 @@
> { 0x23, LVL_3, 1024 },
> { 0x25, LVL_3, 2048 },
> { 0x29, LVL_3, 4096 },
> + { 0x2c, LVL_1_DATA, 32 },
> + { 0x30, LVL_1_INST, 32 },
> { 0x39, LVL_2, 128 },
> { 0x3b, LVL_2, 128 },
> { 0x3C, LVL_2, 256 },
>
>
>
>
> --
> Dave Jones http://www.codemonkey.org.uk
> -
> To unsubscribe from this list: send the line "unsubscribe
linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Dave Jones: Fix cache size of Centrino CPU
2003-10-01 18:55 Dave Jones: Fix cache size of Centrino CPU Nakajima, Jun
@ 2003-10-01 19:27 ` Dave Jones
0 siblings, 0 replies; 3+ messages in thread
From: Dave Jones @ 2003-10-01 19:27 UTC (permalink / raw)
To: Nakajima, Jun; +Cc: Linux Kernel Mailing List, Marcelo Tossati
On Wed, Oct 01, 2003 at 11:55:45AM -0700, Nakajima, Jun wrote:
> Just curious. Why do we want to know L1D/L1I cache size?
Entirely cosmetic reasons.
At boot time we print out..
Sep 21 16:38:08 hardwired kernel: CPU: Trace cache: 12K uops, L1 D cache: 8K
Sep 21 16:38:08 hardwired kernel: CPU: L2 cache: 512K
> If you do, then you might want to know the associativity and line size as well.
See http://www.codemonkey.org.uk/projects/x86info
It does all this, and more. Entirely in userspace, where such cosmetics
belong IMO.
Dave
--
Dave Jones http://www.codemonkey.org.uk
^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <200310011805.h91I5L88013845@hera.kernel.org>]
* Re: Dave Jones: Fix cache size of Centrino CPU
[not found] <200310011805.h91I5L88013845@hera.kernel.org>
@ 2003-10-01 18:33 ` Dave Jones
0 siblings, 0 replies; 3+ messages in thread
From: Dave Jones @ 2003-10-01 18:33 UTC (permalink / raw)
To: Linux Kernel Mailing List; +Cc: Marcelo Tossati
On Wed, Oct 01, 2003 at 03:45:39PM +0000, Linux Kernel wrote:
> ChangeSet 1.1136.2.9, 2003/10/01 12:45:39-03:00, marcelo@dmt.cyclades
>
> Dave Jones: Fix cache size of Centrino CPU
>
>
> # This patch includes the following deltas:
> # ChangeSet 1.1136.2.8 -> 1.1136.2.9
> # arch/i386/kernel/setup.c 1.73 -> 1.74
> #
>
> setup.c | 2 ++
> 1 files changed, 2 insertions(+)
>
>
> diff -Nru a/arch/i386/kernel/setup.c b/arch/i386/kernel/setup.c
> --- a/arch/i386/kernel/setup.c Wed Oct 1 11:05:23 2003
> +++ b/arch/i386/kernel/setup.c Wed Oct 1 11:05:23 2003
> @@ -2291,6 +2291,8 @@
> { 0x83, LVL_2, 512 },
> { 0x84, LVL_2, 1024 },
> { 0x85, LVL_2, 2048 },
> + { 0x86, LVL_2, 512 },
> + { 0x87, LVL_2, 1024 },
> { 0x00, 0, 0}
> };
>
> -
You seem to have dropped the first hunk of the diff.
Dave
--- 1/arch/i386/kernel/setup.c~ 2003-09-22 15:48:24.000000000 +0100
+++ 2/arch/i386/kernel/setup.c 2003-09-22 15:49:33.000000000 +0100
@@ -2296,6 +2296,8 @@
{ 0x23, LVL_3, 1024 },
{ 0x25, LVL_3, 2048 },
{ 0x29, LVL_3, 4096 },
+ { 0x2c, LVL_1_DATA, 32 },
+ { 0x30, LVL_1_INST, 32 },
{ 0x39, LVL_2, 128 },
{ 0x3b, LVL_2, 128 },
{ 0x3C, LVL_2, 256 },
--
Dave Jones http://www.codemonkey.org.uk
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-10-01 19:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-01 18:55 Dave Jones: Fix cache size of Centrino CPU Nakajima, Jun
2003-10-01 19:27 ` Dave Jones
[not found] <200310011805.h91I5L88013845@hera.kernel.org>
2003-10-01 18:33 ` Dave Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox