audk/MdeModulePkg/Bus/Pci
Hao Wu 05bf4747dd MdeModulePkg NvmExpressDxe: Fix invalid queue size when creating IO queues
The Maximum Queue Entries Supported (MQES) field in the CAP (Controller
Capabilities) register for a NVMe controller restrict the maximum
individual queue size that the controller supports.

The origin code does not check this value and always uses a hardcode value
when creating I/O submission/completion queues for asynchronous
transmission. The hardcode value might be larger than the MQES field, this
will lead to an 'Invalid Queue Size' error when creating I/O
submission/completion queues.

The patch will add checks to make sure proper queue size is passed when
creating I/O submission/completion queues.

Cc: Feng Tian <feng.tian@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Feng Tian <feng.tian@Intel.com>
2016-06-02 16:40:17 +08:00
..
EhciDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
EhciPei MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
IdeBusPei MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
IncompatiblePciDeviceSupportDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
NvmExpressDxe MdeModulePkg NvmExpressDxe: Fix invalid queue size when creating IO queues 2016-06-02 16:40:17 +08:00
PciBusDxe MdeModulePkg/PciBus: do not improperly degrade resource 2016-05-23 13:49:41 +08:00
PciHostBridgeDxe MdeModulePkg/PciHostBridgeDxe: Fix VS tool chain build failure 2016-05-24 13:42:01 +08:00
PciSioSerialDxe MdeModulePkg/PciSioSerialDxe: Do not flush the UART 2016-05-10 14:12:57 +08:00
SdMmcPciHcDxe MdeModulePkg/SdMmcPciHcDxe: Check SD's supported bus mode before switch 2016-05-06 16:10:01 +08:00
SdMmcPciHcPei MdeModulePkg/SdMmc: Add EDKII SD/MMC stack 2016-03-30 11:27:41 +08:00
UfsPciHcDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
UfsPciHcPei MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
UhciDxe MdeModulePkg UhciDxe: Fix a typo in function description 2016-01-06 01:09:56 +00:00
UhciPei MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
XhciDxe MdeModulePkg/Usb: Fix wrong condition judgment to support usb3.1 dev 2016-04-21 15:53:14 +08:00
XhciPei MdeModulePkg/Usb: Fix wrong condition judgment to support usb3.1 dev 2016-04-21 15:53:14 +08:00