Re: [PATCH 3/3] perf/x86/rapl: Enable Baytrail/Braswell RAPL support

2016-09-14 Thread Thomas Gleixner
On Tue, 13 Sep 2016, Pan, Harry wrote: > This things is because of the Baytrail/Braswell quirk breaks original > assumption of perf RAPL polling timer rate calculation regarding of > counter overflow case based on 200W; ESU are the 'Energy Status Units' bits in the MSR_RAPL_POWER_UNIT msr. ESU =

Re: [PATCH 3/3] perf/x86/rapl: Enable Baytrail/Braswell RAPL support

2016-09-13 Thread Pan, Harry
On Tue, 2016-09-13 at 15:41 +0200, Thomas Gleixner wrote: > On Sun, 11 Sep 2016, Harry Pan wrote: > > This patch also enables multiple quirks. > > This patch adds a single quirk for Baytrail. > > Please stop sending out patches 5 seconds after a review. Take your time Definitely I take this seri

Re: [PATCH 3/3] perf/x86/rapl: Enable Baytrail/Braswell RAPL support

2016-09-13 Thread Thomas Gleixner
On Sun, 11 Sep 2016, Harry Pan wrote: > This patch also enables multiple quirks. This patch adds a single quirk for Baytrail. Please stop sending out patches 5 seconds after a review. Take your time and fixup stuff proper. > +static void rapl_byt_quirk(void) > +{ > + int i; > + > + /* >

[PATCH 3/3] perf/x86/rapl: Enable Baytrail/Braswell RAPL support

2016-09-10 Thread Harry Pan
This patch enables RAPL counters (energy consumption counters) support for Intel Baytrail and Braswell processors (Model 55 and 76): The Silvermont/Airmont microarchitecture actually uses fixed energy status unit (ESU) in smallest unit of microjoule, this patch adds quirk for these Atom processors

[PATCH 3/3] perf/x86/rapl: Enable Baytrail/Braswell RAPL support

2016-09-10 Thread Harry Pan
This patch enables RAPL counters (energy consumption counters) support for Intel Baytrail and Braswell processors (Model 55 and 76): The Silvermont/Airmont microarchitecture actually uses fixed energy status unit (ESU) in smallest unit of microjoule, this patch adds quirk for these Atom processors