audk/MdeModulePkg/Bus
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
..
Ata MdeModulePkg/Bus/Ata: Fix various typos 2020-02-10 22:30:07 +00:00
I2c/I2cDxe MdeModulePkg/Bus/I2c: Fix few typos 2020-02-10 22:30:07 +00:00
Isa MdeModulePkg/Bus/Isa: Fix various typos 2020-02-10 22:30:07 +00:00
Pci MdeModulePkg/XhciDxe: Error handle for USB slot initialization failure 2020-10-27 01:09:28 +00:00
Scsi MdeModulePkg/Bus/Scsi: Fix various typos 2020-02-10 22:30:07 +00:00
Sd MdeModulePkg/SdDxe: Check the Token to avoid null pointer 2020-03-27 01:04:25 +00:00
Ufs MdeModulePkg/UfsPassThruDxe: Use BaseLib linked list iteration macros 2020-04-21 02:20:51 +00:00
Usb MdeModulePkg/Usb: Fix various typos 2020-02-10 22:30:07 +00:00