summaryrefslogtreecommitdiff
path: root/arch/powerpc/perf/power7-pmu.c
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2013-06-28 12:15:10 +0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-07-01 05:49:50 +0400
commitd8bec4c9cd58f6d3679e09b7293851fb92ad7557 (patch)
treeb8fd60813068d7ecc0df32b5bb6e4db680843427 /arch/powerpc/perf/power7-pmu.c
parentb14b6260efeee6eb8942c6e6420e31281892acb6 (diff)
downloadlinux-d8bec4c9cd58f6d3679e09b7293851fb92ad7557.tar.xz
powerpc/perf: Check that events only include valid bits on Power8
A mistake we have made in the past is that we pull out the fields we need from the event code, but don't check that there are no unknown bits set. This means that we can't ever assign meaning to those unknown bits in future. Although we have once again failed to do this at release, it is still early days for Power8 so I think we can still slip this in and get away with it. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> CC: <stable@vger.kernel.org> [v3.10] Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/perf/power7-pmu.c')
0 files changed, 0 insertions, 0 deletions