On Wed, Sep 23, 2020 at 08:36 PM, Henz, Patrick wrote: > > From: Patrick Henz <patrick.h...@hpe.com> > > REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2948 > > Timeouts in the XhciDxe driver are taking longer than > expected due to the timeout loops not accounting for > code execution time. As en example, 5 second timeouts > have been observed to take around 36 seconds to complete. > Use SetTimer and Create/CheckEvent from Boot Services to > determine when timeout occurred.
This strategy doesn't work during ExitBootServices, as called from XhcExitBootService via XhcHaltHC. The net result is that, if the XHCI controller fails to halt upon clearing R/S, EDK2 hangs in an infinite loop (something I just had the joy of debugging). Jess -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#105881): https://edk2.groups.io/g/devel/message/105881 Mute This Topic: https://groups.io/mt/77042848/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-