]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/NvmExpressDxe: Report StatusCode for device init failure
authorSean Brogan <sean.brogan@microsoft.com>
Mon, 11 Feb 2019 07:57:26 +0000 (15:57 +0800)
committerHao Wu <hao.a.wu@intel.com>
Wed, 13 Feb 2019 03:31:09 +0000 (11:31 +0800)
commit63d8431a49cb5a900406e8d09a5dd10080dc818e
treed95e02a1be0fed6974a05418eca2a803fdf05f83
parentc0959b4426b2da45cdb8146a5116bb4fd9b86534
MdeModulePkg/NvmExpressDxe: Report StatusCode for device init failure

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1408

According to the information of the above BZ-1408 and other platform
owners, NVM Express devices are becoming more likely to be a critical
part during the boot process.

This commit will add the calls to 'REPORT_STATUS_CODE' when there is a
failure happens during the NVM Express controller/device initialization
process.

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Bret Barkelew <brbarkel@microsoft.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpress.h
MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressHci.c