diff options
author | Suman Prakash <suman.p@samsung.com> | 2017-04-20 18:01:42 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2017-04-24 09:06:44 +0800 |
commit | f6b139bde7e0a39f83ffad30af58136d5b0738a7 (patch) | |
tree | 755192ff592c4ec8ae281e59dfc7b207fc5b7833 /OptionRomPkg | |
parent | f8f931f632f7d7ff12a1cfdec36ebefe19085e83 (diff) | |
download | edk2-f6b139bde7e0a39f83ffad30af58136d5b0738a7.tar.gz edk2-f6b139bde7e0a39f83ffad30af58136d5b0738a7.tar.bz2 edk2-f6b139bde7e0a39f83ffad30af58136d5b0738a7.zip |
MdeModulePkg/NvmExpressDxe: Handling return of write to sq and cq db
In case of an async command if updating the submission queue tail
doorbell fails then the command will not be picked up by device and
no completion response will be created. This scenario has to be handled.
Also if we create an AsyncRequest element and insert in the async queue,
it will never receive a completion so in the timer routine this element
won't be freed, resulting in memory leak. Also in case of blocking calls
we should capture the status of updating completion queue head doorbell
register and return it to caller of PassThru.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Suman Prakash <suman.p@samsung.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
Diffstat (limited to 'OptionRomPkg')
0 files changed, 0 insertions, 0 deletions