From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: ray.ni@intel.com) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by groups.io with SMTP; Tue, 23 Jul 2019 07:20:19 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Jul 2019 07:20:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,299,1559545200"; d="scan'208";a="169570781" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga008.fm.intel.com with ESMTP; 23 Jul 2019 07:20:18 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 23 Jul 2019 07:20:18 -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 22:20:16 +0800 From: "Ni, Ray" To: "Wu, Hao A" , "devel@edk2.groups.io" 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: AQHVQGXNEqXq7KKWn0KJ2VLrf7kk5qbXaoLQgADXtZA= Date: Tue, 23 Jul 2019 14:20:15 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D5C241610@SHSMSX104.ccr.corp.intel.com> References: <20190722081547.56100-1-ray.ni@intel.com> <20190722081547.56100-4-ray.ni@intel.com> In-Reply-To: Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYzg5NDNmNzgtYmNjYi00NWUwLWIzNTEtMGVjZjQ1ZTUwZDZjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiN1NUZ2o0SUdFQVE5ZHMyTHd1NzVjVm1Oa0U2SW84aFhReTNaSVYra05LZXQ3QmRoRW1ZZmFXcVRuK3RwaUVrYyJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: ray.ni@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hao, Certain OS loaders may fail to boot when 5-level paging is used. PCD can b= e used to restrict to 4-level paging. > -----Original Message----- > From: Wu, Hao A > Sent: Tuesday, July 23, 2019 10:06 AM > To: devel@edk2.groups.io; Ni, Ray > Cc: Dong, Eric ; Laszlo Ersek > Subject: RE: [edk2-devel] [PATCH 3/4] MdeModulePkg/DxeIpl: Introduce PCD= PcdUse5LevelPageTable >=20 > > -----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 > > > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2008 > > > > 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. > > > > Signed-off-by: Ray Ni > > Cc: Eric Dong > > Cc: Laszlo Ersek > > --- > > MdeModulePkg/MdeModulePkg.dec | 7 +++++++ >=20 >=20 > Hello, >=20 > Please help to add the PCD description string definitions in MdeModulePk= g.uni. >=20 > One question, is this PCD introduced for the consideration of memory > consumption by the page table entries? Or is there any other purpose? >=20 > Best Regards, > Hao Wu >=20 >=20 > > 1 file changed, 7 insertions(+) > > > > 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. > > > > gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrM > > ask|0x0|UINT64|0x30001047 > > > > + ## Indicates if 5-Level Paging will be enabled in long mode. 5-Leve= l 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 wil= l be > > processed after system > > # reset.

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