From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: hao.a.wu@intel.com) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by groups.io with SMTP; Thu, 13 Jun 2019 00:49:12 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Jun 2019 00:49:11 -0700 X-ExtLoop1: 1 Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga003.jf.intel.com with ESMTP; 13 Jun 2019 00:49:11 -0700 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 13 Jun 2019 00:49:10 -0700 Received: from shsmsx105.ccr.corp.intel.com (10.239.4.158) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 13 Jun 2019 00:49:10 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.185]) by SHSMSX105.ccr.corp.intel.com ([169.254.11.72]) with mapi id 14.03.0439.000; Thu, 13 Jun 2019 15:49:08 +0800 From: "Wu, Hao A" To: "Gao, Zhichao" , "devel@edk2.groups.io" CC: "Wang, Jian J" , "Ni, Ray" , "Zeng, Star" , "Gao, Liming" , Sean Brogan , Michael Turner , Bret Barkelew , Leif Lindholm Subject: Re: [PATCH v5 0/5] MdeModulePkg/CapsulePei: Optimize the CapsulePei Thread-Topic: [PATCH v5 0/5] MdeModulePkg/CapsulePei: Optimize the CapsulePei Thread-Index: AQHVH0xA8JFnSjY/Jk2i7u3B0/VcEKaZOjIw Date: Thu, 13 Jun 2019 07:49:08 +0000 Message-ID: References: <20190610052036.11924-1-zhichao.gao@intel.com> In-Reply-To: <20190610052036.11924-1-zhichao.gao@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: hao.a.wu@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable > -----Original Message----- > From: Gao, Zhichao > Sent: Monday, June 10, 2019 1:21 PM > To: devel@edk2.groups.io > Cc: Wang, Jian J; Wu, Hao A; Ni, Ray; Zeng, Star; Gao, Liming; Sean Broga= n; > Michael Turner; Bret Barkelew; Leif Lindholm > Subject: [PATCH v5 0/5] MdeModulePkg/CapsulePei: Optimize the > CapsulePei >=20 > v1: > Sperate the capsule check function from GetCapsuleDescriptors > and name it to AreCapsulesStaged. > Rename GetCapsuleDescriptors to GetScatterGatherHeadEntries. > And optimize its to remove the duplicated code. >=20 > V2: > Clarify the changes of the patch and descript in the commit > message. >=20 > V3: > Add the code change repo location in Mu and add description of > the changes on it. > Do not need to remain 2 byte for the null-terminate while using > UnicodeValueToStringS. >=20 > V4: > Separate the patch into 2 part. first part is changes from MU. > Second part is the substantial change on it. >=20 > V5: > Separate the substantial change in 2/2 base on the purpose. With the comment from Leif handled, for the series: Reviewed-by: Hao A Wu Best Regards, Hao Wu >=20 > Cc: Jian J Wang > Cc: Hao A Wu > Cc: Ray Ni > Cc: Star Zeng > Cc: Liming Gao > Cc: Sean Brogan > Cc: Michael Turner > Cc: Bret Barkelew > Cc: Leif Lindholm >=20 > Bret Barkelew (1): > MdeModulePkg/CapsulePei: Optimize the CapsulePei >=20 > Zhichao Gao (4): > MdeMoudlePkg/CapsulePei: Fix coding style issue > MdeMoudlePkg/CapsulePei: Optimize AreCapsulesStaged > MdeMoudlePkg/CapsulePei: Optimize GetScatterGatherHeadEntries > MdeMoudlePkg/CapsulePei: No need to remain space for null-terminate >=20 > MdeModulePkg/Universal/CapsulePei/Capsule.h | 1 + > .../Universal/CapsulePei/CapsulePei.inf | 1 + > .../Universal/CapsulePei/UefiCapsule.c | 356 +++++++++--------- > 3 files changed, 190 insertions(+), 168 deletions(-) >=20 > -- > 2.21.0.windows.1