Re: [PATCH v4 1/2] perf/x86/intel/rapl: support Skylake RAPL domains

2016-04-20 Thread Srinivas Pandruvada
On Wed, 2016-04-20 at 17:43 +0200, Peter Zijlstra wrote: > On Sun, Apr 17, 2016 at 03:03:00PM -0700, Srinivas Pandruvada wrote: > > > > @@ -729,6 +771,11 @@ static int __init rapl_pmu_init(void) > >   rapl_cntr_mask = RAPL_IDX_SRV; > >   rapl_pmu_events_group.attrs = > > rapl_e

Re: [PATCH v4 1/2] perf/x86/intel/rapl: support Skylake RAPL domains

2016-04-20 Thread Peter Zijlstra
On Sun, Apr 17, 2016 at 03:03:00PM -0700, Srinivas Pandruvada wrote: > @@ -729,6 +771,11 @@ static int __init rapl_pmu_init(void) > rapl_cntr_mask = RAPL_IDX_SRV; > rapl_pmu_events_group.attrs = rapl_events_srv_attr; > break; > + case 78: /* Skylake cli

[PATCH v4 1/2] perf/x86/intel/rapl: support Skylake RAPL domains

2016-04-17 Thread Srinivas Pandruvada
Added Skylake client support for RAPL domains. In addition to RAPL domains in Broadwell clients, it has support for platform domain (aka PSys). The PSys domain controls entire SoC instead of just CPU package. Unlike package domain, PSys support requires more than just processor level implementation