[PATCH] powerpc/perf: Remove PPMU_HAS_SSLOT flag for Power8

From: Madhavan Srinivasan
Date: Mon Jan 25 2016 - 03:34:15 EST


Commit: 7a7868326d77 introduced PPMU_HAS_SSLOT flag to
remove assumption of MMCRA[SLOT] with respect to
PPMU_ALT_SIPR flag. Commit 7a7868326d77's message also
specifies that Power8 does not support MMCRA[SLOT].
But still PPMU_HAS_SSLOT flag managed to get into
Power8 code. Patch to remove the same from Power8 flags.

Signed-off-by: Madhavan Srinivasan <maddy@xxxxxxxxxxxxxxxxxx>
---
arch/powerpc/perf/power8-pmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/perf/power8-pmu.c b/arch/powerpc/perf/power8-pmu.c
index 7d5e295255b7..9958ba8bf0d2 100644
--- a/arch/powerpc/perf/power8-pmu.c
+++ b/arch/powerpc/perf/power8-pmu.c
@@ -816,7 +816,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_ARCH_207S,
+ .flags = PPMU_HAS_SIER | PPMU_ARCH_207S,
.n_generic = ARRAY_SIZE(power8_generic_events),
.generic_events = power8_generic_events,
.cache_events = &power8_cache_events,
--
1.9.1