audk/MdeModulePkg/Bus/Pci
Luo, Heng a3212009d9 MdeModulePkg/XhciDxe: Error handle for USB slot initialization failure
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3007

Currently UsbDevContext is not cleaned up if USB slot initialization is
failed, the wrong context data will affect next USB devices and
the USB devices can not be enumerated.
Need to disable slot if USB slot initialization is failed.

Below test cases are passed on UpXtreme:
a. USB 3.0 thumb drives can be recognized in UEFI shell
b. SUT can boot to Puppylinux  from USB3.0 mass storage,
 the storage can be recognized in linux
c. Plug in a USB  keyboard (hot plug) and enumeration is OK
 in UEFI shell and linux
d. Plug in a USB mouse(hot plug) and enumeration is OK in linux.

Cc: Ray Ni <ray.ni@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Signed-off-by: Heng Luo <heng.luo@intel.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
2020-10-27 01:09:28 +00:00
..
EhciDxe MdeModulePkg/EhciDxe: Use BaseLib linked list iteration macros 2020-04-21 02:20:51 +00:00
EhciPei MdeModulePkg/EhciPei: Use BaseLib linked list iteration macros 2020-04-21 02:20:51 +00:00
IdeBusPei MdeModulePkg: Remove BootInRecoveryMode PPI 2019-05-09 20:52:41 +08:00
IncompatiblePciDeviceSupportDxe MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
NonDiscoverablePciDeviceDxe MdeModulePkg/NonDiscoverablePciDeviceDxe: Add NULL pointer check 2020-09-18 02:45:21 +00:00
NvmExpressDxe MdeModulePkg/NvmExpressDxe: Fix wrong queue size for async IO queues 2019-11-20 02:47:19 +00:00
NvmExpressPei MdeModulePkg/NvmExpressPei: Fix Opal S3 unlock issue 2019-10-30 08:17:49 +08:00
PciBusDxe MdeModulePkg: Issues reported by ECC in EDK2. 2020-02-14 07:27:28 +00:00
PciHostBridgeDxe MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PciSioSerialDxe MdeModulePkg: fix UninstallMultipleProtocolInterfaces() calls 2019-10-09 09:40:10 +02:00
SataControllerDxe MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
SdMmcPciHcDxe MdeModulePkg/SdMmcPciHcDxe: Fix PIO transfer mode 2020-03-05 01:51:59 +00:00
SdMmcPciHcPei MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
UfsPciHcDxe MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
UfsPciHcPei MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
UhciDxe MdeModulePkg: Fix spelling mistake for occurred 2020-08-19 00:54:23 +00:00
UhciPei MdeModulePkg/UhciPei: Initialize the variable RequestMap 2019-11-04 08:56:12 +08:00
XhciDxe MdeModulePkg/XhciDxe: Error handle for USB slot initialization failure 2020-10-27 01:09:28 +00:00
XhciPei MdeModulePkg/XhciPei: Fix Aligned Page Allocation 2019-10-21 08:59:36 +08:00