[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-0a456fc58fb8ef3c53d18297ab5cd5d2a70d146b@git.kernel.org>
Date: Wed, 1 Jul 2009 08:46:56 GMT
From: tip-bot for Anton Blanchard <anton@...ba.org>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, paulus@...ba.org, anton@...ba.org,
hpa@...or.com, mingo@...hat.com, tglx@...utronix.de, mingo@...e.hu
Subject: [tip:perfcounters/urgent] powerpc/perf_counter: Enable alternate PR/HV bits for POWER7
Commit-ID: 0a456fc58fb8ef3c53d18297ab5cd5d2a70d146b
Gitweb: http://git.kernel.org/tip/0a456fc58fb8ef3c53d18297ab5cd5d2a70d146b
Author: Anton Blanchard <anton@...ba.org>
AuthorDate: Wed, 1 Jul 2009 13:07:01 +1000
Committer: Ingo Molnar <mingo@...e.hu>
CommitDate: Wed, 1 Jul 2009 10:20:28 +0200
powerpc/perf_counter: Enable alternate PR/HV bits for POWER7
POWER7 has the same PR/HV bit layout as POWER6, so set the flag.
Signed-off-by: Anton Blanchard <anton@...ba.org>
Acked-by: Paul Mackerras <paulus@...ba.org>
Cc: a.p.zijlstra@...llo.nl
Cc: benh@...nel.crashing.org
LKML-Reference: <20090701030701.GI3563@...ten>
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
arch/powerpc/kernel/power7-pmu.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/kernel/power7-pmu.c b/arch/powerpc/kernel/power7-pmu.c
index 5d755ef..5a9f5cb 100644
--- a/arch/powerpc/kernel/power7-pmu.c
+++ b/arch/powerpc/kernel/power7-pmu.c
@@ -358,6 +358,7 @@ static struct power_pmu power7_pmu = {
.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,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists