audk/MdeModulePkg
Sean Brogan 7607174192 MdeModulePkg/NvmExpressDxe: Fix wrong queue size for async IO queues
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2118

When a packet is queued/completed for the asynchronous IO queue, the logic
to roll over to the front of the queue doesn't account for actual size of
the IO Submission/Completion queue.

This causes a device to hang due to doorbell being outside of visible
queue. An example would be if an NVMe drive only supported a queue size of
128 while the driver supports 256.

Cc: Jian J Wang <jian.j.wang@intel.com>
Signed-off-by: Sean Brogan <sean.brogan@microsoft.com>
Signed-off-by: Hao A Wu <hao.a.wu@intel.com>
Acked-by: Ray Ni <ray.ni@intel.com>
2019-11-20 02:47:19 +00:00
..
Application MdeModulePkg VariableInfo: Always consider RT DXE and SMM stats 2019-11-05 21:55:54 -08:00
Bus MdeModulePkg/NvmExpressDxe: Fix wrong queue size for async IO queues 2019-11-20 02:47:19 +00:00
Core MdeModulePkg/Core/Dxe: free page 0 after disabling NULL pointer detection 2019-11-09 10:59:57 +08:00
Include MdeModulePkg/Include: Add DeviceSecurity.h 2019-11-11 19:04:04 +08:00
Library MdeModulePkg: Unify the definitions of size_t 2019-11-15 02:06:12 +00:00
Logo MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
Universal MdeModulePkg RegularExpressionDxe: Update tool chain name to CLANGPDB 2019-11-15 06:04:21 +00:00
MdeModulePkg.ci.yaml MdeModulePkg: Add YAML file for CI builds 2019-11-11 13:02:17 -08:00
MdeModulePkg.dec MdeModulePkg/dec: Add EdkiiDeviceSecurityProtocolGuid. 2019-11-11 19:04:04 +08:00
MdeModulePkg.dsc MdeModulePkg: Remove RecoveryLib.h and PeiRecoveryLibNull 2019-08-05 10:09:01 +08:00
MdeModulePkg.uni MdeModulePkg: Remove PCD gEfiMdeModulePkgTokenSpaceGuid.PcdTftpBlockSize 2019-10-08 09:20:34 +08:00
MdeModulePkgExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00