[PATCH v10 04/10] powerpc/perf: Add generic IMC pmu group and event functions

2017-06-08 Thread Madhavan Srinivasan
From: Anju T Sudhakar Device tree IMC driver code parses the IMC units and their events. It passes the information to IMC pmu code which is placed in powerpc/perf as "imc-pmu.c". Patch adds a set of generic imc pmu related event functions to be used by each imc pmu

[PATCH v10 04/10] powerpc/perf: Add generic IMC pmu group and event functions

2017-06-08 Thread Madhavan Srinivasan
From: Anju T Sudhakar Device tree IMC driver code parses the IMC units and their events. It passes the information to IMC pmu code which is placed in powerpc/perf as "imc-pmu.c". Patch adds a set of generic imc pmu related event functions to be used by each imc pmu unit. Add code to setup