]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: perf: Add hardware events for P5600
authorJames Hogan <james.hogan@imgtec.com>
Fri, 4 Jul 2014 10:08:57 +0000 (11:08 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 1 Aug 2014 22:06:38 +0000 (00:06 +0200)
commitfe5a8c5c15251b819b3e67433eb380ddee300b31
treed9de030d525e33a34d85ae3ab70e5a45a683b89f
parent004e7ca1468dace4782d48cc6b683ce329858fde
MIPS: perf: Add hardware events for P5600

Add cases in perf_event_mipsxx.c for CPU_P5600. All the event numbers
listed for proAptiv also apply to P5600, so we use mipsxxcore_event_map2
and mipsxxcore_cache_map2 too, but the P5600 has 8-bit event numbers so
bit 8 (256) of the user ABI config is used for the parity bit (to
specify odd/even counter events).

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7242/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/perf_event_mipsxx.c