Re: [PATCH] ehci: fix EHCI host controller initialization sequence

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jan 09, 2021 at 12:55:04AM +0300, Eugene Korenevsky wrote:
> According to EHCI spec, EHCI HCD clears USBSTS.HCHalted whenever USBCMD.RS=1.
> However, it is a good practice to wait some time after setting USBCMD.RS
> (approximately 100ms) until USBSTS.HCHalted become zero.
> 
> Instead, previous version of ehci_run() wrote 1 to USBCMD.RS, issued read to
> USBCMD and waited for 5 ms.
> That worked incorrectly at least at VirtualBox's EHCI virtual HCD and caused
> accidental hangs (bugzilla #211095).
> 
> This patch fixes #211095.

What is this number from?  Can you just provide a "Link:" tag?

thanks,

greg k-h



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux