From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: hao.a.wu@intel.com) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by groups.io with SMTP; Mon, 22 Jul 2019 19:05:40 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Jul 2019 19:05:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,297,1559545200"; d="scan'208";a="344597156" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga005.jf.intel.com with ESMTP; 22 Jul 2019 19:05:39 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 22 Jul 2019 19:05:39 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 22 Jul 2019 19:05:39 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.110]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.109]) with mapi id 14.03.0439.000; Tue, 23 Jul 2019 10:05:37 +0800 From: "Wu, Hao A" To: "devel@edk2.groups.io" , "Ni, Ray" CC: "Dong, Eric" , Laszlo Ersek Subject: Re: [edk2-devel] [PATCH 3/4] MdeModulePkg/DxeIpl: Introduce PCD PcdUse5LevelPageTable Thread-Topic: [edk2-devel] [PATCH 3/4] MdeModulePkg/DxeIpl: Introduce PCD PcdUse5LevelPageTable Thread-Index: AQHVQGXN9WCFLeUbu0GSqtlS3t8qVKbXaoLQ Date: Tue, 23 Jul 2019 02:05:37 +0000 Message-ID: References: <20190722081547.56100-1-ray.ni@intel.com> <20190722081547.56100-4-ray.ni@intel.com> In-Reply-To: <20190722081547.56100-4-ray.ni@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: hao.a.wu@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable > -----Original Message----- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Ni= , > Ray > Sent: Monday, July 22, 2019 4:16 PM > To: devel@edk2.groups.io > Cc: Dong, Eric; Laszlo Ersek > Subject: [edk2-devel] [PATCH 3/4] MdeModulePkg/DxeIpl: Introduce PCD > PcdUse5LevelPageTable >=20 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2008 >=20 > The PCD indicates if 5-Level Paging will be enabled in long mode. > 5-Level Paging will not be enabled when the PCD is TRUE but CPU > doesn't support 5-Level Paging. >=20 > Signed-off-by: Ray Ni > Cc: Eric Dong > Cc: Laszlo Ersek > --- > MdeModulePkg/MdeModulePkg.dec | 7 +++++++ Hello, Please help to add the PCD description string definitions in MdeModulePkg.= uni. One question, is this PCD introduced for the consideration of memory consumption by the page table entries? Or is there any other purpose? Best Regards, Hao Wu > 1 file changed, 7 insertions(+) >=20 > diff --git a/MdeModulePkg/MdeModulePkg.dec > b/MdeModulePkg/MdeModulePkg.dec > index 12e0bbf579..21388595a9 100644 > --- a/MdeModulePkg/MdeModulePkg.dec > +++ b/MdeModulePkg/MdeModulePkg.dec > @@ -1991,6 +1991,13 @@ [PcdsFixedAtBuild, PcdsPatchableInModule, > PcdsDynamic, PcdsDynamicEx] > # @Prompt The address mask when memory encryption is enabled. >=20 > gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrM > ask|0x0|UINT64|0x30001047 >=20 > + ## Indicates if 5-Level Paging will be enabled in long mode. 5-Level = Paging > will not be enabled > + # when the PCD is TRUE but CPU doesn't support 5-Level Paging. > + # TRUE - 5-Level Paging will be enabled.
> + # FALSE - 5-Level Paging will not be enabled.
> + # @Prompt Enable 5-Level Paging support in long mode. > + > gEfiMdeModulePkgTokenSpaceGuid.PcdUse5LevelPageTable|FALSE|BOOLE > AN|0x0001105F > + > ## Capsule In Ram is to use memory to deliver the capsules that will = be > processed after system > # reset.

> # This PCD indicates if the Capsule In Ram is supported.
> -- > 2.21.0.windows.1 >=20 >=20 >=20