summaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2014-03-14 16:00:45 +1100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-03-24 09:48:33 +1100
commite9aaac1ac39f58a897e9b71e153317c8c216cb21 (patch)
tree6a9bfcbf00da50f00cd1afd2ccf17ef5115c7af9 /arch/sparc
parentad0a02b834777f2e107bfd2f3fa240cd7335cc59 (diff)
downloadlinux-e9aaac1ac39f58a897e9b71e153317c8c216cb21.tar.bz2
powerpc/perf: Fix handling of L3 events with bank == 1
Currently we reject events which have the L3 bank == 1, such as 0x000084918F, because the cache field is non-zero. However that is incorrect, because although the bank is non-zero, the value we would write into MMCRC is zero, and so we can count the event. So fix the check to ignore the bank selector when checking whether the cache selector is non-zero. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions