]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: perf: Fix I6400 event numbers
authorJames Hogan <james.hogan@imgtec.com>
Mon, 16 May 2016 18:32:35 +0000 (19:32 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 17 May 2016 09:05:07 +0000 (11:05 +0200)
commit4e8b10c295c96cb1938ac7f46fabfcf524f72234
tree6ad81b087394d455303ee5d79825f7292f35d235
parent01fbd41d216b5e34e87bc4639f4ab010c71f1eb5
MIPS: perf: Fix I6400 event numbers

Fix perf hardware performance counter event numbers for I6400. This core
does not follow the performance event numbering scheme of previous MIPS
cores. All performance counters (both odd and even) are capable of
counting any of the available events.

Fixes: 5eeba49efe3e ("MIPS: Add cases for CPU_I6400")
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/13259/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/perf_event_mipsxx.c