Re: [PATCH v4 1/2] perf/x86/intel/rapl: support Skylake RAPL domains
From: Peter Zijlstra
Date: Wed Apr 20 2016 - 11:43:44 EST
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 client */
> + case 94: /* Skylake H/S */
> + rapl_cntr_mask = RAPL_IDX_SKL_CLN;
> + rapl_pmu_events_group.attrs = rapl_events_skl_attr;
> + break;
> case 87: /* Knights Landing */
> apply_quirk = true;
> rapl_cntr_mask = RAPL_IDX_KNL;
Please post this against tip/perf/core, all this code got munged in
patch:
4b6e2571bf00 ("x86/perf/intel/rapl: Make the Intel RAPL PMU driver modular")
Also; what about 85 (skl-server)?