From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 27298 invoked from network); 24 Nov 2022 03:21:08 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 24 Nov 2022 03:21:08 -0000 Received: from mimir.eigenstate.org ([206.124.132.107]) by 9front; Wed Nov 23 22:20:04 -0500 2022 Received: from abbatoir (pool-108-27-53-161.nycmny.fios.verizon.net [108.27.53.161]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id ba990c2a (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9front@9front.org>; Wed, 23 Nov 2022 19:20:03 -0800 (PST) Message-ID: To: 9front@9front.org Date: Wed, 23 Nov 2022 22:20:01 -0500 From: ori@eigenstate.org In-Reply-To: <636f05eb.170a0220.934c8.4131@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: ISO-certified factory SVG over HTML app storage-based realtime backend Subject: Re: [9front] [PATCH] usbxhci: wait for reset to complete before continuing initialization Reply-To: 9front@9front.org Precedence: bulk Quoth Michael Forney : > > The xhci spec says that the HCRST bit is cleared once the reset is > complete, and that no operational or runtime registers shall be > written while the bit is set. > > Waiting for the reset to complete fixes initialization of some host > controllers, such as the ASMedia ASM1142, which otherwise enter an > endless init-recover loop. > > Also, add a comment about the reason for the 1ms delay. This appears > to work around a system hang bug in intel chipsets through the 400 > series (see errata 15 in [0]). > looks good to me, doesn't cause any problemms for my systems.