From: James Hogan Date: Fri, 4 Jul 2014 10:08:57 +0000 (+0100) Subject: MIPS: perf: Add hardware events for P5600 X-Git-Tag: cleanup-for-v3.18~94^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=560b461be17039046ae241426f4adf9bd997abb4;p=pandora-kernel.git 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 Signed-off-by: Markos Chandras Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/7242/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed