From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id BDB68740056 for ; Tue, 28 May 2024 06:37:20 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=shrDla/2Rdri0OHowsJcYESwUBpDqYomMJOMaxSZ1Sc=; c=relaxed/simple; d=groups.io; h=From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1716878240; v=1; b=j+LQpzzYawIOC3MkV0vu9XmoHKTYQSLPMaS8jKY0Yxn98k+89nuvlgaDEQGBSmOjG7y4QKZD R7a3WjcGky27pevUGOsreMDORt2GqdjWuWJ4mXHFPWiCaUR6a4mVCni8XikXFgn3RohGCKjYpAv dahSZuqGqYq2W+mfPR3HRpfH/t5hGJRs5T3ZlLlJD9UXWwlkbZdLAaIloTgJp1wxNK27v55O/Tg JUFLJOqNNrAVnjKnfDccMGp5q+6QOi2ZLgXaatdHDr4RtVIkPRETBGBof08GheFFfLO1ZAbf+/J 0pimrSUiXuyEJzbMyQTURyAgahddjIwwy4gsFWtb28/sw== X-Received: by 127.0.0.2 with SMTP id FCE8YY7687511xRt1KAbfvUz; Mon, 27 May 2024 23:37:19 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.17]) by mx.groups.io with SMTP id smtpd.web11.16160.1716878238686361686 for ; Mon, 27 May 2024 23:37:18 -0700 X-CSE-ConnectionGUID: ql8oVA6JR8m+18npB7tXHg== X-CSE-MsgGUID: 47DYJisWTQ+TFPb8KdAJHg== X-IronPort-AV: E=McAfee;i="6600,9927,11085"; a="13075433" X-IronPort-AV: E=Sophos;i="6.08,194,1712646000"; d="scan'208";a="13075433" X-Received: from orviesa004.jf.intel.com ([10.64.159.144]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 May 2024 23:37:18 -0700 X-CSE-ConnectionGUID: Lv/sbrfmRvekIDD6dt1DJg== X-CSE-MsgGUID: faZY9nRSQOuhgrk6qK56dw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,194,1712646000"; d="scan'208";a="39933934" X-Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orviesa004.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 27 May 2024 23:37:17 -0700 X-Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Mon, 27 May 2024 23:37:17 -0700 X-Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Mon, 27 May 2024 23:37:17 -0700 X-Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.168) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Mon, 27 May 2024 23:37:17 -0700 X-Received: from BN9PR11MB5483.namprd11.prod.outlook.com (2603:10b6:408:104::10) by PH0PR11MB7423.namprd11.prod.outlook.com (2603:10b6:510:282::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.29; Tue, 28 May 2024 06:37:13 +0000 X-Received: from BN9PR11MB5483.namprd11.prod.outlook.com ([fe80::3baa:3852:4315:38f7]) by BN9PR11MB5483.namprd11.prod.outlook.com ([fe80::3baa:3852:4315:38f7%7]) with mapi id 15.20.7611.016; Tue, 28 May 2024 06:37:13 +0000 From: "duntan" To: "devel@edk2.groups.io" , "Tan, Dun" , Liming Gao CC: "Ni, Ray" , "Wu, Jiaxin" Subject: Re: [edk2-devel] [Patch V2 01/18] MdeModulePkg: Add gEdkiiS3MtrrSettingGuid Thread-Topic: [edk2-devel] [Patch V2 01/18] MdeModulePkg: Add gEdkiiS3MtrrSettingGuid Thread-Index: AQHaqELiWWHcnmR5f0KoAnjhF2dfhrGsQIRA Date: Tue, 28 May 2024 06:37:13 +0000 Message-ID: References: <20240517094610.533-1-dun.tan@intel.com> <17D03D9CBFB2693B.16299@groups.io> In-Reply-To: <17D03D9CBFB2693B.16299@groups.io> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BN9PR11MB5483:EE_|PH0PR11MB7423:EE_ x-ms-office365-filtering-correlation-id: 974d1cfa-97a3-4047-56e7-08dc7ee09c14 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: =?us-ascii?Q?t6YRg0ZFgxgab5gvxYPXwPBJHGKmWJgj7f3xBRlfBd0byVKlFIicO/GVlvAK?= =?us-ascii?Q?Kus9rQ5A3bewnu/4Hoa6hG41hiMIlaU/jE9F4g9y5CTi6Qvd35lQBMznpNIv?= =?us-ascii?Q?fdZiLEwGcAkm0f9KpB5LZ6q3edBC72PqqwFgqbCtWEOOWIfV/zjrOxsNlyZr?= =?us-ascii?Q?mmrf/UeQO68ckmqnfTdRey5yxm7E8Hn6uDg0vwM35JOBm0Z+4PCDTksSEro6?= =?us-ascii?Q?hpf/00P86awv9Rn8L4KWy0MprdIgkBaosBtxKxSl0ywfOrvasbYRC6/dmBxw?= =?us-ascii?Q?JSt5ABLv81qg4nh6w4isWWxC1ksFyCP7fcZgxgKhaXw872dslGbKcZDetZBY?= =?us-ascii?Q?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Nnwl?= =?us-ascii?Q?bL5Up1lhUlhJoyC1RDXYMOpiyefJH4p62Z78NNbd+JRdZu2utE65gEw3HbqW?= =?us-ascii?Q?EcA=3D?= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?XF5Xb6hGdEqij3MEX40n3MBKhGI5sxLSB1fsVHpGPxy+IviCwI8Cyo32XNr7?= =?us-ascii?Q?PQp3/M6mBL/cLasxyEwuHl8xBAvgCVNYkRP26tENgRf2AE2WLCwyo0XjB6rs?= =?us-ascii?Q?EHL3LJ/4p5+/o6R0ukCRAwYfGM7KAgHb4L4C3wMpGf+PD1nIPGdz1Z9Rzyvg?= =?us-ascii?Q?q6+8tkP+bcmAhTCUpyTQ/Q1CG8pSCeNe2msxj23UNeFglaO/kXnQP0or3Ii3?= =?us-ascii?Q?Ag/xegYKdMJc8jzlT3dqs9kFCeTRCfplUZjvSn3TUTlaK6ro2CoHa571Fhms?= =?us-ascii?Q?44C7Y/k9jANnrB/lCrzR3ecV0a/MR6pubiMgL5gZPA0H2nlSd7E1njPaiJJ0?= =?us-ascii?Q?p5p2fUCmbQFchRhLPxZKOwk6fGbNzOPnYGh3tB4tpiCOVuCHyYcWGlXP1zfA?= =?us-ascii?Q?CIDILV4lHr/fA9c6HOGaqNoDxplalw/AXDdGUZmlIX+N9UXN+IyB/IkNr5ny?= =?us-ascii?Q?a7yBsl8DLJBPmzPnFIYNAK8KiNR6+eymVbOg76N6/po8e4WtLgfnqt9/nvzR?= =?us-ascii?Q?1nTVDLivuW5EPXKI+AWZDt4h5OReQqXgydsMFr6yzJeYBnfNiP03++O3A7eK?= =?us-ascii?Q?wINeR6IVrJUvwqfmPbVJqt6eimGdKgJVSl/f7E9PSNzPDVDOmaXul1+3Vmj4?= =?us-ascii?Q?JqHYoplxfi98XXzczPV1sDmhMKhVNka3oP4DmQPP5R/qGwNe1Lw8RjJvjP4C?= =?us-ascii?Q?3zQ6WFgql5Krdqc3XFCNZ6GzEag5ngMxKqTqCO8CHLnJV0REWZ+RN7xuORpT?= =?us-ascii?Q?MyfuLOA0wUTnU7lUoBOWGu6y1OcUaFtjgs5bfNV4rr/3c3/9YBDprn10gOwj?= =?us-ascii?Q?6QLbqSbiCwu9kmib504PllwE1NpQapJoEGl8d1d+Fbwikt/26CQPuoMkikNq?= =?us-ascii?Q?m3gTLz3mrHdyWWD6sxnREkyX2cCw6bMCzYma5KQPmURnIE48g5+4t+RaidJi?= =?us-ascii?Q?Gu7jtumPfw0byFhrHJBSzH2tkSKRBHnP1g2hqI1KOQ2KWZbaebYjezckrLI9?= =?us-ascii?Q?toIHzEmfeuB88N80zqaXuU7uWEK4C3Um8/u8kxnSwDKtkjv9oVM//tEoReG0?= =?us-ascii?Q?keEuHUTHiCXlPsFhggrJuY7vLhxycdDG1RQVzt51oeb+lK9L8w5Rg0C1qc/F?= =?us-ascii?Q?ScVG2FO+Sudy/V3v/2yO2lZqrTEwI7LyAh754llhbTUqY6Ka6DXnIZ61HAf9?= =?us-ascii?Q?1eoypBr1z9mwYAyGyGcqbbyNuQekTvjgCmfprUPxyAQH0Tk+PCmpWjrokEbh?= =?us-ascii?Q?2hYCQTJ0FllfvI9hYxsUZLxa+ZKph5J+2mG/qlft3/N2WPKedSOi/Hrwg2RE?= =?us-ascii?Q?J5jcLgJlGGakvY8+mSh+2iQGIWacWSkE8/F7xm5PptqFZcLTtQJ/6XxT1sKJ?= =?us-ascii?Q?7TcLIeJa3o0U9bY7Ye5d7+UeBzc55p4U+11vYI+DZwA06Dvsf7CcRDkva6qk?= =?us-ascii?Q?7jMMdlC6lP48o3k6Z/Zh67U/CKSRHjx0JHmWsLyPHKB6LBuFoKqnBVPRxdO8?= =?us-ascii?Q?fQldQ195wil1PuBFXsDAqfLQcukqlxBhMzj0ra9/OzpgX7J4x3QHXE0q7h84?= =?us-ascii?Q?yk10a15H2PAbHg9UZz8=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN9PR11MB5483.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 974d1cfa-97a3-4047-56e7-08dc7ee09c14 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 May 2024 06:37:13.5779 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: akg+sfW4QBK/lPFGl+ZQIkGkOm5xHd5aTafonBG+aLzlJ/AahW+NGZOqDvmIGKWert9oj14PjNIo8FLx39HzvQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB7423 X-OriginatorOrg: intel.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Mon, 27 May 2024 23:37:18 -0700 Resent-From: dun.tan@intel.com Reply-To: devel@edk2.groups.io,dun.tan@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: GZokWSlrOL2jaQUkkCnxJEvox7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=j+LQpzzY; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io Hi Liming, Could you please help to review this patch? This patch set is to simplify the X86 CPU SMM driver by removing most of S3= related logics and we want to merge it as soon as possible. Thanks, Dun -----Original Message----- From: devel@edk2.groups.io On Behalf Of duntan Sent: Friday, May 17, 2024 5:46 PM To: devel@edk2.groups.io Cc: Ni, Ray ; Liming Gao ; Wu, = Jiaxin Subject: [edk2-devel] [Patch V2 01/18] MdeModulePkg: Add gEdkiiS3MtrrSettin= gGuid Add gEdkiiS3MtrrSettingGuid a new GUID for s3 MTRR setting. This GUID will = be used to save MTRR_SETTINGS at EndOfDxe by LockBox and restore at S3 boot= PEI phase for s3 usage. Signed-off-by: Dun Tan Reviewed-by: Ray Ni Cc: Liming Gao Cc: Jiaxin Wu --- MdeModulePkg/MdeModulePkg.dec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec = index f7339f0aec..02f330a453 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -4,7 +4,7 @@ # and libraries instances, which are used for those modules. # # Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. -# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.
+# Copyright (c) 2007 - 2024, Intel Corporation. All rights=20 +reserved.
# Copyright (c) 2016, Linaro Ltd. All rights reserved.
# (C) Copyrigh= t 2016 - 2019 Hewlett Packard Enterprise Development LP
# Copyright (c= ) 2017, AMD Incorporated. All rights reserved.
@@ -465,6 +465,9 @@ gEdk2JedecSfdpSpiDxeDriverGuid =3D { 0xBE71701E, 0xB63C, 0x4574, { 0x9C= , 0x5C, 0x36, 0x29, 0xE8, 0xEA, 0xC4, 0x14 }} gEdk2JedecSfdpSpiSmmDriverGuid =3D { 0x95A1E915, 0x195C, 0x477C, { 0x92= , 0x6F, 0x7E, 0x24, 0x67, 0xC1, 0xB3, 0x1F }} =20 + ## This GUID will be used to save MTRR_SETTINGS at EndOfDxe by LockBox a= nd restore at S3 boot PEI phase for s3 usage. + gEdkiiS3MtrrSettingGuid =3D { 0xd77baa84, 0xb332, 0x4463, { 0x9f, 0x1d,= =20 + 0xce, 0x81, 0x00, 0xfe, 0x7f, 0x35 }} + [Ppis] ## Include/Ppi/FirmwareVolumeShadowPpi.h gEdkiiPeiFirmwareVolumeShadowPpiGuid =3D { 0x7dfe756c, 0xed8d, 0x4d77, {= 0x9e, 0xc4, 0x39, 0x9a, 0x8a, 0x81, 0x51, 0x16 } } -- 2.31.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119293): https://edk2.groups.io/g/devel/message/119293 Mute This Topic: https://groups.io/mt/106344405/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-