From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C53EBC04A94 for ; Wed, 2 Aug 2023 10:06:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231479AbjHBKGv (ORCPT ); Wed, 2 Aug 2023 06:06:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230346AbjHBKGt (ORCPT ); Wed, 2 Aug 2023 06:06:49 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61005E61; Wed, 2 Aug 2023 03:06:48 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id F20AF618CF; Wed, 2 Aug 2023 10:06:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12E0AC433C8; Wed, 2 Aug 2023 10:06:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1690970807; bh=bFqc2eR1+yp29QWn5KEkrGDNdXR05R1dBVeIle/nl2I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nEIv4fogDyQ6kzhLlTFZ1eQmDQfq1SwHEXDgjwdZR3GORFy+b4stcZbLu6nA11xl3 Q1lDjZAtixUav+Oif53yAJkttxhZcY/2gYj9xol/8+CpE2g2GNRsFN6fRNVnfiaJMV s34DoOCjSpmjsmR+olEMqzEvJPMci6AnK4tge5DE= Date: Wed, 2 Aug 2023 12:06:44 +0200 From: Greg Kroah-Hartman To: Yinbo Zhu Cc: Mathias Nyman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Jianmin Lv , wanghongliang@loongson.cn, Liu Peibao , loongson-kernel@lists.loongnix.cn Subject: Re: [PATCH] usb: xhci-plat: fix usb disconnect issue after s4 Message-ID: <2023080222-sizable-gauntlet-e658@gregkh> References: <20230802090642.1642-1-zhuyinbo@loongson.cn> <2023080243-matted-abnormal-0fb0@gregkh> <4ee866a1-39a4-3b88-20f6-108e605ab00e@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4ee866a1-39a4-3b88-20f6-108e605ab00e@loongson.cn> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > > --- > > > 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