]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/NvmExpressPei: Fix Opal S3 unlock issue
authorMaggie Chu <maggie.chu@intel.com>
Fri, 25 Oct 2019 09:19:34 +0000 (17:19 +0800)
committerHao A Wu <hao.a.wu@intel.com>
Wed, 30 Oct 2019 00:17:49 +0000 (08:17 +0800)
commitdc254af6a492d554efaba924c4903463a1d56f36
treec700fee77f54f6deb4d8b622fc164d6134a76f9f
parent6f3ac73cd3792c7eeccb4533e545270d640bef4c
MdeModulePkg/NvmExpressPei: Fix Opal S3 unlock issue

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

This patch is for fixing unexpected system hang during S3 unlock process.
FatPei driver maintained and updated internal BlockIo devices list
when there is new BlockIo PPI has installed, and it relied on BlockIo PPI
service to get data from devices. Because BlockIo Ppi leverage
NvmExpressPei Ppi to transit Nvm command to device, we should make sure
NvmePassThruPpi installed before BlockIo PPI.

Signed-off-by: Maggie Chu <maggie.chu@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPei.c