]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: perf: Preparatory work for Scorpion PMU support
authorStephen Boyd <sboyd@codeaurora.org>
Sat, 28 Feb 2015 00:11:33 +0000 (00:11 +0000)
committerWill Deacon <will.deacon@arm.com>
Tue, 17 Mar 2015 18:34:01 +0000 (18:34 +0000)
commit9ffbf0acd96c91f6e4beecac7e154bde4d9ca499
tree975576383707d9f0a7db6fb05554a168db862584
parent4e813428b23f3210ec3696d8097c405444662f99
ARM: perf: Preparatory work for Scorpion PMU support

Do some things to make the Krait PMU support code generic enough
to be used by the Scorpion PMU support code.

 * Rename the venum register functions to be venum instead of krait
   specific because the same registers exist on Scorpion

 * Add some macros to decode our Krait specific event encoding that's
   the same on Scorpion (modulo an extra region).

 * Drop 'krait' from krait_clear_pmresrn_group() so it can be used
   by Scorpion code

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/perf_event_v7.c