Re: [PATCH v2 2/2] powerpc/perf: Add generic compat mode pmu driver

2019-04-29 Thread Madhavan Srinivasan
On 29/04/19 11:12 AM, Christophe Leroy wrote: Le 29/04/2019 à 04:52, Madhavan Srinivasan a écrit : Most of the power processor generation performance monitoring unit (PMU) driver code is bundled in the kernel and one of those is enabled/registered based on the oprofile_cpu_type check at the

Re: [PATCH v2 2/2] powerpc/perf: Add generic compat mode pmu driver

2019-04-28 Thread Christophe Leroy
Le 29/04/2019 à 04:52, Madhavan Srinivasan a écrit : Most of the power processor generation performance monitoring unit (PMU) driver code is bundled in the kernel and one of those is enabled/registered based on the oprofile_cpu_type check at the boot. But things get little tricky incase of "c

[PATCH v2 2/2] powerpc/perf: Add generic compat mode pmu driver

2019-04-28 Thread Madhavan Srinivasan
Most of the power processor generation performance monitoring unit (PMU) driver code is bundled in the kernel and one of those is enabled/registered based on the oprofile_cpu_type check at the boot. But things get little tricky incase of "compat" mode boot. IBM POWER System Server based processors