powerpc/perf_counter: POWER7 has alternate PR/HV bits
PATCH 1/1 powerpc/perf_counter: POWER7 has alternate PR/HV bits
POWER7 has the same PR/HV bit layout as POWER6, so set the flag.
Signed-off-by Anton Blanchard <[email protected]>
---
arch/powerpc/kernel/power7-pmu.c +1 -0
@@ -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,
Quoted 3 lines · Anton Blanchard
POWER7 has the same PR/HV bit layout as POWER6, so set the flag.
Signed-off-by Anton Blanchard <[email protected]>
Acked-by Paul Mackerras <[email protected]>
[tip:perfcounters/urgent] powerpc/perf_counter: Enable alternate PR/HV bits for POWER7
In reply to Anton BlanchardCommit-ID: 0a456fc58fb8ef3c53d18297ab5cd5d2a70d146b Gitweb: http://git.kernel.org/tip/0a456fc58fb8ef3c53d18297ab5cd5d2a70d146b Author: Anton Blanchard <[email protected]> AuthorDate: Wed, 1 Jul 2009 13:07:01 +1000 Committer: Ingo Molnar <[email protected]> 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 <[email protected]>
Acked-by Paul Mackerras <[email protected]>
LKML-Reference: <20090701030701.GI3563@kryten>
Signed-off-by Ingo Molnar <[email protected]>
--- arch/powerpc/kernel/power7-pmu.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/powerpc/kernel/power7-pmu.c +1 -0
@@ -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,