linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Fw: [PATCH] ppc: add ppc750 CL as supported by oprofile
@ 2009-09-25  0:05 Andrew Morton
  2009-09-25  0:13 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Morton @ 2009-09-25  0:05 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Dragos Tatulea



Begin forwarded message:

Date: Wed, 16 Sep 2009 11:58:15 +0300
From: Dragos Tatulea <dtatulea@ixiacom.com>
To: paulus@samba.org, linux-kernel@vger.kernel.org
Cc: Octavian Purdila <opurdila@ixiacom.com>
Subject: [PATCH] ppc: add ppc750 CL as supported by oprofile


Hi,

	Here's a patch that adds the ppc750 CL cpu as supported by oprofile.

-- Dragos

Signed-off-by: Dragos Tatulea <dtatulea@ixiacom.com>
---
 arch/powerpc/kernel/cputable.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c
index 0b9c913..03c862b 100644
--- a/arch/powerpc/kernel/cputable.c
+++ b/arch/powerpc/kernel/cputable.c
@@ -711,6 +711,8 @@ static struct cpu_spec __initdata cpu_specs[] = {
 		.cpu_setup		= __setup_cpu_750,
 		.machine_check		= machine_check_generic,
 		.platform		= "ppc750",
+		.oprofile_cpu_type      = "ppc/750",
+		.oprofile_type		= PPC_OPROFILE_G4,
 	},
 	{	/* 745/755 */
 		.pvr_mask		= 0xfffff000,

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

* Re: Fw: [PATCH] ppc: add ppc750 CL as supported by oprofile
  2009-09-25  0:05 Fw: [PATCH] ppc: add ppc750 CL as supported by oprofile Andrew Morton
@ 2009-09-25  0:13 ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2009-09-25  0:13 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linuxppc-dev, Dragos Tatulea

On Thu, 2009-09-24 at 17:05 -0700, Andrew Morton wrote:
> 
> Begin forwarded message:

Thanks. I'll pick it up.

Cheers,
Ben.

> Date: Wed, 16 Sep 009 11:58:15 +0300
> From: Dragos Tatulea <dtatulea@ixiacom.com>
> To: paulus@samba.org, linux-kernel@vger.kernel.org
> Cc: Octavian Purdila <opurdila@ixiacom.com>
> Subject: [PATCH] ppc: add ppc750 CL as supported by oprofile
> 
> 
> Hi,
> 
> 	Here's a patch that adds the ppc750 CL cpu as supported by oprofile.
> 
> -- Dragos
> 
> Signed-off-by: Dragos Tatulea <dtatulea@ixiacom.com>
> ---
>  arch/powerpc/kernel/cputable.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c
> index 0b9c913..03c862b 100644
> --- a/arch/powerpc/kernel/cputable.c
> +++ b/arch/powerpc/kernel/cputable.c
> @@ -711,6 +711,8 @@ static struct cpu_spec __initdata cpu_specs[] = {
>  		.cpu_setup		= __setup_cpu_750,
>  		.machine_check		= machine_check_generic,
>  		.platform		= "ppc750",
> +		.oprofile_cpu_type      = "ppc/750",
> +		.oprofile_type		= PPC_OPROFILE_G4,
>  	},
>  	{	/* 745/755 */
>  		.pvr_mask		= 0xfffff000,
> --
> 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/
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev

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

end of thread, other threads:[~2009-09-25  0:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-25  0:05 Fw: [PATCH] ppc: add ppc750 CL as supported by oprofile Andrew Morton
2009-09-25  0:13 ` Benjamin Herrenschmidt

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