MIPS: perf: Remove incorrect odd/even counter handling for I6400
authorMarcin Nowakowski <marcin.nowakowski@imgtec.com>
Wed, 19 Apr 2017 12:07:43 +0000 (14:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 May 2020 08:28:03 +0000 (10:28 +0200)
commit882a1e6b4d3d24cc0eda0cbc33498768546e6686
tree48c4aeb69e1f5601d317d8bdf47b05aee3e1f09e
parentc8cd218535ae1fda40bfcccaa841438c49ee30ed
MIPS: perf: Remove incorrect odd/even counter handling for I6400

commit f7a31b5e7874f77464a4eae0a8ba84b9ae0b3a54 upstream.

All performance counters on I6400 (odd and even) are capable of counting
any of the available events, so drop current logic of using the extra
bit to determine which counter to use.

Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Fixes: 4e88a8621301 ("MIPS: Add cases for CPU_I6400")
Fixes: fd716fca10fc ("MIPS: perf: Fix I6400 event numbers")
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/15991/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/kernel/perf_event_mipsxx.c