MIPS: perf: Add perf functionality for BMIPS5000
authorAl Cooper <alcooperx@gmail.com>
Fri, 13 Jul 2012 20:44:54 +0000 (16:44 -0400)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 11 Oct 2012 09:04:34 +0000 (11:04 +0200)
commita7911a8fd16201a28110c99ecb3deed8aebb4fdc
treed097d7a28b525b207125a54d930e7d7bcc9916b6
parent399aaa2568ad90e229d73da8e95ae460d322a4f3
MIPS: perf: Add perf functionality for BMIPS5000

Add hardware performance counter support to kernel "perf" code for
BMIPS5000. The BMIPS5000 performance counters are similar to MIPS
MTI cores, so the changes were mostly made in perf_event_mipsxx.c
which is typically for MTI cores.

Signed-off-by: Al Cooper <alcooperx@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/4109/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/perf_event_mipsxx.c