From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id C9FE9D804D6 for ; Tue, 6 Feb 2024 02:27:34 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=lvtvUykbPDayh4nAln34p9G5qchQcgSNzpGU1GQxCho=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results: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:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1707186453; v=1; b=f9oi9QlFDJzIxXWX2fHYCLT1u7174R6wVK10z2W6BXmtlT7xMrhovoRV44j+gM3PpHnY5eIc huXO7TvbX9Tc6kKYSLXH5Timaw//ZxzYgL7FKCsRxNJBzVha+ENp303NSe8TDXhG9scC8Sfpw2p MCAMSSsIo4N62M7WXJuh7hHs= X-Received: by 127.0.0.2 with SMTP id AWLxYY7687511x5Qvz9n5Uyp; Mon, 05 Feb 2024 18:27:33 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18]) by mx.groups.io with SMTP id smtpd.web11.13099.1707186452351998408 for ; Mon, 05 Feb 2024 18:27:32 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10975"; a="803476" X-IronPort-AV: E=Sophos;i="6.05,245,1701158400"; d="scan'208";a="803476" X-Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Feb 2024 18:27:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,245,1701158400"; d="scan'208";a="5485957" X-Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmviesa005.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 05 Feb 2024 18:27:30 -0800 X-Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 5 Feb 2024 18:27:29 -0800 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.35 via Frontend Transport; Mon, 5 Feb 2024 18:27:29 -0800 X-Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.101) 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.35; Mon, 5 Feb 2024 18:27:29 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QSnzBHUwAO21m8fNAC+dK90yU1UYG33MHqihsapLCMO8gn/zFDJMWWRbLrk1UuSsNDivPTQ6ufVpgSSVS+BSxKyC7TdMlJxs3pcO46HBVW6R03b3fuSsReVNsjv0QL2ep+6zbc4xPzhuF3rJpRNM0s/4lOm+yRCiKEU3MA3OBqpC60e5GkFcTdRO4CzpVH4sZFKYlHO19ATkunTondz2V+syw4C9h67vSLd53OuQlK4hocWL6v+G/M6Z+lxiKAukQsSslUxz/Yy6eQVkhTnqW6J7TbPbJMgjJtmzBBw9F0VXdpTGrczjp52mBKA62UtWekkHu9JAHKKWsBwcyQ0uNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ec4j3Mtc40ksWIe3mu8aNE0DYudjj8W/ibZANEt19IY=; b=AqT1bBtMLbjUna6Okib4wI/QX9s4FfljsXElg+qEZHwusVI/jh40grKh72UgUpmJ8g+0qu1ylcebTZZkiZWoUGfNA6KuuB/z0+isYcFeUmucbNrHdZMl5+htMhqNDIORMCBAKBnX+6HsuG2L+vbrOhJmGwX4zaoNeFFZ6qkcd7OGPfRFEYUT04CaH6bpLB14rM2eMuuzcMOop5+M4dPxpHyWpFY3oIriHzM3o+G4veiysp5WHsWQrBEzK/c5GQTBMsyt9ClXgC9/4JlvzOiKH1gZ1Q+cNBT7rF248kbFjRWF5ancHFG2i1ocFrjK2m3YgOu+I7RvWjOS3unq/5mZAw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none X-Received: from MN6PR11MB8244.namprd11.prod.outlook.com (2603:10b6:208:470::14) by BY1PR11MB8007.namprd11.prod.outlook.com (2603:10b6:a03:525::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.33; Tue, 6 Feb 2024 02:27:22 +0000 X-Received: from MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::f4e6:157c:2058:8b1d]) by MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::f4e6:157c:2058:8b1d%4]) with mapi id 15.20.7249.032; Tue, 6 Feb 2024 02:27:21 +0000 From: "Ni, Ray" To: "Gao, Liming" , "Kinney, Michael D" CC: "Tan, Dun" , "devel@edk2.groups.io" Subject: Re: [edk2-devel] [Patch V2 0/3] Fix potential issue in CpuPageTableLib and SMM page table initialization Thread-Topic: [edk2-devel] [Patch V2 0/3] Fix potential issue in CpuPageTableLib and SMM page table initialization Thread-Index: AQHaWJ/+EJzZgLVuPUeM41s/pjZNaLD8ljNA Date: Tue, 6 Feb 2024 02:27:21 +0000 Message-ID: References: <20240206015757.1816-1-dun.tan@intel.com> In-Reply-To: <20240206015757.1816-1-dun.tan@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN6PR11MB8244:EE_|BY1PR11MB8007:EE_ x-ms-office365-filtering-correlation-id: ddf5133a-9082-4f04-ecd1-08dc26bb25c0 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: ZOxvEciFIZNUQyO8Ynd4kCk8uECj3SyiqAAVeeyooSa9YHhze7PWjZg/JNm+P7CyrNHY8cbnGh/jduXLhlH5SxPS43+hRp7cNnSKPjBjJHHXWJKweRL/MzRsYIXpPPIjmpf0wp/FTNNC1E+I627F4w+poqyo3/FOetwcpaAdH2wCH+8g55eVsOtdrIg2G6ZBjlx8DGzFDvEvZjwUxvdjJaePSThZMQRcUrPXmzenk93Udy22rDS7SctuLf8F3HsCC0vd1RbqMRQtf+P8Z52Aay8ipImcPtN0vfAEe5ypNwjT/IY+eFFOg9vx8Yz4ejW+RjDzccnUXWpkoGIu5BHvQCnd0Uuumf/LLoAHde6N9+xnsd9dUibTt1YsVcDqgyywfTwgUdLzmXbwuPNMhUkNndSCu075LcpzAIVHuR0BxGijEZiXEoD1WWl9IWGZyA50O2sOgRWMiZeC69xH6Vw881zMREvkQ4PY3Ycojn5pFFTrgmFQYu9+s8GXuLw/Fo+OTxS9jxv6OWe0Fg89Xa7cRa3Sjo9uOa3xCVSbMNvydMfwequPXKaG144l2E/6BgCiAAaP4aSuHB+qHnv09AaPNXSQQxcKib2qVxq2kDdlNvFo3ADEBJouwTt5e8FhUlhcghIg0grgVyDvakFkC9BXVA== x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?wWWXy+A7yPrlkFReTqAJ7dmYr1KEEnRMC/klBNdER0TgrXHF/osBvSd9XYle?= =?us-ascii?Q?SYldywU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Zz8Pv?= =?us-ascii?Q?SuryZM1gRzqQnEtthShpB62aBOVBxtkq2oo6C4LW1JT5rm8gEMbSQ4aJs6pS?= =?us-ascii?Q?XqMeBJdjps+4fHByezRbSG/0UKFJcH7xTtyUGMwNjsV6yX9Uz6lJlSjKo/TV?= =?us-ascii?Q?oPm/sCgPGZx6A80HeIC26kEmdUF3gdh6F9UtB/9mF7tj9uudxcvFrwtl7Lxu?= =?us-ascii?Q?6qYATrDgFdVTpSZrD0OyvovRhAdy6GPKy2p8R0bX6Xq3a4WyIWVTyEGJI5EX?= =?us-ascii?Q?m5wYiLOt7HsZWk9FNz2oeDa3/WKxLtQGSTxsqJf+AhA5IW4v3kzT3TsLOyaB?= =?us-ascii?Q?uZDC2T1T+KSfLwK/jH6CI17aSe8lRxOaaPlHeCIjnBCMi4yp90skQO7w8AZt?= =?us-ascii?Q?HJ8iNPlxjzIkFZwbv2+CtUY/JVEgmm71VVeNhkPPuUf5G4tS5zzlzaH8X5um?= =?us-ascii?Q?KI+su2kHGY+zA6WIhaWxlZj3vBYg5Cp8yM8SPTGwMMMq6+kS3daTvhRO6+rn?= =?us-ascii?Q?JnNP8Gg/ZpYh8Iqud0YIFDz1XOjLDfI/zLNM58xlKxfmf5fRLxy+JX5Twp/L?= =?us-ascii?Q?2y1yT6jdvCRfddVsHr1Jk82OhtCV0dNpq021wVONh+MZ8rUZ3E5Mfus63ZAE?= =?us-ascii?Q?KUI40u6EJNREtn31QDE=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN6PR11MB8244.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ddf5133a-9082-4f04-ecd1-08dc26bb25c0 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Feb 2024 02:27:21.3882 (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: DeKehLPcSlEH3njtDWmX/xP/swhRnw36vyzPv5qfp2+oi4KzK9NuKCLnRmEC5pNpF34sunHiv8/HcMEcwp+nnA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR11MB8007 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 Reply-To: devel@edk2.groups.io,ray.ni@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: Yj3A1EYshupaI5pce8xnyWFex7686176AA= 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=20140610 header.b=f9oi9QlF; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") Liming, Mike, I just realized soft freeze started yesterday. I would like to merge the 3 patches as they fix a critical SMM hang issue f= ound in reboot cycling test. Thanks, Ray > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of duntan > Sent: Tuesday, February 6, 2024 9:58 AM > To: devel@edk2.groups.io > Subject: [edk2-devel] [Patch V2 0/3] Fix potential issue in CpuPageTableL= ib > and SMM page table initialization >=20 > In V2 patch set, only the order of 2 lines of code was adjusted. >=20 > Original description: > This patch set is to fix potential issue in CpuPageTableLib and SMM page = table > initialization >=20 > The first patch "UefiCpuPkg: Reduce and optimize access to attribute" is = to > reduce and optimize access to > attribute in page table modification code in CpuPageTableLib. >=20 > The patch "UefiCpuPkg: Add more Paging mode enumeration" and " > UefiCpuPkg/PiSmmCpuDxeSmm:Map SMRAM in 4K page granularity" > is to map SMRAM in 4K page granularity during SMM page table > initialization(SmmInitPageTable). > This is to avoid the SMRAM paging-structure layout change(page split) whe= n > SMM ready to lock (PerformRemainingTasks). >=20 > Dun Tan (2): > UefiCpuPkg: Add more Paging mode enumeration > UefiCpuPkg/PiSmmCpuDxeSmm:Map SMRAM in 4K page granularity >=20 > Zhou Jianfeng (1): > UefiCpuPkg: Reduce and optimize access to attribute >=20 > UefiCpuPkg/Include/Library/CpuPageTableLib.h | 8 +++++++- > UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableMap.c | 86 > +++++++++++++++++++++++++++++++++++++++++++++++++++++--------- > ------------------------ > UefiCpuPkg/PiSmmCpuDxeSmm/SmmCpuMemoryManagement.c | 116 > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > ++++++++++++++++++++++++++++++++++------------------------ > 3 files changed, 152 insertions(+), 58 deletions(-) >=20 > -- > 2.31.1.windows.1 >=20 >=20 >=20 >=20 >=20 -=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 (#115139): https://edk2.groups.io/g/devel/message/115139 Mute This Topic: https://groups.io/mt/104191038/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-