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)
commitfd716fca10fc3dc0f18b8c16d4ecfa6d93f010d2
tree6ad81b087394d455303ee5d79825f7292f35d235
parente48b4dacbc94fcb59b86f70f01837ed75ea6d616
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: 4e88a8621301 ("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