From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web11.6855.1683683821598850620 for ; Tue, 09 May 2023 18:57:02 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=MQwiU1wR; spf=pass (domain: intel.com, ip: 192.55.52.120, mailfrom: jiaxin.wu@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1683683822; x=1715219822; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=whqkIvQCAJb9FAKuEldTCg6l5YFhAq2tR5cZqckIJA8=; b=MQwiU1wRZKXg3bA6qf0qVMzatV7zgiTzHs8CnlKpAzZyBgX0Lgbh0223 pOIo0JaebElMuj3Xq5a/ehhpwAbs0LZW13pAfNjS5dWs/A6C1WP9zsUda 5g3y8FLGHWce5Ndev/7zhOzLeDRkskWrjHLnCXfds4TNo+jKRAUvu/U4U PJxPcNyU2MwaUfLAwh0giXdV+ObytcWkulreTt9KI2ttJMs0rSKs0ZoUn I2UnfooUF3LGE2e7fEaERWMKEpn2aEfu6Ho7RlX+UPXjUtzA08pPs1vco 5EkmlhcsyYlbhiLyibbifMTgOpd32ukQcsmUXJBfjpp9+neImO+mPHud7 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10705"; a="348939300" X-IronPort-AV: E=Sophos;i="5.99,263,1677571200"; d="scan'208";a="348939300" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 May 2023 18:57:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10705"; a="693218655" X-IronPort-AV: E=Sophos;i="5.99,263,1677571200"; d="scan'208";a="693218655" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga007.jf.intel.com with ESMTP; 09 May 2023 18:57:02 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) 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.23; Tue, 9 May 2023 18:57:01 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Tue, 9 May 2023 18:57:01 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) 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.23 via Frontend Transport; Tue, 9 May 2023 18:57:01 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.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.23; Tue, 9 May 2023 18:57:01 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UQ1RnwtmBgdCMSDtPZNPK7uCnaPcfxfRH2N4JPRDyg4u4fP010v6EbwjA7PCrmOq15vS+ud9a6u3NsD54DlOFhXPI1b2A9b/7D9dmzxguSX2e40opjDJoLGz8rI0KnNCo8XrKKShB+Psw1R6E5hO2c0FXd96v9FesXNRnvrcWd3mriQu1lqO7iHHg1ssFtYcEe52VqrlAya28L/byUGXTWQMmUkUN8lJoqdWc93FTQ67xG7cUsNDFPoYA0uR0a0yd3zVIyZxmupEPYf4/NiFIY3EAhggDS6GsjTQ+ShUbD9uc+ANF3k+kMt8PJBQQ+udh9QHFWqoHIRjpl6KWsuXJg== 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=rOGAGlUkJo73Jp3FSpG9VFDYY+tubEpdRG9lmoQydEo=; b=euS5P1E+Kz4y2jwmGOLTGQMX67JnxBpPsBdC6hLARDtNX9Adz0IIfxb/6TUX84niBNaetRuLJ9fkn8UGQktKcxSwAp9+4piAfF+C/BJOxwo97oh3JKou9XNneqjFfS9o4cRqhOXGioshRSu7AmsroRRlxAD17WnfpdYQ0kEqC+HRPICK7RHqOzVr0ztebX+qQKJY1slC0HZIb2I8jxsDtrk3/YDMjul4sV+oaD2F+vHk2esPRst6EYDwuwjVyIFQfB4x2WIh+sLm7NRApV95wSlfI1VAMSNBlBLE6ZJKzknlq6GG5SG3GFK5wznSTOF3p6dEylIa0blT2SWeujIT+g== 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 Received: from MN0PR11MB6158.namprd11.prod.outlook.com (2603:10b6:208:3ca::18) by DS0PR11MB8113.namprd11.prod.outlook.com (2603:10b6:8:127::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.31; Wed, 10 May 2023 01:57:00 +0000 Received: from MN0PR11MB6158.namprd11.prod.outlook.com ([fe80::647e:54e0:2be7:9d02]) by MN0PR11MB6158.namprd11.prod.outlook.com ([fe80::647e:54e0:2be7:9d02%2]) with mapi id 15.20.6363.032; Wed, 10 May 2023 01:57:00 +0000 From: "Wu, Jiaxin" To: Gerd Hoffmann , "devel@edk2.groups.io" CC: "Bi, Dandan" , "Gao, Liming" , "Dong, Eric" , "Ni, Ray" , "Zeng, Star" , "Kumar, Rahul R" Subject: Re: [edk2-devel] [PATCH v1 3/3] MdeModulePkg/DxeIpl: Align Page table Level setting with previous level. Thread-Topic: [edk2-devel] [PATCH v1 3/3] MdeModulePkg/DxeIpl: Align Page table Level setting with previous level. Thread-Index: AQHZgoSwHKK1AOZ4GE+lx7jyhcu/Rq9St9Dw Date: Wed, 10 May 2023 01:56:59 +0000 Message-ID: References: <20230509102253.16632-1-jiaxin.wu@intel.com> <20230509102253.16632-4-jiaxin.wu@intel.com> In-Reply-To: Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN0PR11MB6158:EE_|DS0PR11MB8113:EE_ x-ms-office365-filtering-correlation-id: a758d6a6-3e1f-4569-7ceb-08db50f9d7bd x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: piVwK3J6lxArLfvmWWgoNLZ1/308pvN1st+iyyka4+hWZVitZG0QT21/hG5yemaqrf1IkiA4xOAlhspRktS3I99aU+FNEVLCN3rDDEODJR1hv4QmjR8Cd+CeJqKxeG7KYAZZGQNzW6S8fNOyWCFFmUgOJ57T7C7J2ar3G7GSp8+gHr1Pw5qz/ufGGXfLZSa5I1xYryi9L5aiBGVPu80mZym7cUg2oBoeVvRXhQRT9IlScxQkY4VzPZnKG7C//H/fO7Lqp2lgQu7Bn4ijX4V8MWDkwGveY7zYScLt/2dwNumjPmehBP53I1UPeb4nYIg0AG7lJKjF/vsYBEhNcQHS4e/Kjzcsm7G1ltocIqFycXQxnjVtQxWasO6LwVToXpnESXzCCfayw8TvJZnfZLDu83e3QOKlhIWxl6Znua/bAA5DKDj0KmZ0qPkSZEzc42TRghxVnpcqpVK0bumFCQHm2oLzggULQgjjzYNobDSa87EwYpjv/cLlckNxg/Z49LSoi2xsPHEa7qRaJp7702BNbWLhHs+neTXO8gh8oX06Y50neLgVWqs8fBeHJwpGfrSGfTP/XTWsXGZVU4YCb62Hkq99yxEiwhoI5fCDBdV6V9CheYEUhUuFGUy0CThCC9tR x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN0PR11MB6158.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(346002)(136003)(376002)(396003)(39860400002)(366004)(451199021)(4744005)(54906003)(2906002)(316002)(8936002)(8676002)(64756008)(66446008)(4326008)(66556008)(5660300002)(66476007)(41300700001)(110136005)(478600001)(66946007)(71200400001)(76116006)(52536014)(7696005)(9686003)(6506007)(26005)(53546011)(107886003)(186003)(82960400001)(38100700002)(55016003)(83380400001)(38070700005)(33656002)(86362001)(122000001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?jJxMbwmrQdqDf01SRe48xo7BuUPFQEh84a/scxW2jo3/ZG6FVYU6uOQ12viW?= =?us-ascii?Q?rNTIB7WRT42aBQnpax6RefdiKoxpYw6GC+lV/iXrF5YPSWpIFMgWNRbrYdQx?= =?us-ascii?Q?9wmNOV6mJuuDe/oGloEl7e8ywtnArOx4GZ0GiNtC+9SiTkNAZf8a/9HiKpIq?= =?us-ascii?Q?xwKv3FAVus1zllczaMVGp5UDAmsXAsvYhFPYLhNAfJs3WE1lxV+2+loK+LML?= =?us-ascii?Q?G77Iu1+ldRHLQjWJq9LVbOn1kJc3304sgOE4Ub89B+JQHIiVh1vUBf6P1Cd6?= =?us-ascii?Q?mV4xQGrJcpEj32CiU7oejfciATgDzve5qtolfikbTNGXEfkv+JO7sluf/5wb?= =?us-ascii?Q?meMz1l7zrqc+iCtMjBSaiyHaUm90DV9mqYNvBHiN2AZkWRldJBKg7KeEiCkd?= =?us-ascii?Q?hn3QbyOBf4cOfQA0fQ1IqBnYBJBcYr0WgvSPVsOxXR9MzG/JnThCCz77s7u0?= =?us-ascii?Q?AKlClFe+EG4MdzBbsIIT+sPkrYRBUjITx9QO4paSkXdg0f1FJuo0vya5NVh0?= =?us-ascii?Q?iN9gzVC9fs+eWLJRXzAECcbAG431QVV3ZpxJOpHLT22SqjHBkOfMaIhIF57h?= =?us-ascii?Q?UrujQEzaZaD3A2uhELkbqyBi6blk/uGysGaUl0n0MXA5lal9x3M05xt5r7vG?= =?us-ascii?Q?hn7FPQZvhBOhJP8cBIrLuUxxchOU2vQT+haNbTYSkyNdS6aF9qKWfwvt5cgm?= =?us-ascii?Q?piFLrIYz2DQksM0D/L3djiFkzBf+gygaL9w6alve4KiA0hG78VLrJ4S7vMEh?= =?us-ascii?Q?JfOdFNvcOFmKlvjRTRO7ubskbFUT1zsryRNN25nbwGWaMnBgVjxyMfAFMuJm?= =?us-ascii?Q?1Ecpc2tgX/XYKCykTuc/E8qRMIahP1FoTtd6MBcCTVc5dT+73gC95tS6U3z7?= =?us-ascii?Q?lp5vPbge0561pcLZ7e8AOBvBKhxfK+XykGx+QbIhLsIFtheNsczRKylTsS0t?= =?us-ascii?Q?jkrSCM0pq6ovnQUv4clAqmBYW8CTcaS1JugrukdUZWaokAxIUAXp0zVeHJc6?= =?us-ascii?Q?AMsS53ZDV1cZCT49h7/2NL463HhAXrtxw+5O8aZV2cm15sKSB9XZWtxn2iV6?= =?us-ascii?Q?Ig2og8GTGX0aUHhbhpFvi1kjHXb5AxgICF6b8E9Tag+en7MioJB51jE+oAJG?= =?us-ascii?Q?IxwxTG5budMaYxFoCwOuXjFyaeUj+uw4RZnIAcsGMdQCYJrYDFcATcZPF4PB?= =?us-ascii?Q?XxPfEsQR15X2+Y18szw3ZDSqariSS3lubD+Wi6yx6j0JrEiBbNu6YA6dDIUX?= =?us-ascii?Q?ybuERHMftrou72mjRmA2KudOBYA7Na+81j8WhTNGDKde+xf9joduPqJNTAg0?= =?us-ascii?Q?1RLJmcfcL8z6et9Bpy4HuzBzdvAL/YZ76WEqn5C3mEAJbREVnmbBSLySC2tj?= =?us-ascii?Q?FF3rYrFM+KnVGQqwYeAXk6OJTviZKSWaR3yVsxmyoOYp8dX61v3foY2qhlqc?= =?us-ascii?Q?ZvVmugZrGTWs1Umkwz1QsL+zMi07l1gLBd7Sz4CYwkdcOrC+Mx1enRxR1NmY?= =?us-ascii?Q?ZxwhMS/Zv0nCaH37E6bMfEDukDQ7bXf1IWYsmlfQJ93ya6eqyPNPvgvh1H9P?= =?us-ascii?Q?H98FU8XfH2tz6fIcYs5q5JwmvyJdqAqH64cxil6m?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN0PR11MB6158.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a758d6a6-3e1f-4569-7ceb-08db50f9d7bd X-MS-Exchange-CrossTenant-originalarrivaltime: 10 May 2023 01:56:59.9498 (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: HNv+2acwPsxQG2Z17HcBGzbOkEGFHgfrkOeo1K9qLp49RToPbZMQ3ldkeoxlsvpHDgGl0jSyYH/t1cNMeeD61w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR11MB8113 Return-Path: jiaxin.wu@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable This happens to transfer PEI control to DXE. The paging is created for DXE = phase, so, here, it's means the cpu running in the ia32 pei. I will refine = the comments as below: If cpu has already runned in X64 PEI, Page table Level in DXE must align wi= th previous level.=20 If cpu runs in IA32 PEI, Page table Level in DXE is decided by PCD and feat= ure capbility. Thanks, Jiaxin > -----Original Message----- > From: Gerd Hoffmann > Sent: Tuesday, May 9, 2023 10:44 PM > To: devel@edk2.groups.io; Wu, Jiaxin > Cc: Bi, Dandan ; Gao, Liming > ; Dong, Eric ; Ni, Ray > ; Zeng, Star ; Kumar, Rahul R > > Subject: Re: [edk2-devel] [PATCH v1 3/3] MdeModulePkg/DxeIpl: Align Page > table Level setting with previous level. >=20 > > + // > > + // If IA32, Page table Level is decided by PCD and feature capbili= ty. > > + // >=20 > There is neither 5-level nor 4-level paging support in ia32 mode. >=20 > take care, > Gerd