From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web11.48875.1680246336975720701 for ; Fri, 31 Mar 2023 00:05:37 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=jJTK0vpc; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: ray.ni@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680246336; x=1711782336; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=kH3qVuQG7+0NQmmlXq9NqmWdb27LMqmaAjJCW6DSHJA=; b=jJTK0vpcIydG1GbFjF69bP84yFoGTjLRVJADf/fEQ7FzojhvJ5RqsIny X9B2QNk3uIEIFd8JVWeiapiaiKdan2wbjeSuJy1fq2MRcb21X2mL0hGfk +63FJsInP8NgSwbC1urzrHPURFGS6THUj6Km2HJd9of8/viwOqXU2LDGs mkqtKq1UIXHg1AIRwWs+Ks8hzyWzxx8DQ4HFjNjJHxqr5okUwmGfieZM+ CUceU6g307U6hiCsK74dAnyZkEUnBAZtF1xjoKK3iugXsX+RW1gf6M7Tn q6fK3dyyTKjw44RfJBFWxMkmbJaSxekgVzs6ccwiIk+g9Nb2AKPfpvNXh g==; X-IronPort-AV: E=McAfee;i="6600,9927,10665"; a="321033721" X-IronPort-AV: E=Sophos;i="5.98,307,1673942400"; d="scan'208";a="321033721" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Mar 2023 00:05:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10665"; a="808949117" X-IronPort-AV: E=Sophos;i="5.98,307,1673942400"; d="scan'208";a="808949117" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga004.jf.intel.com with ESMTP; 31 Mar 2023 00:05:27 -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.21; Fri, 31 Mar 2023 00:05:27 -0700 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) 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.21; Fri, 31 Mar 2023 00:05:27 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) 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.21 via Frontend Transport; Fri, 31 Mar 2023 00:05:27 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.176) by edgegateway.intel.com (134.134.137.100) 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:05:26 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GgJyKlkGGYgsGUgN6ZduUurG3fAS7Gg/YmIaR8/8EFY83dUINUSxPgvKFTmxerXY/qSSQDzMDo0CrTsAvgvNZzm9+e1yfx++//BRsqETplQ+8O5SJ08s+VUT0fOyZ6IWrXKosiu+r8LMX/00DkeVonBFSrTbc/fFqh/M7fKVZAUiRIOf1LwvqWeZsI6ZpvTjpdsBziSHCrUdUurepyWsrdwPd0s+/90NIYljE6mU4iBKJ8ST7eFDpCInH8n3mof5UyOa1JAntdVVRFpeWjg7vAkzbFRUcin/ltp5tyvm04/eCtzuteY61xApD97dadoTrozMpVM76bNGJK0BHh4fOA== 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=U+A2cJg6I3nh2vXdEsLUYpsA/J0Fp0EDYhbD4NmRsgE=; b=PZcbjYcRMC2VrCiHsCIw3abYFWAQriNzBeCGhGsF9034IQ5H43N5wuQvduklT4cGoRKQf3qELCoCBcb3HrZ5C2yH3kRHowekC4NjazHqEeHLbmHadLeSILDIO3zjaaBBLWAMQubRudBcwYIVAG5DEUS/x59urpntcLpvfPquGl7X3MsA0o6OgqAtVSGxtpXIdJIGlZUJlMEAwPYALmOX5iACXkxe7eba5sR0IryPp7ddyBXCD70hrviNllf9kgY0vueFdVJFK9VZ/kVI5WvDpLYh3y5ppgIc3G0JaxvQnbkvEqpmN5herEOH9yFHrO999H8u3Qv76TysUDn9MB1/3A== 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 MN6PR11MB8244.namprd11.prod.outlook.com (2603:10b6:208:470::14) by SJ0PR11MB5769.namprd11.prod.outlook.com (2603:10b6:a03:420::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.38; Fri, 31 Mar 2023 07:05:20 +0000 Received: from MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::ae07:e96a:4a24:8a69]) by MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::ae07:e96a:4a24:8a69%8]) with mapi id 15.20.6222.035; Fri, 31 Mar 2023 07:05:20 +0000 From: "Ni, Ray" 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 Thread-Topic: [PATCH 9/9] MdeModulePkg/DxeIpl: Refinement to the code to set PageTable as RO Thread-Index: AQHZYR86ayFVUbZR7EShaZPwLqkDx68Ue9yw Date: Fri, 31 Mar 2023 07:05:19 +0000 Message-ID: References: <20230328024302.2085-1-dun.tan@intel.com> <20230328024302.2085-10-dun.tan@intel.com> In-Reply-To: <20230328024302.2085-10-dun.tan@intel.com> Accept-Language: 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: MN6PR11MB8244:EE_|SJ0PR11MB5769:EE_ x-ms-office365-filtering-correlation-id: ae1039af-4297-41ea-84c5-08db31b64a06 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: qmoCqvPClVKFRnVEx5mqk+e7WPdQecbEL2IteRoNAbq9bBnFh8IQ74r4tu5ItSnB7jG5tglBWsQnRlQSPiHaqS2l84eWkuiuAgxS/ofwSEw6hMOG6LZRLKngJFVLGUtBrvJMffnuzXwDS42XE1FnSgx8uV8AYDjpLDh7QygmNb3vR4vt2Rxy4imzC11OyMVYN+o5aIwxNl09cNPJNB2n0AYHdmDeGr5Ul/08Onf/CvEaqMiU6ACBUpTgWRt6+Y1akNG1m5EHOnuzq/0o0IEdHR0p94PasCgIrV/ijc1ZSy1xVmHp1SE5NmbQR74nOqVqSqNArzfFzdJjb2JVuLtmQps9EcbbOd/AGbAdwsD9KQEZ0z0Y7dKjnpxYvMLK2R/lHKAeRNUKFvCPnDko2c82XTAX5GjMWow5993yMV7gaq3C4Zo7O5vyBVlfiBHQSqXYTaapqU6krvkSYB7NGxf+1soGihrtu3AsliQkAMHALd05Eb3wAkHORNmfli2r/hZWQgH7kudxMEHqy2Q29p0ozXqsD4R+WFhLaAxYVSK9q78LwUaDFI95eZgjHMXdQACubB31s3RZKJMCzdRNj8ftf6uyy1o/pbFW4yUxvHfeyEiQNraPCGVN+YmcIHd7bqpx x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN6PR11MB8244.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(136003)(346002)(39860400002)(396003)(376002)(366004)(451199021)(82960400001)(4326008)(19627235002)(122000001)(52536014)(8676002)(8936002)(186003)(76116006)(66476007)(478600001)(66946007)(66556008)(66446008)(55016003)(110136005)(7696005)(54906003)(38070700005)(64756008)(71200400001)(9686003)(2906002)(316002)(33656002)(41300700001)(38100700002)(5660300002)(107886003)(6506007)(558084003)(86362001)(26005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?lsIVl9ek158GB+eUhcna+lw+ciiAEqUS64c+OmTynHO2cbo2QjZ3q5zIpTDV?= =?us-ascii?Q?OeOiRM+zLoF0F6kjHcryhXd8/2ColOvfwykj7Byg1n0I1Zg69RfF4hcOc1lp?= =?us-ascii?Q?o2uf5DH8eaF3GFn5cak2ZsxNKl+NqbI2SU22gmNedjJ+sjeAyUnYeyok1UGH?= =?us-ascii?Q?r+pxtL0wH9LRWK/Koo3DpL+lCI9918w6Y8XB9P5JZbIVRSicSaiuIMKak0A5?= =?us-ascii?Q?SIqJ+nd2SdDGOu0+xeA/fTwo7qxtudRZlVH0vhvByRTX9tVipvD0uk0wziq6?= =?us-ascii?Q?tQ1jghjDt2uHuSjOwZkOSIb4LUMz7gMhVEWgms6pHe0jEqDdBMKnMUtAyAgB?= =?us-ascii?Q?lo30dHfcBo8fyerMRwBiP9l1sqgAI9Nh1zIToYuFg6Dk1IB5Ml/YFVhSqMbY?= =?us-ascii?Q?+M3laOl/yLvjS2v4rrAmFANHUZ2g2/dm7ztay57SOvOqJ7ujKg/LZQxjr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o4fTMz/lJMjZTpuyBbsfLn78z5jsdfQ3TVdGRXR5RcFNlH?= =?us-ascii?Q?mOWylgiifucXX6sTMGNjozIrCSMe9uPOtvUlNm/tfo6pKA3H041/OfeJN7nJ?= =?us-ascii?Q?yqLvElCAVj7WD2CVi1HouraOhNrBrIR/7Cwa7fZVFoQvDjYY7SkqCraGOybZ?= =?us-ascii?Q?0nel0DkZG+xwMVvvw9Wm+73Pzm+evSC+lohgci4WxwPxOF//1+F2NHjBFuOp?= =?us-ascii?Q?1ZFO3ujkVVzZJPkAwtk=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: ae1039af-4297-41ea-84c5-08db31b64a06 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Mar 2023 07:05:19.8410 (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: X118qnbB/PrI4bxQWmQD6wAYbp3OIBCaIdWmos443cztmOiI6RkH8Yd/hSG8Yf8UlOo4A4PjgmnISYasZ7XAdQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5769 Return-Path: ray.ni@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable > + MapAttribute.Uint64 =3D 0; [Ray] Can you add "MapAttribute.Bits.ReadWrite =3D 0"?