All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] powerpc/perf_counter: POWER7 has alternate PR/HV bits
@ 2009-07-01  3:07 Anton Blanchard
  2009-07-01  4:46 ` Paul Mackerras
  2009-07-01  8:46 ` [tip:perfcounters/urgent] powerpc/perf_counter: Enable alternate PR/HV bits for POWER7 tip-bot for Anton Blanchard
  0 siblings, 2 replies; 3+ messages in thread
From: Anton Blanchard @ 2009-07-01  3:07 UTC (permalink / raw)
  To: mingo, a.p.zijlstra, paulus, benh; +Cc: linux-kernel


POWER7 has the same PR/HV bit layout as POWER6, so set the flag.

Signed-off-by: Anton Blanchard <anton@samba.org>
---

Index: linux-2.6-tip/arch/powerpc/kernel/power7-pmu.c
===================================================================
--- linux-2.6-tip.orig/arch/powerpc/kernel/power7-pmu.c	2009-07-01 12:41:49.000000000 +1000
+++ linux-2.6-tip/arch/powerpc/kernel/power7-pmu.c	2009-07-01 12:42:09.000000000 +1000
@@ -358,6 +358,7 @@
 	.get_constraint		= power7_get_constraint,
 	.get_alternatives	= power7_get_alternatives,
 	.disable_pmc		= power7_disable_pmc,
+	.flags			= PPMU_ALT_SIPR,
 	.n_generic		= ARRAY_SIZE(power7_generic_events),
 	.generic_events		= power7_generic_events,
 	.cache_events		= &power7_cache_events,

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

end of thread, other threads:[~2009-07-01  8:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-01  3:07 [PATCH] powerpc/perf_counter: POWER7 has alternate PR/HV bits Anton Blanchard
2009-07-01  4:46 ` Paul Mackerras
2009-07-01  8:46 ` [tip:perfcounters/urgent] powerpc/perf_counter: Enable alternate PR/HV bits for POWER7 tip-bot for Anton Blanchard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.