[PATCH v3 1/3] ARM: perf: Preparatory work for Scorpion PMU support

2015-02-27 Thread Stephen Boyd
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

[PATCH v3 1/3] ARM: perf: Preparatory work for Scorpion PMU support

2015-02-27 Thread Stephen Boyd
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