Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp3224038pxb; Sun, 3 Oct 2021 19:19:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvGSTm6THwHnexl9B6AxiMKt+BiPo4FHNVKl5JyjQpGwdhQe25L4pzXqBY81Fk/p/rTySQ X-Received: by 2002:a17:906:270a:: with SMTP id z10mr14151084ejc.464.1633313982571; Sun, 03 Oct 2021 19:19:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633313982; cv=none; d=google.com; s=arc-20160816; b=tmrKrHj44Zvwza0tNW5mbTr4h6CGbgQXM7uN1ezM/NQW2ybL2Ak8sl59hSV7Ymlxu1 fI+oC4wOweECUQKnrKzSVF4ladB/rwd+n/9QofRIz5RngpYcEqqA+BXwO7g9TvawLBBd 6kVuVnnmXdvoWWcrgldrZ/Qgd3U1BpRIylDUloHNDQZ3wISSkPhcXbIzknDi2TopIiG0 XfoyMj467MMlyAxc3R4LAlmKOihRvDvKVTma4KPobhM9ChEmCOhEln3EpJK7v1uPQULz mSFAPmZob8i5QV5JfVaDQ+ksV6FngrhlMBz6JTjnM9EuwgQgBnlAi0wuyGakh/ZdZ5oQ bWtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:authenticated-by; bh=mCkwvAfCsX40M3BMBsykMzvyjyQAMjuMyfeE2/73bqM=; b=NsHSc2Z78IkdETWygExR5f4/OTOhxQZyXncbpktPJHWupsh/6MYZMBN972vycDInUm etROti34m6ZID62um8+C+Q0ZBe3xOVLo5lME0WjwL/4JoePdL0LZIvFKffh/L5KkTCVB Vb2FbIf5FMhBU2m2fayQGTA68H8uwH5sS0EF0nlRX2M2sPw2e1wsOQz/rV5s1f3Ks4iT PmMi96PtTE41IOFdZX1JD5YMCADmpMkhrL1fPFLvY9D+/vTln71Xb8/5YgjiU7wj3r2c 7Yk7s9JEYWrc5rCufWt1fX+6aWGhO7vedPs7B3vaiR6V0rvaX24qdSzDpf7cqIG9RbG6 xMMw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jy4si16429954ejc.149.2021.10.03.19.19.18; Sun, 03 Oct 2021 19:19:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232251AbhJDCSK convert rfc822-to-8bit (ORCPT + 99 others); Sun, 3 Oct 2021 22:18:10 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:53333 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232113AbhJDCSJ (ORCPT ); Sun, 3 Oct 2021 22:18:09 -0400 Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.73 with qID 1942FkVV2010014, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36503.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.71/5.88) with ESMTPS id 1942FkVV2010014 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Mon, 4 Oct 2021 10:15:46 +0800 Received: from RTEXMBS01.realtek.com.tw (172.21.6.94) by RTEXH36503.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.14; Mon, 4 Oct 2021 10:15:45 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS01.realtek.com.tw (172.21.6.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 4 Oct 2021 10:15:44 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::cdd5:82a3:e854:7098]) by RTEXMBS04.realtek.com.tw ([fe80::cdd5:82a3:e854:7098%5]) with mapi id 15.01.2106.013; Mon, 4 Oct 2021 10:15:44 +0800 From: Hayes Wang To: Alan Stern CC: Oliver Neukum , Jason-ch Chen , "matthias.bgg@gmail.com" , "linux-usb@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-mediatek@lists.infradead.org" , "Project_Global_Chrome_Upstream_Group@mediatek.com" , "hsinyi@google.com" , nic_swsd Subject: RE: [PATCH] r8152: stop submitting rx for -EPROTO Thread-Topic: [PATCH] r8152: stop submitting rx for -EPROTO Thread-Index: AQHXtPF6mRt31KuIqUSf0ySwz113xKu6nqYQ//+g0oCAAYwXgIAAYT6AgAFAzFCAAA04sIAARXcAgARaYuA= Date: Mon, 4 Oct 2021 02:15:44 +0000 Message-ID: <21b97638ece04b4fbd81d29143b72137@realtek.com> References: <20210929051812.3107-1-jason-ch.chen@mediatek.com> <4c2ad5e4a9747c59a55d92a8fa0c95df5821188f.camel@mediatek.com> <274ec862-86cf-9d83-7ea7-5786e30ca4a7@suse.com> <20210930151819.GC464826@rowland.harvard.edu> <3694347f29ed431e9f8f2c065b8df0a7@realtek.com> <5f56b21575dd4f64a3b46aac21151667@realtek.com> <20211001152226.GA505557@rowland.harvard.edu> In-Reply-To: <20211001152226.GA505557@rowland.harvard.edu> Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.177.203] x-kse-serverinfo: RTEXMBS01.realtek.com.tw, 9 x-kse-attachmentfiltering-interceptor-info: no applicable attachment filtering rules found x-kse-antivirus-interceptor-info: scan successful x-kse-antivirus-info: =?us-ascii?Q?Clean,_bases:_2021/10/3_=3F=3F_11:24:00?= x-kse-bulkmessagesfiltering-scan-result: protection disabled Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-KSE-ServerInfo: RTEXH36503.realtek.com.tw, 9 X-KSE-Attachment-Filter-Triggered-Rules: Clean X-KSE-Attachment-Filter-Triggered-Filters: Clean X-KSE-BulkMessagesFiltering-Scan-Result: protection disabled X-KSE-AntiSpam-Outbound-Interceptor-Info: scan successful X-KSE-AntiSpam-Version: 5.9.20, Database issued on: 10/04/2021 01:57:09 X-KSE-AntiSpam-Status: KAS_STATUS_NOT_DETECTED X-KSE-AntiSpam-Method: none X-KSE-AntiSpam-Rate: 0 X-KSE-AntiSpam-Info: Lua profiles 166473 [Oct 04 2021] X-KSE-AntiSpam-Info: Version: 5.9.20.0 X-KSE-AntiSpam-Info: Envelope from: hayeswang@realtek.com X-KSE-AntiSpam-Info: LuaCore: 463 463 5854868460de3f0d8e8c0a4df98aeb05fb764a09 X-KSE-AntiSpam-Info: {Tracking_from_domain_doesnt_match_to} X-KSE-AntiSpam-Info: realtek.com:7.1.1;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;127.0.0.199:7.1.2 X-KSE-AntiSpam-Info: Rate: 0 X-KSE-AntiSpam-Info: Status: not_detected X-KSE-AntiSpam-Info: Method: none X-KSE-AntiSpam-Info: Auth:dkim=none X-KSE-Antiphishing-Info: Clean X-KSE-Antiphishing-ScanningType: Heuristic X-KSE-Antiphishing-Method: None X-KSE-Antiphishing-Bases: 10/04/2021 01:59:00 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Alan Stern > Sent: Friday, October 1, 2021 11:22 PM [...] > That's right. If the device and cable are working properly, this > should never happen. Or only extremely rarely (for example, caused > by external electromagnetic interference). > > > It seems to be reasonable why resubmission sometimes works. > > Did you ever track down the reason why you got the -EPROTO error > while debugging that other issue? Can you reproduce it? I didn't follow it, because it was not relative to the driver. Besides, we didn't focus on -EPROTO at that time, because it was not the major issue. And the -EPROTO occurred rarely indeed during a lot of transmission. The hw engineer confirmed that the device completed the transfer normally, but the driver still got an error from the host. I don't sure if there was a USB HUB between the device and the USB host controller. That are all what I know. Best Regards, Hayes