Re: [PATCH 2/2] platform/x86: intel_pmc_core: Allow to dump debug registers on S0ix failure

2019-03-20 Thread Rajat Jain
; > > >Vishwanath > > > > >; Darren Hart ; > > > > >Andy > > > > >Shevchenko ; platform-driver-...@vger.kernel.org; > > > > >linux- > > > > >ker...@vger.kernel.org > > > > >Cc: Rajat Jain ; furq...@google

Re: [PATCH 2/2] platform/x86: intel_pmc_core: Allow to dump debug registers on S0ix failure

2019-03-20 Thread Rafael J. Wysocki
g; > > > >linux- > > > >ker...@vger.kernel.org > > > >Cc: Rajat Jain ; furq...@google.com; > > > >evgr...@google.com; rajatxj...@gmail.com > > > >Subject: [PATCH 2/2] platform/x86: intel_pmc_core: Allow to dump debug > > > >registers

[PATCH 2/2] platform/x86: intel_pmc_core: Allow to dump debug registers on S0ix failure

2019-03-19 Thread Rajat Jain
Add a module parameter which when enabled, will check on resume, if the last S0ix attempt was successful. If not, the driver would warn and provide helpful debug information (which gets latched during the failed suspend attempt) to debug the S0ix failure. This information is very useful to debug

Re: [PATCH 2/2] platform/x86: intel_pmc_core: Allow to dump debug registers on S0ix failure

2019-03-18 Thread Rajneesh Bhardwaj
> > >To: Bhardwaj, Rajneesh ; Somayaji, Vishwanath > > >; Darren Hart ; Andy > > >Shevchenko ; platform-driver-...@vger.kernel.org; > > >linux- > > >ker...@vger.kernel.org > > >Cc: Rajat Jain ; furq...@google.com; > > >evgr...@google.com; rajat

Re: [PATCH 2/2] platform/x86: intel_pmc_core: Allow to dump debug registers on S0ix failure

2019-03-18 Thread Rajat Jain
; platform-driver-...@vger.kernel.org; linux- > >ker...@vger.kernel.org > >Cc: Rajat Jain ; furq...@google.com; > >evgr...@google.com; rajatxj...@gmail.com > >Subject: [PATCH 2/2] platform/x86: intel_pmc_core: Allow to dump debug > >registers on S0ix failure > > > &

Re: [PATCH 2/2] platform/x86: intel_pmc_core: Allow to dump debug registers on S0ix failure

2019-03-18 Thread Rajat Jain
On Sat, Mar 16, 2019 at 1:43 AM Rajneesh Bhardwaj wrote: > > On Wed, Mar 13, 2019 at 03:21:24PM -0700, Rajat Jain wrote: > > Add a module parameter which when enabled, will check on resume, if the > > last S0ix attempt was successful. If not, the driver would provide > > helpful debug information

RE: [PATCH 2/2] platform/x86: intel_pmc_core: Allow to dump debug registers on S0ix failure

2019-03-18 Thread Somayaji, Vishwanath
com; >evgr...@google.com; rajatxj...@gmail.com >Subject: [PATCH 2/2] platform/x86: intel_pmc_core: Allow to dump debug >registers on S0ix failure > >Add a module parameter which when enabled, will check on resume, if the >last S0ix attempt was successful. If not, the driver would

Re: [PATCH 2/2] platform/x86: intel_pmc_core: Allow to dump debug registers on S0ix failure

2019-03-16 Thread Rajneesh Bhardwaj
On Wed, Mar 13, 2019 at 03:21:24PM -0700, Rajat Jain wrote: > Add a module parameter which when enabled, will check on resume, if the > last S0ix attempt was successful. If not, the driver would provide > helpful debug information (which gets latched during the failed suspend > attempt) to debug

[PATCH 2/2] platform/x86: intel_pmc_core: Allow to dump debug registers on S0ix failure

2019-03-13 Thread Rajat Jain
Add a module parameter which when enabled, will check on resume, if the last S0ix attempt was successful. If not, the driver would provide helpful debug information (which gets latched during the failed suspend attempt) to debug the S0ix failure. This information is very useful to debug S0ix