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 18:22:32 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Aug 2019 18:22:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,379,1559545200"; d="scan'208,217";a="187620364" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga002.jf.intel.com with ESMTP; 12 Aug 2019 18:22:31 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 12 Aug 2019 01:58:34 -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 16:54:38 +0800 From: "Liming Gao" To: "Gao, Zhichao" , "rfc@edk2.groups.io" CC: "devel@edk2.groups.io" Subject: Re: [RFC] BZ 1772 MdeModulePkg: Transfer reset data for 201908 stable tag Thread-Topic: [RFC] BZ 1772 MdeModulePkg: Transfer reset data for 201908 stable tag Thread-Index: AdVQ63t5zoEQ0b+FRTOyMHwSIUottg== Date: Mon, 12 Aug 2019 08:54:38 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E4CEBAB@SHSMSX104.ccr.corp.intel.com> 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: multipart/alternative; boundary="_000_4A89E2EF3DFEDB4C8BFDE51014F606A14E4CEBABSHSMSX104ccrcor_" --_000_4A89E2EF3DFEDB4C8BFDE51014F606A14E4CEBABSHSMSX104ccrcor_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Zhichao: Do you propose this feature for 201908 stable tag? From: Gao, Zhichao Sent: Monday, August 12, 2019 4:33 PM To: rfc@edk2.groups.io Cc: devel@edk2.groups.io; Gao, Liming Subject: [RFC] BZ 1772 MdeModulePkg: Transfer reset data HI, BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1772 Before the ResetData of ResetSystem is limit by ResetType and ResetStatus. = As the Uefi spec update to 2.8, there is no limit any longer. Here we introduce a new API ResetSystemWithSubtype to transfer a null strin= g and GUID data with all ResetType to reset system. It is useful for capsule update to get a specific GUID to do some special o= peration with specific phase. That can be implemented in platform code thru= Reset Notify protocol. Here is the guids: gEdkiiCapsuleArmedResetGuid =3D {0xc6b4eea7, 0xfce2, 0x4625, {0x= 9c, 0x4f, 0xc4, 0xb0, 0x82, 0x37, 0xae, 0x23}} gEdkiiCapsuleUpdateCompleteResetGuid =3D {0x5d512714, 0xa4df, 0x4e46, {0x= b6, 0xc7, 0xbc, 0x9f, 0x97, 0x9d, 0x59, 0xa0}} Thanks, Zhichao --_000_4A89E2EF3DFEDB4C8BFDE51014F606A14E4CEBABSHSMSX104ccrcor_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Zhichao:

  Do you propose = this feature for 201908 stable tag?

 

From: Gao, Zhichao
Sent: Monday, August 12, 2019 4:33 PM
To: rfc@edk2.groups.io
Cc: devel@edk2.groups.io; Gao, Liming <liming.gao@intel.com> Subject: [RFC] BZ 1772 MdeModulePkg: Transfer reset data<= /p>

 

HI,

 

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1772

 

Before the ResetData of ResetSystem is limit by Rese= tType and ResetStatus. As the Uefi spec update to 2.8, there is no limit an= y longer.

Here we introduce a new API ResetSystemWithSubtype t= o transfer a null string and GUID data with all ResetType to reset system.<= o:p>

It is useful for capsule update to get a specific GU= ID to do some special operation with specific phase. That can be implemente= d in platform code thru Reset Notify protocol.

Here is the guids:

gEdkiiCapsuleArmedResetGuid    &= nbsp;       =3D {0xc6b4eea7, 0xfce2, 0x4625, = {0x9c, 0x4f, 0xc4, 0xb0, 0x82, 0x37, 0xae, 0x23}}

gEdkiiCapsuleUpdateCompleteResetGuid   =3D= {0x5d512714, 0xa4df, 0x4e46, {0xb6, 0xc7, 0xbc, 0x9f, 0x97, 0x9d, 0x59, 0x= a0}}

 

Thanks,

Zhichao

 

 

--_000_4A89E2EF3DFEDB4C8BFDE51014F606A14E4CEBABSHSMSX104ccrcor_--