lkml.org 
[lkml]   [2014]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [char-misc 3/4] mei: revamp mei reset state machine
Date


> On Wed, Jan 08, 2014 at 08:19:23PM +0200, Tomas Winkler wrote:
> > 1. MEI_DEV_RESETTING device state spans only hardware reset flow
> > while starting dev state is saved into a local variable for further
> > reference, this let us to reduce big if statements in case we
> > are trying to avoid nested resets
> >
> > 2. During initializations if the reset ended in MEI_DEV_DISABLED device
> > state we bail out with -ENODEV
> >
> > 3. Remove redundant interrupts_enabled parameter as this
> > can be deduced from the starting dev_state
> >
> > 4. mei_reset propagates error code to the caller
> >
> > 5. Add mei_restart function to wrap the pci resume
> >
> > Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
> > Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
> > ---
> > drivers/misc/mei/hbm.c | 2 +-
> > drivers/misc/mei/hw-me.c | 10 +--
> > drivers/misc/mei/init.c | 210 ++++++++++++++++++++++++++-----------------
> > drivers/misc/mei/interrupt.c | 13 +--
> > drivers/misc/mei/mei_dev.h | 3 +-
> > drivers/misc/mei/pci-me.c | 10 +--
> > 6 files changed, 143 insertions(+), 105 deletions(-)
>
> This patch fails to apply to my tree:

Hmm, this is due to the blank line that was dropped (https://lkml.org/lkml/2013/7/29/668) , forgot to adjust it in my tree.

>
> Care to fix it up and resend?

On the way.



\
 
 \ /
  Last update: 2014-01-11 18:21    [W:0.064 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site