From: James Hogan Date: Fri, 4 Jul 2014 10:08:56 +0000 (+0100) Subject: MIPS: perf: Allow for more perf events X-Git-Tag: cleanup-for-v3.18~94^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67dca667516529b24f98dd9d1d4e832ff705054b;p=pandora-kernel.git MIPS: perf: Allow for more perf events In mipsxx_pmu_map_raw_event(), set event_id to base_id after the cpu type conditional code to allow that code to override the base_id to use more bits from the config and a higher bit for parity. This will allow cores with up to 512 events between all even/odd counters (an 8-bit event id) such as P5600 to use bit 8 for parity. Signed-off-by: James Hogan Signed-off-by: Markos Chandras Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/7243/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed