]> git.karo-electronics.de Git - linux-beck.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)
commit65bab45113a2c5e9f13bc8cc3f6fea92f467d417
tree975576383707d9f0a7db6fb05554a168db862584
parent06e5801b8cb3fc057d88cb4dc03c0b64b2744cda
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