From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.43, mailfrom: liming.gao@intel.com) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by groups.io with SMTP; Mon, 12 Aug 2019 02:24:27 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Aug 2019 02:24:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,377,1559545200"; d="scan'208";a="327286391" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga004.jf.intel.com with ESMTP; 12 Aug 2019 02:24:25 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 12 Aug 2019 02:24:25 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 12 Aug 2019 02:24:24 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 12 Aug 2019 02:24:24 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.112]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.139]) with mapi id 14.03.0439.000; Mon, 12 Aug 2019 17:24:23 +0800 From: "Liming Gao" To: "Jin, Eric" , "devel@edk2.groups.io" Subject: Re: [edk2-devel] [PATCH V2 00/10] Multiple Controllers Support solution Thread-Topic: [edk2-devel] [PATCH V2 00/10] Multiple Controllers Support solution Thread-Index: AQHVUK/GO8NWZkitrEel2eO0ByV1rqb2+XWA//+aGACAAKmggA== Date: Mon, 12 Aug 2019 09:24:23 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E4CEC0D@SHSMSX104.ccr.corp.intel.com> References: <20190812014603.42484-1-eric.jin@intel.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14E4CE84D@SHSMSX104.ccr.corp.intel.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: liming.gao@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable That's good information.=20 In patch 5, GetLowestSupportedVersion() API function header should=20 be updated to include Private param. I have no other comments.=20 With this change, Reviewed-by: Liming Gao /// @@ -193,7 +200,7 @@ GetImageTypeNameString ( **/ UINT32 GetLowestSupportedVersion ( - VOID + FIRMWARE_MANAGEMENT_PRIVATE_DATA *Private ) Thanks Liming >-----Original Message----- >From: Jin, Eric >Sent: Monday, August 12, 2019 3:14 PM >To: Gao, Liming ; devel@edk2.groups.io >Subject: RE: [edk2-devel] [PATCH V2 00/10] Multiple Controllers Support >solution > >Liming, > >The differences between V2 and V1 are listed below. > >1) The series is composed of 10 patches in V2 (14 in V1). patch 14 is mer= ged >into patch 4, and patch 11/12/13 are merged into patch 5. >2) Try to fix the issue exposed by ECC. > >Btw, the patch of edk2-platform >Platform\Intel\Vlv2TbltDevicePkg\Feature\Capsule\Library\FmpDeviceLib to >support new APIs is provided in separated patch >https://edk2.groups.io/g/devel/message/45328 > >Best Regards >Eric > >-----Original Message----- >From: Gao, Liming >Sent: Monday, August 12, 2019 1:19 PM >To: devel@edk2.groups.io; Jin, Eric >Subject: RE: [edk2-devel] [PATCH V2 00/10] Multiple Controllers Support >solution > >Eric: > Can you list the difference compared to version 1? > >Thanks >Liming >>-----Original Message----- >>From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of >>Eric Jin >>Sent: Monday, August 12, 2019 9:46 AM >>To: devel@edk2.groups.io >>Subject: [edk2-devel] [PATCH V2 00/10] Multiple Controllers Support >>solution >> >>REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1525 >> >>The patch set is to support drivers that manage multiple controllers >>and also provide a firmware update capability to each managed controller= . >> >>The following modules are related to Multiple Controllers Support >>solution >> >>FmpDevicePkg\FmpDxe\FmpDxe.inf - Driver to manage multiple controllers >>and provide the firmware update capability to each managed controller. >>FmpDevicePkg\CapsuleUpdatePolicyDxe\CapsuleUpdatePolicyDxe.inf - >Driver >>to produce the Capsule Update Policy Protocol using the services of the >>CapsuleUpdatePolicyLib class. The protocol is a private interface to >>the FmpDevicePkg >>FmpDevicePkg\Library\CapsuleUpdatePolicyLibOnProtocol\CapsuleUpdateP >o >>licyLibOnProtocol.inf - >>CapsuleUpdatePolicyLib instance that uses the services of the Capsule >>Update Policy Protocol produced by CapsuleUpdatePolicyDxe >>FmpDevicePkg\Library\CapsuleUpdatePolicyLibNull\CapsuleUpdatePolicyLib >N >>ull.inf - >>Null CapsuleUpdatePolicyLib instance and the template for platform >>specific implementation >>FmpDevicePkg\Library\FmpDeviceLibNull\FmpDeviceLibNull.inf - Null >>FmpDeviceLib instance and the template for platform specific >>implementation >> >>Eric Jin (10): >> FmpDevicePkg: Add UEFI_DRIVER support >> FmpDevicePkg: Add APIs to FmpDeviceLib >> FmpDEvicePkg/FmpDeviceLibNull: Implement new APIs >> FmpDevicePkg/FmpDxe: Use new FmpDeviceLib APIs >> FmpDevicePkg/FmpDxe: Different variable for each FMP Descriptor >> FmpDevicePkg: Add Capsule Update Policy Protocol >> FmpDevicePkg/FmpDxe: Improve all DEBUG() messages >> FmpDevicePkg/FmpDxe: Add PcdFmpDeviceImageTypeIdGuid >> FmpDevicePkg/FmpDxe: Add PcdFmpDeviceStorageAccessEnable >> FmpDevicePkg/FmpDxe: Remove use of CatSprint() >> >> .../CapsuleUpdatePolicyDxe.c | 173 ++++ >> .../CapsuleUpdatePolicyDxe.h | 140 +++ >> .../CapsuleUpdatePolicyDxe.inf | 48 + >> .../CapsuleUpdatePolicyDxe.uni | 14 + >> .../CapsuleUpdatePolicyDxeExtra.uni | 14 + >> FmpDevicePkg/FmpDevicePkg.dec | 43 +- >> FmpDevicePkg/FmpDevicePkg.dsc | 64 +- >> FmpDevicePkg/FmpDevicePkg.uni | 16 +- >> FmpDevicePkg/FmpDxe/DetectTestKey.c | 16 +- >> FmpDevicePkg/FmpDxe/FmpDxe.c | 792 ++++++++++------ >> FmpDevicePkg/FmpDxe/FmpDxe.h | 355 ++++++++ >> FmpDevicePkg/FmpDxe/FmpDxe.inf | 7 +- >> FmpDevicePkg/FmpDxe/FmpDxeLib.inf | 7 +- >> FmpDevicePkg/FmpDxe/VariableSupport.c | 844 +++++++++++++----- >> FmpDevicePkg/FmpDxe/VariableSupport.h | 135 ++- >> FmpDevicePkg/Include/Library/FmpDeviceLib.h | 104 ++- >> .../CapsuleUpdatePolicyLibOnProtocol.c | 171 ++++ >> .../CapsuleUpdatePolicyLibOnProtocol.inf | 40 + >> .../CapsuleUpdatePolicyLibOnProtocol.uni | 15 + >> .../Library/FmpDeviceLibNull/FmpDeviceLib.c | 93 +- >> .../FmpDeviceLibNull/FmpDeviceLibNull.inf | 4 +- >> .../FmpPayloadHeaderLibV1.inf | 4 +- >> .../Library/FmpPayloadHeaderLib.h | 0 >> .../Protocol/CapsuleUpdatePolicy.h | 132 +++ >> 24 files changed, 2644 insertions(+), 587 deletions(-) create mode >>100644 FmpDevicePkg/CapsuleUpdatePolicyDxe/CapsuleUpdatePolicyDxe.c >> create mode 100644 >>FmpDevicePkg/CapsuleUpdatePolicyDxe/CapsuleUpdatePolicyDxe.h >> create mode 100644 >>FmpDevicePkg/CapsuleUpdatePolicyDxe/CapsuleUpdatePolicyDxe.inf >> create mode 100644 >>FmpDevicePkg/CapsuleUpdatePolicyDxe/CapsuleUpdatePolicyDxe.uni >> create mode 100644 >>FmpDevicePkg/CapsuleUpdatePolicyDxe/CapsuleUpdatePolicyDxeExtra.uni >> create mode 100644 FmpDevicePkg/FmpDxe/FmpDxe.h create mode >100644 >>FmpDevicePkg/Library/CapsuleUpdatePolicyLibOnProtocol/CapsuleUpdateP >o >>licyLibOnProtocol.c >> create mode 100644 >>FmpDevicePkg/Library/CapsuleUpdatePolicyLibOnProtocol/CapsuleUpdateP >o >>licyLibOnProtocol.inf >> create mode 100644 >>FmpDevicePkg/Library/CapsuleUpdatePolicyLibOnProtocol/CapsuleUpdateP >o >>licyLibOnProtocol.uni >> rename FmpDevicePkg/{Include =3D> >>PrivateInclude}/Library/FmpPayloadHeaderLib.h (100%) create mode >>100644 FmpDevicePkg/PrivateInclude/Protocol/CapsuleUpdatePolicy.h >> >>-- >>2.20.1.windows.1 >> >> >>