Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2245366imj; Mon, 18 Feb 2019 02:35:40 -0800 (PST) X-Google-Smtp-Source: AHgI3IZFwIPp4Y+ESk5HA9bO7/7baev/Vi5dOo700taxf0PrWvpyIYfFoFC4b7xxnOyWq8zpbUBP X-Received: by 2002:a63:e952:: with SMTP id q18mr9558008pgj.156.1550486140505; Mon, 18 Feb 2019 02:35:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550486140; cv=none; d=google.com; s=arc-20160816; b=ZSb+L24G50q2tsQNmYG4hOSBiimBLlS9fJco3N7NOQVhotczxat07cLEPl8H/U86oW hM8SyowdCUNdFgFkTxkI2nH5v0FJNRmptcbqTDhimU1zABBb/RQDow/yx5yUUi+wyQdF R7iPphsng9MaLwPqtj7ZWmvF5j90qYyNZD1k3Dp754zQIxC2iShJvyx1rUdA6kYSCGmv /k3LCWLBteuvOH5Y/qIyTf6Xivwid9/nXxs7IJSjT+xc42Ec94WVwGzfZSMyXCjEusOe SdmtchKE4cLsDATpO9iHEUP255IgUmMUDR+6lTClJsOeaMnNcBv079j278sgCGUJdLOX KGBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:emacs:references:subject:cc:to:from; bh=o6CT79O1wllN+aS6lVpbeUpz9cI8022tXmtTsRPT9Ps=; b=C0TFVmhD+pXa9gY+BvM+YrMLsXG8zyPdRaTEi4OxhJjtMdDwdXd/OoeqdICRH4WYz+ +xAo8iVt4iXGT5aldp2S2YrejP8ZvlFzgQiwTC7L4gqqnu/DzK0ZD/umekkCAJ+NdoX4 RJCvkA+ZIVErCVC7k7cZCcTuNI3OwGKTjZ5RYjxYAoX5z7s5rti77tuARBF0eQuRQ+P+ Eu8M7O5es+iC4fK6GsXEE81E8ulL/+9imQVkcRneLhEEMenA2ycE+FXHKw1Mwm8C7M2n 3ehji2+KytkiaaS6bO54eNHOrmN4l28TY+R7oEyDCqqmtTBaxeIvFkMn5YLfnV7p15Xj w1Aw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d10si11793090pgv.14.2019.02.18.02.35.24; Mon, 18 Feb 2019 02:35:40 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729525AbfBRKdF (ORCPT + 99 others); Mon, 18 Feb 2019 05:33:05 -0500 Received: from icebox.esperi.org.uk ([81.187.191.129]:49550 "EHLO mail.esperi.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727004AbfBRKdF (ORCPT ); Mon, 18 Feb 2019 05:33:05 -0500 Received: from loom (nix@sidle.srvr.nix [192.168.14.8]) by mail.esperi.org.uk (8.15.2/8.15.2) with ESMTP id x1IASFBg024635; Mon, 18 Feb 2019 10:28:15 GMT From: Nix To: Johan Hovold Cc: Greg KH , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: 4.20.7: pl2303 not working (post-4.19 regression) (limited info so far, not yet bisected) References: <87o97bu2bt.fsf@esperi.org.uk> <20190216194758.GA10756@kroah.com> <877edytehb.fsf@esperi.org.uk> <20190218075851.GA4072@localhost> Emacs: The Awakening Date: Mon, 18 Feb 2019 10:32:57 +0000 In-Reply-To: <20190218075851.GA4072@localhost> (Johan Hovold's message of "Mon, 18 Feb 2019 08:58:51 +0100") Message-ID: <87sgwls7xi.fsf@esperi.org.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-DCC-wuwien-Metrics: loom 1290; Body=4 Fuz1=4 Fuz2=4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18 Feb 2019, Johan Hovold stated: > On Sun, Feb 17, 2019 at 07:13:52PM +0000, Nix wrote: >> I'm still fairly sure this is a regression -- my machines are often up >> for a lot longer than that and I've never seen this before I upgraded to >> 4.20.x -- but I don't think I'm going to identify it by mindless >> bisection. I might have to actually *think* about it. > > I doubt it's a regression in usb-serial as essentially nothing changed > with respect to pl2303 or core since 4.19. Yeah, I came to that conclusion as well. > The -ENOSPC you're seeing is returned by the host controller to > indicate: > > This request would overcommit the usb bandwidth reserved for > periodic transfers (interrupt, isochronous). Side note: probably not related to *this* -ENOSPC, which I've been seeing for a few releases now and which appears to break Chromium's U2F negotiation when the USB bus has sufficiently weird devices on it (like, uh, my wireless mouse): (I say "probably not related" because it's much older and long predates the pl2303 trouble.) > but if you're saying you can reproduce this on "every box" it may not be > related to any particular host-controller driver (or USB topology). They are all xhci, at least. The pl2303 is USB 2. One machine, a two-year-old Broadwell server, says: xhci_hcd 0000:00:14.0: xHCI Host Controller xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 3 xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x0000000000009810 xhci_hcd 0000:00:14.0: cache line size of 32 is not supported hub 3-0:1.0: USB hub found hub 3-0:1.0: 15 ports detected xhci_hcd 0000:00:14.0: xHCI Host Controller xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 4 xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed 00:14.0 USB controller: Intel Corporation C610/X99 series chipset USB xHCI Host Controller (rev 05) (prog-if 30 [XHCI]) The other, a 2012-era cheapish Ivy Bridge workstation: xhci_hcd 0000:03:00.0: xHCI Host Controller xhci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 3 xhci_hcd 0000:03:00.0: hcc params 0x014042cb hci version 0x96 quirks 0x0000000000000004 hub 3-0:1.0: USB hub found hub 3-0:1.0: 2 ports detected xhci_hcd 0000:03:00.0: xHCI Host Controller xhci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 4 xhci_hcd 0000:03:00.0: Host supports USB 3.0 SuperSpeed usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. hub 4-0:1.0: USB hub found hub 4-0:1.0: 2 ports detected xhci_hcd 0000:04:00.0: xHCI Host Controller xhci_hcd 0000:04:00.0: new USB bus registered, assigned bus number 5 xhci_hcd 0000:04:00.0: hcc params 0x0200f180 hci version 0x96 quirks 0x0000000000080000 hub 5-0:1.0: USB hub found hub 5-0:1.0: 2 ports detected xhci_hcd 0000:04:00.0: xHCI Host Controller xhci_hcd 0000:04:00.0: new USB bus registered, assigned bus number 6 xhci_hcd 0000:04:00.0: Host supports USB 3.0 SuperSpeed usb usb6: We don't know the algorithms for LPM for this host, disabling LPM. 03:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03) (prog-if 30 [XHCI]) 04:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller (prog-if 30 [XHCI]) (I really don't know which of these is which. I suspect only one actually has any visible ports on the outside of the case...) So the quirks are all totally different, and the controllers are quite different as well...