[PATCH] ppc64: POWER5+ oprofile support
Anton Blanchard
anton at samba.org
Thu Dec 29 22:09:11 EST 2005
POWER5+ adds new PMU groups and as such needs to be treated differently
by oprofile userspace. Change it to report itself as power5+.
Signed-off-by: Anton Blanchard <anton at samba.org>
---
Index: build/arch/powerpc/kernel/cputable.c
===================================================================
--- build.orig/arch/powerpc/kernel/cputable.c 2005-12-29 20:53:49.000000000 +1100
+++ build/arch/powerpc/kernel/cputable.c 2005-12-29 22:06:19.000000000 +1100
@@ -237,14 +237,14 @@
{ /* Power5 GS */
.pvr_mask = 0xffff0000,
.pvr_value = 0x003b0000,
- .cpu_name = "POWER5 (gs)",
+ .cpu_name = "POWER5+ (gs)",
.cpu_features = CPU_FTRS_POWER5,
.cpu_user_features = COMMON_USER_POWER5_PLUS,
.icache_bsize = 128,
.dcache_bsize = 128,
.num_pmcs = 6,
.cpu_setup = __setup_cpu_power4,
- .oprofile_cpu_type = "ppc64/power5",
+ .oprofile_cpu_type = "ppc64/power5+",
.oprofile_type = POWER4,
},
{ /* BE DD1.x */
More information about the Linuxppc64-dev
mailing list