Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp19769ybl; Tue, 10 Dec 2019 16:46:49 -0800 (PST) X-Google-Smtp-Source: APXvYqz7Hm+EkhvrW3To4qWKz5lPAq5TGnu+LIIX0Dv91Izzjd6QPMJk4+SAMrcRGeCquuYQ6Rcl X-Received: by 2002:a9d:2028:: with SMTP id n37mr460529ota.127.1576025209081; Tue, 10 Dec 2019 16:46:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576025209; cv=none; d=google.com; s=arc-20160816; b=PZc5T6NNhyOI1P09hifG2g0hg5YlUc3RhmSj+0KyYHEzNfRddkJsQlN4NiLlrPLCLP l8iod5H+Pm/nvDWi1IeSq7IUN+J2eZPSTWoj3fIFFNyx0f/yzJs3m3E7QpKY0g8OpyJ0 j+1AvN7lIfuJWxYEh2L5DbGvpqx0WUjTdx/oRWFM5Dx3H+MISs9R7dr1Lpx/ksuShtA3 0uZhu0j1PoTPmRSYN5/MJBKC0228+iaV5yU7OeV/oL/Zgoic/77RTXumzS/sPfYEQJa6 uzvVHlFPEChd4XCtVz0zSSdLKW92P08wUOT93baC4+Qd1Yyre3x34zBx1wAUQNLL3VyV VHpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=dNo8gQB2Lns6lssefACZcuCEFfgXMn9otoHM3Ump6ZU=; b=JXiqzD9W++NMjnHtfNrzTJySXmnRqS+lm+n/tcX4QX8eg43SEfeXmK0nRO8W1nPXrJ AlVYW8tP4+oBPyxnFULJVim10MBQk/Glu+fgUwAFEn9PROH40XOphckyyAOTSJtxJ/Y/ 8og0LskHnWJdBbMCY1A7P7Y4Rjg43M+RQQt4+e4Hy7YF1FE8ErfLeeh8FhqEDwqzV7r8 KrQhv30PzpHkuNxWDxaLR2XHevFdL4Xcf414UNfwBrjAVI0s+N0DQeARUvfVACLgTbDq pU6Ig3Er3+jZQheqFskO8ZcGF2IvXkmBbXKJ5bonTSTfCp+OT3h0NM6y485E5JR5rru6 K/dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MSQi9449; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a10si152102oia.232.2019.12.10.16.46.36; Tue, 10 Dec 2019 16:46:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MSQi9449; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726691AbfLKAqH (ORCPT + 99 others); Tue, 10 Dec 2019 19:46:07 -0500 Received: from mail-ot1-f65.google.com ([209.85.210.65]:44229 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725999AbfLKAqH (ORCPT ); Tue, 10 Dec 2019 19:46:07 -0500 Received: by mail-ot1-f65.google.com with SMTP id x3so17245625oto.11; Tue, 10 Dec 2019 16:46:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=dNo8gQB2Lns6lssefACZcuCEFfgXMn9otoHM3Ump6ZU=; b=MSQi9449EbBVtE8SBD/GOeFr9lc1VEeadwIPv0OUHQIqzCemeFd7M/BqaTHJH2HbFC VyC2WdGAJ0Oy7BMvm6c+VXsJmVA9T5O44nKl/i7bv6PirSOnQbfzSRo6tWVFKd5w1Tzp EM+9Ny2MRBFb5NHvtnHw5Dye3NOTdNk7MqGkiIxyjoSL4Fv19pYxLtPnlF66mlPaY0BU ccadh1t27sktMAwSiei7ID54Jtbum+31GKoG2tV0xt3XzxvvBIYyHzo1sRSy99F1emGF BpQeZnZqYUN6v+/AO5QZoW5U5JqSERSUYzkuCLqTi/DD2JIqIxn8V8guYI5nTfJyhAcF Toaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=dNo8gQB2Lns6lssefACZcuCEFfgXMn9otoHM3Ump6ZU=; b=YqcGZO+Ni9INFPO5Azmc4aJmV13XVhoWEiC/RLvx8iXp/UOL+6IZl20XkuvlbrEpeg 79jnf94A4odAphi3f064Scrw3z3YsUEIdGjeGb9ucQfjcDPsQnwayJdY4+h35GdBNdGL S6gbCiNMmeVQuhTEfjLfF03DS9MioAggST7JUy9QLW2O1e36bHDFVxLGNJF3N7VA7OpE mqzM/RBSIj+MPgk/ov9CGw5GJR9STCKmVo/UUT86JjEx4kgmDY7NKcT+1PzOGNngmtYT gpLvJZCnENsg0mPEs0xWWh1Bv/D8u6uW8fYX7m/3LDSGSsFfA7OCGmW+M11Nz3iUz0cF 9fkA== X-Gm-Message-State: APjAAAXz1o4+FH5gPoIocJXydWYmteqp6s24sLCAuVdjliXSdsyZDxu4 yvFPKKmjQ1vC08WISTm8wDvEuXO1yUU7lYgA8Co= X-Received: by 2002:a9d:4f0e:: with SMTP id d14mr452420otl.90.1576025165539; Tue, 10 Dec 2019 16:46:05 -0800 (PST) MIME-Version: 1.0 References: <20191014141718.22603-1-narmstrong@baylibre.com> <20191014141718.22603-2-narmstrong@baylibre.com> <20191023201141.GA21235@bogus> <45212db9-e366-2669-5c0a-3c5bd06287f6@synopsys.com> In-Reply-To: From: Tim Date: Tue, 10 Dec 2019 19:45:54 -0500 Message-ID: Subject: Re: [PATCH 1/3] doc: dt: bindings: usb: dwc3: Update entries for disabling SS instances in park mode To: Neil Armstrong Cc: Thinh Nguyen , Jun Li , Felipe Balbi , "khilman@baylibre.com" , "devicetree@vger.kernel.org" , "linux-usb@vger.kernel.org" , "linux-amlogic@lists.infradead.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Dongjin Kim , Jianxin Pan , Rob Herring Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Just writing to say; this patch is still performing well on 5.5.0-rc1, and there is no speed improvement by adding DWC3_GUCTL_NAK_PER_ENH_HS BIT(17) I get up to 3890 ms second lag with "ping -s 5120 $IP" when copying between USB HDDs either way, but at least this patch stops the crashing. On Tue, Dec 10, 2019 at 3:55 AM Neil Armstrong wr= ote: > > Hi, > > On 12/11/2019 21:03, Thinh Nguyen wrote: > > Hi, > > > > Jun Li wrote: > >> This bug exists on all current versions per information I got from Syn= opsys. > >> + Thinh Nguyen . > >> > >> Li Jun > > > > The GUCTL1.PARKMODE_DISABLE_SS is only available in dwc_usb3 controller > > running in host mode. This should not be set for other IPs. > > > > This can be disabled by default based on IP, but I recommend to have a > > property to enable this feature for devices that need this. > > Thanks, so this patchset is the right way to solve this. > > Felipe, would it be possible to have it merged for next release ? > Should I resend it ? > > Thanks, > Neil > > > > > > >> > >> Neil Armstrong =E4=BA=8E2019=E5=B9=B411=E6= =9C=8812=E6=97=A5=E5=91=A8=E4=BA=8C =E4=B8=8B=E5=8D=885:00=E5=86=99=E9=81= =93=EF=BC=9A > >>> Hi Li, > >>> > >>> On 11/11/2019 02:58, Jun Li wrote: > >>>> Hi Neil > >>>> > >>>> As I got the information from Synopsys, this bug exists on current I= P versions, > >>>> and per my tests with external USB3 hub + 2 Super speed udisks on da= ta > >>>> read by dd, I can reproduce this issue with different kernel version= s, also I > >>>> didn't see obvious performance drop by dd tests after disable park m= ode for > >>>> super speed, so should we just disable it by default so no need a qu= irk? > >>> I don't have any opinion on this, I think the USB & DWC3 maintainers = should decide > >>> how to handle this. > >>> > >>> Did Synopsys specified a range of affected IP version ? > >>> > >>> Neil > >>> > >>>> Li Jun > >>>> > >>>> Tim =E4=BA=8E2019=E5=B9=B411=E6=9C=8811=E6=97= =A5=E5=91=A8=E4=B8=80 =E4=B8=8A=E5=8D=888:42=E5=86=99=E9=81=93=EF=BC=9A > >>>>> Thanks for working on this Neil, > >>>>> Is there something that needs doing for this patch to make it into = 5.3 or 5.4? > >>>>> As previously mentioned the patch set fixes the issue on affected h= ardware; > >>>>> https://urldefense.proofpoint.com/v2/url?u=3Dhttps-3A__patchwo= rk.kernel.org_patch_11164515_&d=3DDwIFaQ&c=3DDPL6_X_6JkXFx7AXWqB0tg&r=3Du9F= YoxKtyhjrGFcyixFYqTjw1ZX0VsG2d8FCmzkTY-w&m=3DBCfRHM9e86039Su0-QvK_yUjNnYrnl= _BcvxTtViypT8&s=3DaV5u7uxNX6oTLB3_-qNuzrNvyiqx_rPC6P9TMqG-LNE&e=3D > >>>>> > >>>>> > >>>>> > >>>>> On Wed, Oct 23, 2019 at 4:11 PM Rob Herring wrote= : > >>>>>> On Mon, Oct 14, 2019 at 04:17:16PM +0200, Neil Armstrong wrote: > >>>>>>> This patch updates the documentation with the information related > >>>>>>> to the quirks that needs to be added for disabling all SuperSpeed= XHCi > >>>>>>> instances in park mode. > >>>>>>> > >>>>>>> CC: Dongjin Kim > >>>>>>> Cc: Jianxin Pan > >>>>>>> Reported-by: Tim > >>>>>>> Signed-off-by: Neil Armstrong > >>>>>>> --- > >>>>>>> Documentation/devicetree/bindings/usb/dwc3.txt | 2 ++ > >>>>>>> 1 file changed, 2 insertions(+) > >>>>>> Sigh, what's one more to the never ending list of quirks... > >>>>>> > >>>>>> Acked-by: Rob Herring > > > > BR, > > Thinh > > >