Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 43dcf453fc15ca152945ca41dcce7f2f43a14313
https://github.com/tianocore/edk2/commit/43dcf453fc15ca152945ca41dcce7f2f43a14313
Author: Henz, Patrick <[email protected]>
Date: 2023-09-25 (Mon, 25 Sep 2023)
Changed paths:
M MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c
M MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h
M MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
M MdeModulePkg/Bus/Pci/XhciDxe/XhciReg.c
M MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c
Log Message:
-----------
MdeModulePkg/XhciDxe: Use Performance Timer for XHCI Timeouts
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2948
XhciDxe uses the timer functionality provided by the
boot services table to detect timeout conditions. This
breaks the driver's ExitBootServices call back, as
CoreExitBootServices halts the timer before signaling
the ExitBootServices event. If the host controller
fails to halt in the call back, the timeout condition
will never occur and the boot gets stuck in an indefinite
spin loop. Use the free running timer provided by
TimerLib to calculate timeouts, avoiding the potential
hang.
Cc: Hao A Wu <[email protected]>
Cc: Ray Ni <[email protected]>
Signed-off-by: Patrick Henz <[email protected]>
Reviewed-by: Hao A Wu <[email protected]>
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits