Re: [PATCH] platform/x86: intel_pmc_core: Report slp_s0 residency range

2019-04-06 Thread Andy Shevchenko
On Fri, Apr 5, 2019 at 8:52 PM Evan Green wrote: > On Fri, Apr 5, 2019 at 12:28 AM Rajneesh Bhardwaj > wrote: > > On Mon, Apr 01, 2019 at 11:05:04AM -0700, Evan Green wrote: > > This register is a 32 bit register untill ICL generation and a recent patch > > from Rajat fixed the overflow https://

Re: [PATCH] platform/x86: intel_pmc_core: Report slp_s0 residency range

2019-04-05 Thread Evan Green
On Fri, Apr 5, 2019 at 12:28 AM Rajneesh Bhardwaj wrote: > > On Mon, Apr 01, 2019 at 11:05:04AM -0700, Evan Green wrote: > > The PMC driver performs a 32-bit read on the sleep s0 residency counter, > > followed by a hard-coded multiplication to convert into microseconds. > > The maximum value this

Re: [PATCH] platform/x86: intel_pmc_core: Report slp_s0 residency range

2019-04-05 Thread Rajneesh Bhardwaj
On Mon, Apr 01, 2019 at 11:05:04AM -0700, Evan Green wrote: > The PMC driver performs a 32-bit read on the sleep s0 residency counter, > followed by a hard-coded multiplication to convert into microseconds. > The maximum value this counter could have would be 0x*0x64 > microseconds, which b

[PATCH] platform/x86: intel_pmc_core: Report slp_s0 residency range

2019-04-01 Thread Evan Green
The PMC driver performs a 32-bit read on the sleep s0 residency counter, followed by a hard-coded multiplication to convert into microseconds. The maximum value this counter could have would be 0x*0x64 microseconds, which by my calculations is about 4.9 days. This is well within a reasonabl