9front - general discussion about 9front
 help / color / mirror / Atom feed
From: ori@eigenstate.org
To: 9front@9front.org
Subject: Re: [9front] [PATCH] usbxhci: wait for reset to complete before continuing initialization
Date: Wed, 23 Nov 2022 22:20:01 -0500	[thread overview]
Message-ID: <BC535B5AF188DF4189092F30028079A4@eigenstate.org> (raw)
In-Reply-To: <636f05eb.170a0220.934c8.4131@mx.google.com>

Quoth Michael Forney <mforney@mforney.org>:
> 
> 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.



      reply	other threads:[~2022-11-24  3:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-12  1:11 Michael Forney
2022-11-24  3:20 ` ori [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BC535B5AF188DF4189092F30028079A4@eigenstate.org \
    --to=ori@eigenstate.org \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).