diff options
author | Henz, Patrick <patrick.henz@hpe.com> | 2023-09-13 02:05:57 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-09-25 02:56:05 +0000 |
commit | 43dcf453fc15ca152945ca41dcce7f2f43a14313 (patch) | |
tree | e2e6f68e843d79efec6eb73fca4e2ad7552407b8 /MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.uni | |
parent | 8b2e6b90b85fd4b1f7f921da09b16f5175acea8a (diff) | |
download | edk2-43dcf453fc15ca152945ca41dcce7f2f43a14313.tar.gz edk2-43dcf453fc15ca152945ca41dcce7f2f43a14313.tar.bz2 edk2-43dcf453fc15ca152945ca41dcce7f2f43a14313.zip |
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 <hao.a.wu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Patrick Henz <patrick.henz@hpe.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Diffstat (limited to 'MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.uni')
0 files changed, 0 insertions, 0 deletions