linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc: Make 970MP detectable by oprofile
@ 2006-11-21 20:41 Mike Wolf
  2006-11-22  0:47 ` Segher Boessenkool
  2006-11-22 16:48 ` Mike Wolf
  0 siblings, 2 replies; 6+ messages in thread
From: Mike Wolf @ 2006-11-21 20:41 UTC (permalink / raw)
  To: linuxppc-dev

Change the oprofile_cpu_type in cputables.c to be ppc64/970MP.  Oprofile
needs to distinquish the MP from other 970 processors so it can add some
new counters specific to the 970MP

Signed-off-by: Mike Wolf <mjw@us.ibm.com>

---diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c
index 911ac44..0b01faa 100644
--- a/arch/powerpc/kernel/cputable.c
+++ b/arch/powerpc/kernel/cputable.c
@@ -225,7 +225,7 @@ #ifdef CONFIG_PPC64
 		.num_pmcs		= 8,
 		.cpu_setup		= __setup_cpu_ppc970MP,
 		.cpu_restore		= __restore_cpu_ppc970,
-		.oprofile_cpu_type	= "ppc64/970",
+		.oprofile_cpu_type	= "ppc64/970MP",
 		.oprofile_type		= PPC_OPROFILE_POWER4,
 		.platform		= "ppc970",
 	},

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

* Re: [PATCH] powerpc: Make 970MP detectable by oprofile
  2006-11-21 20:41 [PATCH] powerpc: Make 970MP detectable by oprofile Mike Wolf
@ 2006-11-22  0:47 ` Segher Boessenkool
  2006-11-22 16:48 ` Mike Wolf
  1 sibling, 0 replies; 6+ messages in thread
From: Segher Boessenkool @ 2006-11-22  0:47 UTC (permalink / raw)
  To: Mike Wolf; +Cc: linuxppc-dev

> Oprofile
> needs to distinquish the MP from other 970 processors so it can add  
> some
> new counters specific to the 970MP

Just out of curiosity, what are those?  I never saw any,
but I'd love to know :-)


Segher

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

* Re: [PATCH] powerpc: Make 970MP detectable by oprofile
  2006-11-21 20:41 [PATCH] powerpc: Make 970MP detectable by oprofile Mike Wolf
  2006-11-22  0:47 ` Segher Boessenkool
@ 2006-11-22 16:48 ` Mike Wolf
  2006-11-22 19:05   ` Olof Johansson
  1 sibling, 1 reply; 6+ messages in thread
From: Mike Wolf @ 2006-11-22 16:48 UTC (permalink / raw)
  To: linuxppc-dev


> >Change the oprofile_cpu_type in cputables.c to be ppc64/970MP.  Oprofile
> >needs to distinquish the MP from other 970 processors so it can add some
> >new counters specific to the 970MP
> >
>Just out of curiosity, what are those?  I never saw any,
>but I'd love to know :-)


They are the IBM JS21 blades

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

* Re: [PATCH] powerpc: Make 970MP detectable by oprofile
  2006-11-22 16:48 ` Mike Wolf
@ 2006-11-22 19:05   ` Olof Johansson
  2006-11-22 19:42     ` Mike Wolf
  0 siblings, 1 reply; 6+ messages in thread
From: Olof Johansson @ 2006-11-22 19:05 UTC (permalink / raw)
  To: mjw; +Cc: linuxppc-dev

On Wed, 22 Nov 2006 10:48:18 -0600 Mike Wolf <mjw@us.ibm.com> wrote:

> >Just out of curiosity, what are those?  I never saw any,
> >but I'd love to know :-)  
> 
> 
> They are the IBM JS21 blades

I think Segher might have had "what are the new counters" in mind when he asked that, not where the processors are used. :-)


-Olof

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

* Re: [PATCH] powerpc: Make 970MP detectable by oprofile
  2006-11-22 19:05   ` Olof Johansson
@ 2006-11-22 19:42     ` Mike Wolf
  2006-11-23 14:28       ` Segher Boessenkool
  0 siblings, 1 reply; 6+ messages in thread
From: Mike Wolf @ 2006-11-22 19:42 UTC (permalink / raw)
  To: linuxppc-dev

On Wed, 2006-11-22 at 13:05 -0600, Olof Johansson wrote:
> On Wed, 22 Nov 2006 10:48:18 -0600 Mike Wolf <mjw@us.ibm.com> wrote:
> 
> > >Just out of curiosity, what are those?  I never saw any,
> > >but I'd love to know :-)
> >
> >
> > They are the IBM JS21 blades
> 
> I think Segher might have had "what are the new counters" in mind when he asked that, not where the processors are used. :-)
> 
> 
> -Olof

They are different MMCRx settings for counting certain events.

Mike

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

* Re: [PATCH] powerpc: Make 970MP detectable by oprofile
  2006-11-22 19:42     ` Mike Wolf
@ 2006-11-23 14:28       ` Segher Boessenkool
  0 siblings, 0 replies; 6+ messages in thread
From: Segher Boessenkool @ 2006-11-23 14:28 UTC (permalink / raw)
  To: Mike Wolf; +Cc: linuxppc-dev

>>>> Just out of curiosity, what are those?  I never saw any,
>>>> but I'd love to know :-)
>>>
>>> They are the IBM JS21 blades
>>
>> I think Segher might have had "what are the new counters" in mind 
>> when he asked that, not where the processors are used. :-)

Yes indeed :-)

> They are different MMCRx settings for counting certain events.

Heh of course.  I meant _which_ events, of course.

But nm, I'll look it up myself :-)


Segher

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

end of thread, other threads:[~2006-11-23 14:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-21 20:41 [PATCH] powerpc: Make 970MP detectable by oprofile Mike Wolf
2006-11-22  0:47 ` Segher Boessenkool
2006-11-22 16:48 ` Mike Wolf
2006-11-22 19:05   ` Olof Johansson
2006-11-22 19:42     ` Mike Wolf
2006-11-23 14:28       ` Segher Boessenkool

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).