From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailgw.kylinos.cn (mailgw.kylinos.cn [124.126.103.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 74FF6134A8; Wed, 16 Oct 2024 09:06:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=124.126.103.232 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729069608; cv=none; b=FlUedtPvN4ibNqlQJNM8Uz5959UPLFCh/sWYMzNYjELrWH3syXyADY7QC9tchUSo6Gpw/dBrCHxwSxhafHtZwGRoDfnAeEuSKQW9pS/1dMj8bJSjYvxRq6onbnu6+ATd/fQLRieBSQR4oJ+DW22iliSvxU4xJCxsuRQvHgA4AmA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729069608; c=relaxed/simple; bh=M21iJxKBohEOGhKfsJRGUH3NcVRWz3N3rmaMz9F2myU=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=eLHDTFJiJmYrcgYXFe+eD5O3TB20HsKkd8UND/Ip1Q0ZtLxJhhc9buCsas5qUUaE9i1kjH6hz2mhgw6IQvwSvnoprE0z5HmA11uj5JiCTZfac+l9A40HLGJfxSHHa09RBqDgMeO97Nu2JnCrjOcalvg0jN1NB2QVM/D7tvA9lU0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kylinos.cn; spf=pass smtp.mailfrom=kylinos.cn; arc=none smtp.client-ip=124.126.103.232 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kylinos.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kylinos.cn X-UUID: f0700d228b9d11efa216b1d71e6e1362-20241016 X-CTIC-Tags: HR_CC_ADR_NAME, HR_CC_COUNT, HR_CC_DOMAIN_COUNT, HR_CC_NAME, HR_CTE_QP HR_CTT_TXT, HR_DATE_H, HR_DATE_WKD, HR_DATE_ZONE, HR_FROM_NAME HR_SJ_DIGIT_LEN, HR_SJ_LANG, HR_SJ_LEN, HR_SJ_LETTER, HR_SJ_NOR_SYM HR_SJ_PHRASE, HR_SJ_PHRASE_LEN, HR_SJ_PRE_RE, HR_SJ_WS, HR_TO_COUNT HR_TO_DOMAIN_COUNT, HR_TO_NAME, IP_TRUSTED, SRC_TRUSTED, DN_TRUSTED SA_EXISTED, SN_EXISTED, SPF_NOPASS, DKIM_NOPASS, DMARC_NOPASS CIE_BAD, CIE_GOOD_SPF, GTI_FG_BS, GTI_RG_INFO, GTI_C_BU AMN_T1, AMN_GOOD, AMN_C_TI, AMN_C_BU X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.38,REQID:e04fd5a5-f0b3-46d0-99ce-3f7750ff3f28,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:-5,FILE:0,BULK:28,RULE:Release_Ham,ACTIO N:release,TS:23 X-CID-INFO: VERSION:1.1.38,REQID:e04fd5a5-f0b3-46d0-99ce-3f7750ff3f28,IP:0,URL :0,TC:0,Content:0,EDM:0,RT:0,SF:-5,FILE:0,BULK:28,RULE:Release_Ham,ACTION: release,TS:23 X-CID-META: VersionHash:82c5f88,CLOUDID:d528c2f09eaffe99a0633234e5393f0b,BulkI D:2409062205428B690IWE,BulkQuantity:62,Recheck:0,SF:64|66|38|17|19|102,TC: nil,Content:1|-5,EDM:-3,IP:nil,URL:1,File:nil,RT:nil,Bulk:40|20,QS:nil,BEC :nil,COL:0,OSI:0,OSA:0,AV:0,LES:1,SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR,TF_CID_SPAM_FAS,TF_CID_SPAM_FSD,TF_CID_SPAM_OBB, TF_CID_SPAM_FCD,TF_CID_SPAM_ULS X-UUID: f0700d228b9d11efa216b1d71e6e1362-20241016 X-User: duanchenghao@kylinos.cn Received: from [172.30.80.21] [(10.44.16.150)] by mailgw.kylinos.cn (envelope-from ) (Generic MTA with TLSv1.3 TLS_AES_256_GCM_SHA384 256/256) with ESMTP id 46819346; Wed, 16 Oct 2024 17:06:33 +0800 Message-ID: Subject: Re: [PATCH] USB: Fix the issue of task recovery failure caused by USB status when S4 wakes up From: duanchenghao To: "Gopal, Saranya" , Alan Stern Cc: "Rafael J. Wysocki" , Hongyu Xie , "gregkh@linuxfoundation.org" , "linux-kernel@vger.kernel.org" , "linux-pm@vger.kernel.org" , "linux-usb@vger.kernel.org" , "niko.mauno@vaisala.com" , "pavel@ucw.cz" , "stanley_chang@realtek.com" , "tj@kernel.org" , Hongyu Xie Date: Wed, 16 Oct 2024 17:06:24 +0800 In-Reply-To: References: <84a4f66a-5b0e-46a8-8746-be6cd7d49629@rowland.harvard.edu> <2c368013-8363-4a4e-bfee-2f0b14d01162@rowland.harvard.edu> <5f2f6b979e95e4c2bc33ea0277112939164f6024.camel@kylinos.cn> <0ad92e8fef2f07672aa8e97bc04f20657469ac6e.camel@kylinos.cn> <74848334-7cd7-4ce1-ad96-5dd29d70d3bb@rowland.harvard.edu> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4-0ubuntu2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Hi Saranya, =E5=9C=A8 2024-10-16=E6=98=9F=E6=9C=9F=E4=B8=89=E7=9A=84 08:57 +0000=EF=BC= =8CGopal, Saranya=E5=86=99=E9=81=93=EF=BC=9A > Hi Duan Chenghao, >=20 > > -----Original Message----- > > From: duanchenghao > > Sent: Monday, October 14, 2024 7:11 AM > > To: Alan Stern ; Gopal, Saranya > > > > Cc: Rafael J. Wysocki ; Hongyu Xie > > ; gregkh@linuxfoundation.org; linux- > > kernel@vger.kernel.org; linux-pm@vger.kernel.org; linux- > > usb@vger.kernel.org; niko.mauno@vaisala.com; pavel@ucw.cz; > > stanley_chang@realtek.com; tj@kernel.org; Hongyu Xie > > > > Subject: Re: [PATCH] USB: Fix the issue of task recovery failure > > caused > > by USB status when S4 wakes up > >=20 > > =E5=9C=A8 2024-10-12=E6=98=9F=E6=9C=9F=E5=85=AD=E7=9A=84 11:01 -0400=EF= =BC=8CAlan Stern=E5=86=99=E9=81=93=EF=BC=9A > > Hi Saranya, > >=20 > > > On Sat, Oct 12, 2024 at 05:51:41PM +0800, duanchenghao wrote: > > > >=20 > > > > Hi Alan, > > > >=20 > > > > The V3 patch has been sent. Please review it to check if it > > > > aligns > > > > with > > > > the solution you described. > > >=20 > > > Yes, that is what I meant. > > >=20 > > > Have you and all the other people at kylinos.cn tested the patch > > > to > > > make > > > sure that it fixes the problem? > > >=20 > > > Alan Stern > >=20 > > If you have time, you can arrange to test your issue using the V3 > > version. This way, we can jointly verify whether the problem has > > been > > resolved. > >=20 > My testing completed today. > I couldn't reproduce the issue when I ran 1500 S4 cycles with v3 > version of your patch. > The issue was anyway rare before with an occurrence rate of 20/1500 > cycles in our system. > So, please conclude after verifying from your side also. >=20 Thank you very much for your verification. I am currently conducting parallel testing on multiple machines, and the results should be available soon as well. Thanks, Duan Chenghao > Thanks, > Saranya >=20 > > Thanks > > Duan Chenghao > >=20 > >=20 >=20