audk/MdeModulePkg/Bus/Pci/XhciDxe
Henz, Patrick fbbf4206c1 MdeModulePkg/XhciDxe: Non-zero start/stop values in XhcGetElapsedTicks
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4578

The implementation of XhcGetElapsedTicks did not account for
non-zero start and stop values for the performance counter
timer, potentially resulting in an incorrect elapsed tick
count getting returned to the caller. Account for non-zero
start and stop values when calculating the elapsed tick
count.

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: Laszlo Ersek <lersek@redhat.com>
Acked-by: Hao A Wu <hao.a.wu@intel.com>
Message-ID: <c3038878c4d30c54e60cce7192cf1aa60c30ad2e.1698770394.git.patrick.henz@hpe.com>

Resolve rebase conflict from commit ff4c49a5ee ("MdeModulePkg/Bus: Fix
XhciDxe Linker Issues", 2023-12-06): rename "mPerformanceCounter*" to
"mXhciPerformanceCounter*".

Signed-off-by: Laszlo Ersek <laszlo.ersek@posteo.net>
2024-12-22 22:10:54 +00:00
..
ComponentName.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
ComponentName.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UsbHcMem.c MdeModulePkg/Xhci: Skip size round up for TRB during address translation 2023-09-28 02:02:11 +00:00
UsbHcMem.h MdeModulePkg/Xhci: Skip size round up for TRB during address translation 2023-09-28 02:02:11 +00:00
Xhci.c MdeModulePkg/XhciDxe: Non-zero start/stop values in XhcGetElapsedTicks 2024-12-22 22:10:54 +00:00
Xhci.h MdeModulePkg/XhciDxe: Add PCD for the delay of HCRST 2024-05-07 04:48:09 +00:00
XhciDxe.inf MdeModulePkg/XhciDxe: Add PCD for the delay of HCRST 2024-05-07 04:48:09 +00:00
XhciDxe.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
XhciDxeExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
XhciReg.c XhciDxe: Fail the start of malfunctioning XHCI controllers 2024-09-05 05:37:42 +00:00
XhciReg.h MdeModulePkg/Bus/Pci/XhciDxe: Check port is compatible before getting PSIV 2022-12-21 00:46:58 +00:00
XhciSched.c MdeModulePkg/Bus/Pci: Fix Descriptor Misalignment in USB Config Handling 2024-12-06 01:45:22 +00:00
XhciSched.h MdeModulePkg/XhciDxe: Reset endpoint while USB Transaction error 2024-05-07 02:26:46 +00:00