From owner-freebsd-usb@freebsd.org Thu May 2 11:00:56 2019 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A5551590F27 for ; Thu, 2 May 2019 11:00:56 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from ipmail03.adl6.internode.on.net (ipmail03.adl6.internode.on.net [150.101.137.143]) by mx1.freebsd.org (Postfix) with ESMTP id 3241D889EC for ; Thu, 2 May 2019 11:00:53 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from unknown (HELO midget.dons.net.au) ([118.211.90.89]) by ipmail03.adl6.internode.on.net with ESMTP; 02 May 2019 20:30:51 +0930 Received: from midget.dons.net.au (localhost [127.0.0.1]) by midget.dons.net.au (8.15.2/8.15.2) with ESMTPS id x42B0hlw042452 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 2 May 2019 20:30:43 +0930 (ACST) (envelope-from darius@dons.net.au) Received: (from mailnull@localhost) by midget.dons.net.au (8.15.2/8.15.2/Submit) id x42AilOR028442 for ; Thu, 2 May 2019 20:14:47 +0930 (ACST) (envelope-from darius@dons.net.au) X-Authentication-Warning: midget.dons.net.au: mailnull set sender to using -f Received: from [10.0.2.26] ([10.0.2.26]) by ns.dons.net.au (envelope-sender ) (MIMEDefang) with ESMTP id x42Aiggq028438; Thu, 02 May 2019 20:14:47 +0930 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: Re: USB transfers in device drivers From: "O'Connor, Daniel" In-Reply-To: Date: Thu, 2 May 2019 20:14:41 +0930 Cc: freebsd-usb@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <64924732-9848-4AF6-B37E-4ED3889DB711@dons.net.au> References: <3B922C60-32E5-484E-8AFA-28FF7255CF2C@dons.net.au> To: Hans Petter Selasky X-Mailer: Apple Mail (2.3445.104.8) X-Spam-Score: -1 () No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.1 X-Scanned-By: MIMEDefang 2.83 on 10.0.2.1 X-Rspamd-Queue-Id: 3241D889EC X-Spamd-Bar: +++++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [7.43 / 15.00]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_XAW(0.00)[]; MX_GOOD(-0.01)[cached: midget.dons.net.au]; RCPT_COUNT_TWO(0.00)[2]; RCVD_NO_TLS_LAST(0.10)[]; RCVD_IN_DNSWL_LOW(-0.10)[143.137.101.150.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:4739, ipnet:150.101.0.0/16, country:AU]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.91)[0.907,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-usb@freebsd.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000,0]; DMARC_NA(0.00)[dons.net.au]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; R_SPF_NA(0.00)[]; GREYLIST(0.00)[pass,meta]; IP_SCORE(3.14)[ip: (9.28), ipnet: 150.101.0.0/16(4.31), asn: 4739(2.10), country: AU(-0.01)] X-Spam: Yes X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 May 2019 11:00:56 -0000 > On 2 May 2019, at 20:02, Hans Petter Selasky wrote: >=20 > On 2019-05-02 11:18, O'Connor, Daniel wrote: >> OK, thanks. >> To be honest I would much prefer to work out why this particular = hardware & software seem to drop the ball for such a long time - 50msec = without the kernel getting to schedule something (on a basically idle = system) is quite perplexing to me. >=20 > Sounds like a lost IRQ issue. Did you try any of the EHCI quirks in = hw.usb.ehci ? No not, yet - thanks for the pointer! -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum