public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v2 0/1] Use PCI_DEVICE_PPI to manage Nvme device
@ 2022-08-30  5:46 chenxia1
  2022-08-30  5:46 ` [PATCH v2 1/1] MdeModulePkg/NvmExpressPei: " chenxia1
  0 siblings, 1 reply; 4+ messages in thread
From: chenxia1 @ 2022-08-30  5:46 UTC (permalink / raw)
  To: devel; +Cc: Xiao X Chen

This change modifies NvmExpressPei library to allow usage EDKII_PCI_DEVICE_PPI to manage Nvme device.
For now, the part that performs the enumeration and creates EDKII_PCI_DEVICE_PPI will be implemented in the silicon code.
Sample code can be seen here: https://github.com/mczaj/edk2-platforms/commit/d443062e58f9fba228869b54f2546d9735b3b506

unit test:
 - verified the origin EDKII_NVM_EXPRESS_HOST_CONTROLLER_PPI flow in platform project, 
   Nvme controller can successful initialize.
 - merged https://github.com/mczaj/edk2-platforms/commit/d443062e58f9fba228869b54f2546d9735b3b506 to platform project
   to enumerate pcie device and create the EDKII_PCI_DEVICE_PPI for Nvme, 
   Nvme controller also can successful initialize by EDKII_PCI_DEVICE_PPI.
 
v1: https://edk2.groups.io/g/devel/topic/93340344

v2 changes:
 - add the unit test information for cover letter
 - refine the BAR type check for no.1 commit

Xiao X Chen (1):
  MdeModulePkg/NvmExpressPei: Use PCI_DEVICE_PPI to manage Nvme device

 .../Bus/Pci/NvmExpressPei/DevicePath.c        |  44 --
 .../Bus/Pci/NvmExpressPei/NvmExpressPei.c     | 639 ++++++++++++------
 .../Bus/Pci/NvmExpressPei/NvmExpressPei.h     |  54 ++
 .../Bus/Pci/NvmExpressPei/NvmExpressPei.inf   |   3 +-
 4 files changed, 488 insertions(+), 252 deletions(-)

-- 
2.37.0.windows.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-09-01  5:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-30  5:46 [PATCH v2 0/1] Use PCI_DEVICE_PPI to manage Nvme device chenxia1
2022-08-30  5:46 ` [PATCH v2 1/1] MdeModulePkg/NvmExpressPei: " chenxia1
2022-08-30  6:27   ` Wu, Hao A
2022-09-01  5:33     ` [edk2-devel] " Wu, Hao A

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox