From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.120; helo=mga04.intel.com; envelope-from=ruiyu.ni@intel.com; receiver=edk2-devel@lists.01.org Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 4B1A521E1B75F for ; Wed, 11 Oct 2017 00:06:17 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Oct 2017 00:09:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,360,1503385200"; d="scan'208";a="145154098" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga002.jf.intel.com with ESMTP; 11 Oct 2017 00:09:45 -0700 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 11 Oct 2017 00:09:37 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 11 Oct 2017 00:09:37 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.152]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.213]) with mapi id 14.03.0319.002; Wed, 11 Oct 2017 15:09:35 +0800 From: "Ni, Ruiyu" To: "Dong, Eric" , "edk2-devel@lists.01.org" CC: "Yao, Jiewen" Thread-Topic: [Patch v2 0/3] Add SmmEndOfS3Resume event. Thread-Index: AQHTQlJG218rvDtO+kSEr1I6ULSRc6LeOvVg Date: Wed, 11 Oct 2017 07:09:35 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D5BA919AC@SHSMSX104.ccr.corp.intel.com> References: <1507699907-7448-1-git-send-email-eric.dong@intel.com> In-Reply-To: <1507699907-7448-1-git-send-email-eric.dong@intel.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch v2 0/3] Add SmmEndOfS3Resume event. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 07:06:18 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Please don't forget to change the structure name as proposed by Jiewen. Reviewed-by: Ruiyu Ni Thanks/Ray > -----Original Message----- > From: Dong, Eric > Sent: Wednesday, October 11, 2017 1:32 PM > To: edk2-devel@lists.01.org > Cc: Ni, Ruiyu ; Yao, Jiewen > Subject: [Patch v2 0/3] Add SmmEndOfS3Resume event. >=20 > This patch series add new SmmEndOfS3Resume event which required by > some SMM drivers. > It will implmented by SmmCore to install the > gEdkiiSmmEndOfS3ResumeProtocolGuid > Protocol. Smm drivers can install this protocol's notification functions = to hoot > this envet. > It will be trigged right after the EndOfPei event in S3 resume phase. >=20 > V2 Changes: Only change patch 2/3 > 1. Change structures name to avoid they start with EFI_. > 2. Base on DXE phase bits to provide communication buffer, current > implement check both PEI and DXE phase. >=20 > Cc: Ruiyu Ni > Cc: Jiewen Yao > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Eric Dong >=20 > Eric Dong (3): > MdeModulePkg/SmmEndOfS3Resume.h: Add new protocol definition. > UefiCpuPkg/S3Resume2Pei: Send S3 resume finished event to SmmCore. > MdeModulePkg/PiSmmCore: Install Protocol when S3 resume finished. >=20 > MdeModulePkg/Core/PiSmmCore/PiSmmCore.c | 55 ++++++++++++-- > MdeModulePkg/Core/PiSmmCore/PiSmmCore.h | 24 ++++++ > MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf | 1 + > MdeModulePkg/Include/Protocol/SmmEndOfS3Resume.h | 31 ++++++++ > MdeModulePkg/MdeModulePkg.dec | 3 + > UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c | 85 > ++++++++++++++++++++++ > .../Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf | 4 + > 7 files changed, 196 insertions(+), 7 deletions(-) create mode 100644 > MdeModulePkg/Include/Protocol/SmmEndOfS3Resume.h >=20 > -- > 2.7.0.windows.1