From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web10.48971.1680246738490751336 for ; Fri, 31 Mar 2023 00:12:18 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=A68wKj+C; spf=pass (domain: intel.com, ip: 134.134.136.100, mailfrom: dun.tan@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680246738; x=1711782738; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=s4jhPMYCka2xeA5/3/EoQqFQvqRCKJR+LvRreLPiBlw=; b=A68wKj+CFgdePqnxynHPm7X4UndZxo7LGfMZdxcW+1qOyH5Dvza1h0S1 EZbt93cKbag294iSLeOU63bgbJnkcLVyxI675VzMcCP4oz5wqwyJSjQcT yTIJ88+l5xu7UhxpSuwZ5y1uQJBhErPLujtYJsOyHAro8X5pTEZfduULe Xr+cxTu4cdRqiwAXmss6jFiQ2Nxyz70w8LcMLXVt+TIV3Riv/yLdp3aqn 4q9vbj2Po2j85I0Ok8ErgIgpPkVbqV0fvSXzvoQxNEbB19dnz3cr/7Pqw +PlKeza4p6/PTGPs+P1oLs2WzkuX4utKTsCsoat0c35jacmhl5RIowlUa w==; X-IronPort-AV: E=McAfee;i="6600,9927,10665"; a="406391492" X-IronPort-AV: E=Sophos;i="5.98,307,1673942400"; d="scan'208";a="406391492" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Mar 2023 00:10:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10665"; a="828607833" X-IronPort-AV: E=Sophos;i="5.98,307,1673942400"; d="scan'208";a="828607833" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga001.fm.intel.com with ESMTP; 31 Mar 2023 00:10:35 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Fri, 31 Mar 2023 00:10:35 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Fri, 31 Mar 2023 00:10:34 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Fri, 31 Mar 2023 00:10:34 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.175) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.21; Fri, 31 Mar 2023 00:10:34 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X4GlQ+tpKRcWyS15A0/em2fZlO+v+XHmG+eMkmCudsIc4CypiYXQ2fuUIRGNuBGXsTQpD9yJNfO9jjHnQgq1UHk5YPbsyZnGA+d6YdLSuyKQxk6B4fSvl/rEB8+uYOsgPUpuoNngwe38/Nm6B7bp2Aqm7xxubEet+msL/6Bw5sminEeGxJkZPaYFA213qDOI/arfXTCnDh58xRtZqYK5HXhRa4hlmbcN88olwodhPOSgoeExEvbvftDMAyZc3KBzwld1xTGvwoBJBplyhESXE8eTZI0Bz/aJOik6Wm2/0bh6M6Gx4M3B5crDrGkF5zyp5xQQtvEQ7DRsteWYwKFvVQ== 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=U6FBk3qCTX2PoCFgTjYn/rGLjYXAtooEIznr7ta8v6g=; b=lBx6BXmPe10s8fFVE1tWcix230w+xVerg9n32Gs1tlhta5e6CpU5B5ROiGGB9uCk6XV15WECotV7kJ25Czlv8gxULv4lM3TW6v5W40M9OHoItQ5zOyOUkt1Q8NpWHtTXbOLSPWrWjyWczFytDZcKDsf02xThM2bAhhRyGav+/xcz/adKIUGCdqlZ7XTRX3+jWWXgT0ioaTfau9n5SYyUi9ReTPqfBbYzK6QPdDjqh5MKoBSKxzSvfmtkKnGeRljDKOncgWAWmKtUBlv7G11Isn6z/rndrVvT4R8vA14a92vxWCTQnAu0JK/Cqmm6awqXph0EQv+Ry+fqbQru7bAwqg== 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 BN9PR11MB5483.namprd11.prod.outlook.com (2603:10b6:408:104::10) by IA0PR11MB8333.namprd11.prod.outlook.com (2603:10b6:208:491::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6254.22; Fri, 31 Mar 2023 07:10:32 +0000 Received: from BN9PR11MB5483.namprd11.prod.outlook.com ([fe80::2ac6:e032:8994:2e12]) by BN9PR11MB5483.namprd11.prod.outlook.com ([fe80::2ac6:e032:8994:2e12%4]) with mapi id 15.20.6254.022; Fri, 31 Mar 2023 07:10:32 +0000 From: "duntan" To: "Ni, Ray" , "devel@edk2.groups.io" CC: "Bi, Dandan" , "Gao, Liming" , "Wang, Jian J" Subject: Re: [PATCH 9/9] MdeModulePkg/DxeIpl: Refinement to the code to set PageTable as RO Thread-Topic: [PATCH 9/9] MdeModulePkg/DxeIpl: Refinement to the code to set PageTable as RO Thread-Index: AQHZYR86ayFVUbZR7EShaZPwLqkDx68Ue9ywgAABggA= Date: Fri, 31 Mar 2023 07:10:32 +0000 Message-ID: References: <20230328024302.2085-1-dun.tan@intel.com> <20230328024302.2085-10-dun.tan@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: BN9PR11MB5483:EE_|IA0PR11MB8333:EE_ x-ms-office365-filtering-correlation-id: 59042354-01fe-451d-a40e-08db31b70481 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: l4vTKLFbZUQuJoaz4aLCxxasSbda3E6PpCZKOqX2jF2GFcAtQWuarjgcpCqR1WmBGsZWYaWoZMGfcbRaPGGInZmxIV+idKSsDA7JCwquotMcjmsdqE1nLg/1L9iY6TVnFynV+z0JZmasyskxIHedJTJa5XqoBpWwiMRDVd771BjnEJnMo390Mh59qwg5m2e8G5EvBkiwVXo3fMNGqFiZ8QGQy0WHx6dozIsFulx0o5h4Ggt4Smu82yqPoMQpo9gK0AeMnolzXTGMT1MBJDlHjWsfmre9wJmWeBCw1d2qjaKEBISm9fEC+VHdioyAQvGikFn9jaAAjxTFoP2F5gbA5OEDgJeVb7a9zWCxrBrlVtXsZbWormsQJ0tkHzcEfnWMfnvnDb5DkU/2XNV5pv8ZKEUPxAbddNAdizxsm5CYjucxBS/cmniARmosiLKrDeGKZoDTKKvjdhCePGWx7wGw1P9zzICymFk8Hd74cW6A05UBAmydx1qEssA39VTobBWoBBI2koU+vWG0dZFuLbNjPYqAX5Tr2FaEx3km89bY5ESFOsGZWz01xhLQ8JD8t57UXIUo0qvcDjxbEcBCSH4jrRgxTWmUJiNKhpn1Ek92lcV3qdo0C8D+fszaJLpQ7gDs x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN9PR11MB5483.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(376002)(136003)(346002)(39860400002)(396003)(366004)(451199021)(26005)(186003)(9686003)(2906002)(53546011)(6506007)(33656002)(55016003)(38070700005)(38100700002)(122000001)(86362001)(82960400001)(83380400001)(71200400001)(7696005)(52536014)(5660300002)(8936002)(8676002)(4744005)(66446008)(110136005)(66946007)(76116006)(4326008)(64756008)(66556008)(66476007)(107886003)(19627235002)(316002)(478600001)(41300700001)(54906003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?oNa0WNFAsAbLPmjb1+NEoW7SLHP4naDlAVozJoklqjBycljzmQ26zqxhZ39b?= =?us-ascii?Q?qbTeBOG9TUW7e9F3SsqeDItMUWAGYlELzWyo2DVM3MQCm4W2ahnIfeCeMDd+?= =?us-ascii?Q?wsAASQuDuWc4C3PzYO5tIL2sSHbDJDb95LlN7eqFJ0rcyawsBQajzuGBY1zv?= =?us-ascii?Q?x+c+gaW10Bqyq6Iju8vN6N7G8B2U5CroSZCspPgjgqpigPqLaFBRrc2eBiB0?= =?us-ascii?Q?IEmYy4/9kwq/nzlWuPr1H5QI51Q3kA4ks3IwmqYQnVG3saE76jmsS0M2OEmV?= =?us-ascii?Q?miy/lBN+51FZVgKwCSa8pHQKKuUTEcCX8Sc+Zf6W3AT5uSgCmLeTI8aRvqgL?= =?us-ascii?Q?gI1AQ9+sUHu/TPRzsDkoYI5fvjpeU/IhO0J4jLuy8JfhAS6jBMtQWDOPczQw?= =?us-ascii?Q?U3rfuBzMcKTjOHH8k2sM+nLLhiceZlFfwGESqtlqFiNnl+x9uOyhR7Z5EC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464jfHYvdLe+mH28vSxFeZa3lBc?= =?us-ascii?Q?Seh9Xuw1F/Th6tXR9Jnc+A5/5EY5FSwMX/kxpOXiPbTrKzMCyawOR86PL/d3?= =?us-ascii?Q?0ooAz3xw0eD7OljoUxVlL9aUxp/lZR9cqwLN0UMkUDQRUpB1HPv1q6E/6sqG?= =?us-ascii?Q?Ns+GZhr2Cvtx3rrBloGxTFWpQ08pxaCpBJov3IbiJE9wfMkbNK5FdH82henl?= =?us-ascii?Q?wx2ZQ7mJJpi29hjCdZE=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: 59042354-01fe-451d-a40e-08db31b70481 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Mar 2023 07:10:32.7412 (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: EeUYaCeNxahxeWZfjou3EaEdhO6JDSHLVIq3biA0YAHFkxdVt9F04UGzqy50MD09/FGCI/qfhUnVbXavsZmb4g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR11MB8333 Return-Path: dun.tan@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Sure, I'll add this line in next version patch. Thanks, Dun -----Original Message----- From: Ni, Ray =20 Sent: Friday, March 31, 2023 3:05 PM To: Tan, Dun ; devel@edk2.groups.io Cc: Bi, Dandan ; Gao, Liming ; Wang, Jian J Subject: RE: [PATCH 9/9] MdeModulePkg/DxeIpl: Refinement to the code to set= PageTable as RO > + MapAttribute.Uint64 =3D 0; [Ray] Can you add "MapAttribute.Bits.ReadWrite =3D 0"?