Re: [PATCH v2] platform/chrome: Expose resume result via debugfs

2019-06-27 Thread Evan Green
On Thu, Jun 27, 2019 at 9:42 AM Enric Balletbo i Serra wrote: > > Hi Evan, > > On 27/6/19 18:07, Evan Green wrote: > > On Wed, Jun 26, 2019 at 1:55 PM Enric Balletbo i Serra > > wrote: > >> > >> Hi Evan, > >> > >> Two few comments and I think I'm fine with it. > >> > >> On 25/6/19 15:05, Lee Jone

Re: [PATCH v2] platform/chrome: Expose resume result via debugfs

2019-06-27 Thread Enric Balletbo i Serra
Hi Evan, On 27/6/19 18:07, Evan Green wrote: > On Wed, Jun 26, 2019 at 1:55 PM Enric Balletbo i Serra > wrote: >> >> Hi Evan, >> >> Two few comments and I think I'm fine with it. >> >> On 25/6/19 15:05, Lee Jones wrote: >>> On Mon, 17 Jun 2019, Evan Green wrote: >>> For ECs that support it,

Re: [PATCH v2] platform/chrome: Expose resume result via debugfs

2019-06-27 Thread Evan Green
On Wed, Jun 26, 2019 at 1:55 PM Enric Balletbo i Serra wrote: > > Hi Evan, > > Two few comments and I think I'm fine with it. > > On 25/6/19 15:05, Lee Jones wrote: > > On Mon, 17 Jun 2019, Evan Green wrote: > > > >> For ECs that support it, the EC returns the number of slp_s0 > >> transitions and

Re: [PATCH v2] platform/chrome: Expose resume result via debugfs

2019-06-26 Thread Enric Balletbo i Serra
Hi Evan, Two few comments and I think I'm fine with it. On 25/6/19 15:05, Lee Jones wrote: > On Mon, 17 Jun 2019, Evan Green wrote: > >> For ECs that support it, the EC returns the number of slp_s0 >> transitions and whether or not there was a timeout in the resume >> response. Expose the last r

Re: [PATCH v2] platform/chrome: Expose resume result via debugfs

2019-06-25 Thread Lee Jones
On Mon, 17 Jun 2019, Evan Green wrote: > For ECs that support it, the EC returns the number of slp_s0 > transitions and whether or not there was a timeout in the resume > response. Expose the last resume result to usermode via debugfs so > that usermode can detect and report S0ix timeouts. > > Si

[PATCH v2] platform/chrome: Expose resume result via debugfs

2019-06-17 Thread Evan Green
For ECs that support it, the EC returns the number of slp_s0 transitions and whether or not there was a timeout in the resume response. Expose the last resume result to usermode via debugfs so that usermode can detect and report S0ix timeouts. Signed-off-by: Evan Green --- Changes in v2: - Move