All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Peres <martin.peres@linux.intel.com>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: intel-gfx-trybot@lists.freedesktop.org,
	Alexander Usyskin <alexander.usyskin@intel.com>,
	stable@vger.kernel.org
Subject: Re: [PATCH] mei: discard messages from not connected client during power down.
Date: Tue, 29 May 2018 13:16:46 +0300	[thread overview]
Message-ID: <c5ea96ae-e0b3-cff6-2d5e-81101c36f6e7@linux.intel.com> (raw)
In-Reply-To: <20180529090407.GA9530@kroah.com>

On 29/05/18 12:04, Greg KH wrote:
> On Tue, May 29, 2018 at 11:56:16AM +0300, Martin Peres wrote:
>> From: Alexander Usyskin <alexander.usyskin@intel.com>
>>
>> This fixes regression introduced by
>> commit 8d52af6795c0 ("mei: speed up the power down flow")
>>
>> In power down or suspend flow a message can still be received
>> from the FW because the clients fake disconnection.
>> In normal case we interpret messages w/o destination as corrupted
>> and link reset is performed in order to clean the channel,
>> but during power down link reset is already in progress resulting
>> in endless loop. To resolve the issue under power down flow we
>> discard messages silently.
>>
>> Cc: <stable@vger.kernel.org> 4.16+
>> Fixes: 8d52af6795c0 ("mei: speed up the power down flow")
>> Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=199541
>> Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
>> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
>> ---
>>  drivers/misc/mei/interrupt.c | 5 ++++-
>>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> Shouldn't this patch go through the char/misc maintainer?
> 
> confused,

Sorry for the confusion. I actually tried to avoid this situation by not
Cc:ing everyone, but git send-email did not prompt me to validate the
final email after setting some of the --no-*-cc. Next time, I'll add
--dry-run just to be sure...

Anyway, what I was trying to do is submit this patch to our CI system
since we were the ones reporting the bug. If successful, we will then
apply this patch as a temporary workaround (our core-for-CI branch) to
gather better statistics (reproducing rate is ~5% of our CI runs), and
allow it to land upstream. We'll then drop our workaround when upstream
with the fix gets backmerged in drm-tip.

Sorry again for the noise!

Martin

      reply	other threads:[~2018-05-29 10:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-29  8:56 [PATCH] mei: discard messages from not connected client during power down Martin Peres
2018-05-29  9:04 ` Greg KH
2018-05-29 10:16   ` Martin Peres [this message]

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=c5ea96ae-e0b3-cff6-2d5e-81101c36f6e7@linux.intel.com \
    --to=martin.peres@linux.intel.com \
    --cc=alexander.usyskin@intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=intel-gfx-trybot@lists.freedesktop.org \
    --cc=stable@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.