powerpc/perf: Add PPMU_ARCH_207S define
authorJoel Stanley <[email protected]>
Tue, 8 Jul 2014 06:38:21 +0000 (16:08 +0930)
committerBenjamin Herrenschmidt <[email protected]>
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: [email protected]
Signed-off-by: Joel Stanley <[email protected]>
Acked-by: Michael Ellerman <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
arch/powerpc/include/asm/perf_event_server.h
arch/powerpc/perf/core-book3s.c
arch/powerpc/perf/power8-pmu.c