edk2/MdeModulePkg/Bus/Pci
Jack Pham f1a2bd2333 MdeModulePkg/XhciDxe: Adjust out-of-range bInterval values
When a USB device is enumerated it will report one or more endpoint
descriptors which contains a bInterval field which specifies the
interval a host should periodically poll for that particular endpoint
when scheduling transfers.  But the units this value is expressed in
(in whole ms, a power of 2 x 1ms, or a power of 2 x 125us) may differ
depending on the speed of the device and whether the endpoint is
isochronous or interrupt.

Some high/super-speed devices, which are supposed to report isoc/int
bInterval as a power of 2 x 125us, incorrectly report full-speed
bInterval values (that is, in whole units of ms) in their interrupt
endpoint descriptors which results in an assertion error due to being
out of range of the spec-expected values.  Rather than asserting, try
to adjust those assuming they were expressed in units of ms with an
upper limit of 128ms.

Signed-off-by: Jack Pham <jackp@qti.qualcomm.com>
2025-03-18 20:29:20 +00:00
..
EhciDxe MdeModulePkg/Bus/Pci/EhciDxe: Fix FORWARD_NULL Coverity issues 2023-07-17 02:19:45 +00:00
EhciPei MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
IdeBusPei MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
IncompatiblePciDeviceSupportDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
NonDiscoverablePciDeviceDxe MdeModulePkg NonDiscoverablePciDeviceIo: MMIO Memory XP By Default 2024-08-29 16:11:40 +00:00
NvmExpressDxe MdeModulePkg: NvmExpressDxe: fix warning about uninitialized variable 2025-01-29 17:20:57 +01:00
NvmExpressPei MdeModulePkg/Bus/Pci/NvmExpressPei: Fix DEADCODE Coverity issue 2023-09-20 06:49:52 +00:00
PciBusDxe MdeModulePkg/PciBusDxe: Add feedback status for PciIoMap 2024-01-25 09:45:03 +00:00
PciHostBridgeDxe MdeModulePkg/PciHostBridgeDxe: Add MemoryFence after write. 2024-10-25 06:21:28 +00:00
PciSioSerialDxe MdeModulePkg: Make noisy log DEBUG_VERBOSE 2025-01-15 03:02:00 +00:00
SataControllerDxe MdeModulePkg: SataControllerSupported checks DevicePath Protocol 2024-11-01 01:53:53 +00:00
SdMmcPciHcDxe MdeModulePkg SdMmcPciHcDxe: SD/MMC capability debug print is incorrect 2023-05-29 04:37:03 +00:00
SdMmcPciHcPei MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UfsPciHcDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UfsPciHcPei MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UhciDxe MdeModulePkg/UhciDxe: drop unused UsbHcProtocol references 2025-03-06 17:32:08 +00:00
UhciPei MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
XhciDxe MdeModulePkg/XhciDxe: Adjust out-of-range bInterval values 2025-03-18 20:29:20 +00:00
XhciPei MdeModulePkg/Bus/Pci: Fix Descriptor Misalignment in USB Config Handling 2024-12-06 01:45:22 +00:00