linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Yinbo Zhu <zhuyinbo@loongson.cn>
Cc: Mathias Nyman <mathias.nyman@intel.com>,
	linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
	Jianmin Lv <lvjianmin@loongson.cn>,
	wanghongliang@loongson.cn, Liu Peibao <liupeibao@loongson.cn>,
	loongson-kernel@lists.loongnix.cn
Subject: Re: [PATCH] usb: xhci-plat: fix usb disconnect issue after s4
Date: Wed, 2 Aug 2023 12:06:44 +0200	[thread overview]
Message-ID: <2023080222-sizable-gauntlet-e658@gregkh> (raw)
In-Reply-To: <4ee866a1-39a4-3b88-20f6-108e605ab00e@loongson.cn>

On Wed, Aug 02, 2023 at 05:58:17PM +0800, Yinbo Zhu wrote:
> 
> 
> 在 2023/8/2 下午5:39, Greg Kroah-Hartman 写道:
> > On Wed, Aug 02, 2023 at 05:06:42PM +0800, Yinbo Zhu wrote:
> > > The xhci retaining bogus hardware states cause usb disconnect devices
> > > connected before hibernation(s4) and refer to the commit '547d55fa83
> > > ("usb: ohci-platform: fix usb disconnect issue after s4")' which set
> > > flag "hibernated" as true when resume-from-hibernation and that the
> > > drivers will reset the hardware to get rid of any existing state and
> > > make sure resume from hibernation re-enumerates everything for xhci.
> > > 
> > > Signed-off-by: Yinbo Zhu <zhuyinbo@loongson.cn>
> > > ---
> > >   drivers/usb/host/xhci-plat.c | 21 ++++++++++++++++++---
> > >   1 file changed, 18 insertions(+), 3 deletions(-)
> > 
> > What commit id does this fix?
> > 
> > Should it go to stable kernels?
> 
> 
> Sorry, perhaps it has been rebased, that tree was mainline tree next
> branch, you can find this commit id "f3d478858bec4"

Please fix this up and add a proper Fixes: line and if needed a cc:
stable line.

thanks,

greg k-h

  reply	other threads:[~2023-08-02 10:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-02  9:06 [PATCH] usb: xhci-plat: fix usb disconnect issue after s4 Yinbo Zhu
2023-08-02  9:39 ` Greg Kroah-Hartman
2023-08-02  9:58   ` Yinbo Zhu
2023-08-02 10:06     ` Greg Kroah-Hartman [this message]
2023-08-03  2:19       ` Yinbo Zhu
2023-08-03  2:54       ` Yinbo Zhu
2023-08-08 23:41 ` kernel test robot
2023-08-09  9:28   ` Yinbo Zhu

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=2023080222-sizable-gauntlet-e658@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=liupeibao@loongson.cn \
    --cc=loongson-kernel@lists.loongnix.cn \
    --cc=lvjianmin@loongson.cn \
    --cc=mathias.nyman@intel.com \
    --cc=wanghongliang@loongson.cn \
    --cc=zhuyinbo@loongson.cn \
    /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).