summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/perf/power8-pmu.c
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2014-07-08 08:38:21 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-07-11 04:55:07 +0200
commit4d9690dd56b0d18f2af8a9d4a279cb205aae3345 (patch)
treeba7cea5414444ccf79b27d3c1975bdbe18f14c27 /arch/powerpc/perf/power8-pmu.c
parentpowerpc/kvm: Remove redundant save of SIER AND MMCR2 (diff)
downloadlinux-4d9690dd56b0d18f2af8a9d4a279cb205aae3345.tar.xz
linux-4d9690dd56b0d18f2af8a9d4a279cb205aae3345.zip
powerpc/perf: Add PPMU_ARCH_207S define
Instead of separate bits for every POWER8 PMU feature, have a single one for v2.07 of the architecture. This saves us adding a MMCR2 define for a future patch. Cc: stable@vger.kernel.org Signed-off-by: Joel Stanley <joel@jms.id.au> Acked-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to '')
-rw-r--r--arch/powerpc/perf/power8-pmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/perf/power8-pmu.c b/arch/powerpc/perf/power8-pmu.c
index fe2763b6e039..639cd9156585 100644
--- a/arch/powerpc/perf/power8-pmu.c
+++ b/arch/powerpc/perf/power8-pmu.c
@@ -792,7 +792,7 @@ static struct power_pmu power8_pmu = {
.get_constraint = power8_get_constraint,
.get_alternatives = power8_get_alternatives,
.disable_pmc = power8_disable_pmc,
- .flags = PPMU_HAS_SSLOT | PPMU_HAS_SIER | PPMU_BHRB | PPMU_EBB,
+ .flags = PPMU_HAS_SSLOT | PPMU_HAS_SIER | PPMU_ARCH_207S,
.n_generic = ARRAY_SIZE(power8_generic_events),
.generic_events = power8_generic_events,
.cache_events = &power8_cache_events,