powerpc/perf: Add PPMU_ARCH_207S define
authorJoel Stanley <joel@jms.id.au>
Tue, 8 Jul 2014 06:38:21 +0000 (16:08 +0930)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 11 Jul 2014 02:55:07 +0000 (12:55 +1000)
commit4d9690dd56b0d18f2af8a9d4a279cb205aae3345
treeba7cea5414444ccf79b27d3c1975bdbe18f14c27
parentf73128f4f680e8be68cda831f2710214559583cb
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>
arch/powerpc/include/asm/perf_event_server.h
arch/powerpc/perf/core-book3s.c
arch/powerpc/perf/power8-pmu.c