]> 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)
commitff89fc333eba2c14a1c94a737a7360e4e1c92a93
tree6ad81b087394d455303ee5d79825f7292f35d235
parentb2a8a3a2b9a50a5b3664b82c1cec2569b2f1c3ad
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: 267fb17fc57a ("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