From: Greg KH <gregkh@linuxfoundation.org>
To: Tomas Winkler <tomas.winkler@intel.com>
Cc: arnd@arndb.de, linux-kernel@vger.kernel.org,
stable@vger.kernel.org,
Alexander Usyskin <alexander.usyskin@intel.com>
Subject: Re: [char-misc 3/4] mei: revamp mei reset state machine
Date: Wed, 8 Jan 2014 15:24:37 -0800 [thread overview]
Message-ID: <20140108232437.GB11300@kroah.com> (raw)
In-Reply-To: <1389205164-13553-4-git-send-email-tomas.winkler@intel.com>
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
>
> Cc: <stable@vger.kernel.org>
> 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(-)
Again, way too big for stable kernels, sorry.
greg k-h
next prev parent reply other threads:[~2014-01-08 23:24 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-08 18:19 [char-misc 0/4] mei: reset fix Tomas Winkler
2014-01-08 18:19 ` [char-misc 1/4] mei: do not run reset flow from the interrupt thread Tomas Winkler
2014-01-08 23:24 ` Greg KH
2014-01-11 22:46 ` Winkler, Tomas
2014-01-11 23:38 ` Greg KH
2014-01-12 9:00 ` Winkler, Tomas
2014-01-08 18:19 ` [char-misc 2/4] mei: use hbm idle state to prevent spurious resets Tomas Winkler
2014-01-08 18:19 ` [char-misc 3/4] mei: revamp mei reset state machine Tomas Winkler
2014-01-08 23:24 ` Greg KH [this message]
2014-01-08 23:26 ` Greg KH
2014-01-11 16:25 ` Winkler, Tomas
2014-01-08 18:19 ` [char-misc 4/4] mei: limit the number of consecutive resets Tomas Winkler
2014-01-08 23:27 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140108232437.GB11300@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=alexander.usyskin@intel.com \
--cc=arnd@arndb.de \
--cc=linux-kernel@vger.kernel.org \
--cc=stable@vger.kernel.org \
--cc=tomas.winkler@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).