audk/MdeModulePkg/Bus/Pci
Star Zeng 958a81813b MdeModulePkg Xhci: Also RecoverHaltedEndpoint for BABBLE_ERROR
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=644

According to XHCI spec:
4.10.2.1 Stall Error

4.10.2.4 Babble Detected Error
When a device transmits more data on the USB than the host controller
is expecting for a transaction, it is defined to be babbling.
In general, this is called a Babble Error. When a device sends more
data than the TD Transfer Size bytes (TD Babble), unexpected activity
that persists beyond a specified point in a (micro)frame (Frame Babble),
or a packet greater than Max Packet Size (Packet Babble), the host
controller shall set the Babble Detected Error in the Completion Code
field of the TRB, generate an Error Event, and halt the endpoint
(refer to Section 4.10.2.1).

This patch is to also check for EFI_USB_ERR_BABBLE error returned as
a TransferResult and then proceed to XhcRecoverhaltedEndPoint.

Cc: Vladimir Olovyannikov <vladimir.olovyannikov@broadcom.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
2017-07-26 16:06:19 +08:00
..
EhciDxe MdeModulePkg: Refine casting expression result to bigger size 2017-03-06 14:33:20 +08:00
EhciPei MdeModulePkg/Ehci: don't clear port status bits during init 2016-12-02 08:58:23 +08:00
IdeBusPei MdeModulePkg/IdeBusPei: Fix undefined behavior in signed left shift 2017-04-13 08:58:51 +08:00
IncompatiblePciDeviceSupportDxe MdeModulePkg/IncompatiblePci: Use MAX_UINTN to match any IDs 2017-02-10 16:52:00 +08:00
NonDiscoverablePciDeviceDxe MdeModulePkg/NonDiscoverable: Compare SIZE_4GB with address type 2017-01-12 21:26:30 +08:00
NvmExpressDxe MdeModulePkg/NvmExpressDxe: Handle timeout for blocking PassThru req 2017-07-06 12:53:36 +08:00
PciBusDxe MdeModulePkg: Clean ACPI 2.0 characters in UEFI spec 2017-06-20 09:29:43 +08:00
PciHostBridgeDxe MdeModulePkg: Clean ACPI 2.0 characters in UEFI spec 2017-06-20 09:29:43 +08:00
PciSioSerialDxe MdeModulePkg/PciSioSerialDxe: Use MAX_UINT8 instead of PCI_BAR_ALL 2017-02-10 16:52:00 +08:00
SataControllerDxe MdeModulePkg/StaControllerDxe: Fix coding style issue 2017-01-05 14:41:42 +08:00
SdMmcPciHcDxe MdeModulePkg/SdMmc: Add break to avoid dead loop when polling OCR Reg 2017-03-13 21:41:46 +08:00
SdMmcPciHcPei MdeModulePkg/SdMmc: Add EDKII SD/MMC stack 2016-03-30 11:27:41 +08:00
UfsPciHcDxe MdeModulePkg/UfsPciHc: Avoid overriding return value in BindingStart 2017-04-25 09:08:33 +08:00
UfsPciHcPei MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
UhciDxe MdeModulePkg/Bus: Fix typos in comments 2016-10-27 09:11:16 +08:00
UhciPei MdeModulePkg: Fix typos in comments and variables 2016-07-11 10:29:48 +08:00
XhciDxe MdeModulePkg Xhci: Also RecoverHaltedEndpoint for BABBLE_ERROR 2017-07-26 16:06:19 +08:00
XhciPei MdeModulePkg Xhci: Also RecoverHaltedEndpoint for BABBLE_ERROR 2017-07-26 16:06:19 +08:00