From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web12.6448.1661821608139634269 for ; Mon, 29 Aug 2022 18:06:48 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=SvKDIRdr; spf=permerror, err=too many SPF records (domain: intel.com, ip: 134.134.136.31, mailfrom: xiao.x.chen@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661821608; x=1693357608; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=AeRx503huTXtZTJiBQhenGMdkz8OotA3WFm/4nAiBeY=; b=SvKDIRdrMx+0UNModJZwniiLnZDwk7M2TE9pDsZZ4X7EkrTO2VbCn8gT GUwgEN3ERZVWSBFTDmAKL/ggLxTn/GPV4Bs6oWWT0NOnQNEn58KhnklPo mO2UiD+IZK4zyV4YXF+9ZIuAATGQUK7uDLyAxplbSF9cGT1uxXQpydKJs SRVMhS83iFRF6Zgi4+/7B++8G6+PcMX5ii4og4Ijlqyo6THISFHSv16bK 4ZVTKPb/symKQ+u5CGu8By4c/GZDc8npdqAyCgybx482jySWge4vx/N41 vRf94TqWTQWy9GfPX1a0cKewoNELizRQKcHYV9Dbi1CvfzxwtNm3rHDXJ A==; X-IronPort-AV: E=McAfee;i="6500,9779,10454"; a="356762768" X-IronPort-AV: E=Sophos;i="5.93,274,1654585200"; d="scan'208";a="356762768" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Aug 2022 18:06:47 -0700 X-IronPort-AV: E=Sophos;i="5.93,273,1654585200"; d="scan'208";a="641156253" Received: from chenxia1-desk.ccr.corp.intel.com ([10.239.216.34]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Aug 2022 18:06:46 -0700 From: "chenxia1" To: devel@edk2.groups.io Cc: Xiao X Chen Subject: [PATCH 0/1] MdeModulePkg/NvmExpressPei: Use PCI_DEVICE_PPI to manage Nvme device Date: Tue, 30 Aug 2022 09:06:21 +0800 Message-Id: X-Mailer: git-send-email 2.37.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit https://bugzilla.tianocore.org/show_bug.cgi?id=4017 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 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 | 628 ++++++++++++------ .../Bus/Pci/NvmExpressPei/NvmExpressPei.h | 54 ++ .../Bus/Pci/NvmExpressPei/NvmExpressPei.inf | 3 +- 4 files changed, 477 insertions(+), 252 deletions(-) -- 2.37.0.windows.1