From nobody Sun Feb 8 12:58:07 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+45125+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+45125+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1565244896; cv=none; d=zoho.com; s=zohoarc; b=h0wHNdgdA75knpK1H2w4fCK2jHH640sB237D1YA188wNwaP6w59X3o6Bwa9Pfsx1ogSFVaeGblVUrXhjECDf+ZhsiS8dPRxB1ZQr+5H2rbdHUbkILGYH8SAzQB8TE5mTFxFF79otMCbq/2j42a+Pu5LaQ4RKQ/g09i0kHMhP1Vk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1565244896; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=23vrzGocSMT8OZYo/lDfEsH0Wrjg6i2dLyKR77pJvjI=; b=ndxKx7u8a1FZi2Ba4rUwSUhSc6IN5vLIgOFycfPY9Ca7XPb/+OHrDZePKhu28SkNEjHN6p/K2v6QEuxDxYc83cJBBUbsmPOaTtH0YSgzdqv6fS0JNOgo3JLy6qRdED8K25stDi78R+tQTIvuDsPnimLF4zYHi+ru/JN9v6ILIMI= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+45125+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1565244896976233.2841257948951; Wed, 7 Aug 2019 23:14:56 -0700 (PDT) Return-Path: X-Received: from mga14.intel.com (mga14.intel.com []) by groups.io with SMTP; Wed, 07 Aug 2019 23:14:56 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Aug 2019 23:14:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,360,1559545200"; d="scan'208";a="198921293" X-Received: from ydong10-win10.ccr.corp.intel.com ([10.239.158.133]) by fmsmga004.fm.intel.com with ESMTP; 07 Aug 2019 23:14:55 -0700 From: "Dong, Eric" To: devel@edk2.groups.io Cc: "Ni, Ray" , Laszlo Ersek , Hao A Wu Subject: [edk2-devel] [Patch v5 5/9] MdeModulePkg/DxeIpl: Introduce PCD PcdUse5LevelPageTable Date: Thu, 8 Aug 2019 14:14:44 +0800 Message-Id: <20190808061448.14684-6-eric.dong@intel.com> In-Reply-To: <20190808061448.14684-1-eric.dong@intel.com> References: <20190808061448.14684-1-eric.dong@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,eric.dong@intel.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1565244896; bh=OzlozSnZ/NEiVj6yvT66y5WowpYSyNqlr+ISvhNkJGU=; h=Cc:Date:From:Reply-To:Subject:To; b=fpMmhKUneS732aXnnRDLT6A/8NAOOME0eWDIbP8dAI1m0tIwz73qk1Xi4JpGxqv5fTN lnXODntgK88hqEgnx48JX8w8bD8pPS+S9RYWxXPSvfOwRzhlk+2O0ns0iJkGucpgKJ5nn 3ZsOpxtZqJ4Wa/WmYQxfWZYiWJyQFBRlwoM= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" From: "Ni, Ray" 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 Reviewed-by: Eric Dong Regression-tested-by: Laszlo Ersek Reviewed-by: Hao A Wu Signed-off-by: Eric Dong --- MdeModulePkg/MdeModulePkg.dec | 7 +++++++ MdeModulePkg/MdeModulePkg.uni | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index c4139753d3..35935d7aa6 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -1981,6 +1981,13 @@ # @Prompt The address mask when memory encryption is enabled. gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0|U= INT64|0x30001047 =20 + ## Indicates if 5-Level Paging will be enabled in long mode. 5-Level Pag= ing 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|BOOLEAN|0x000= 1105F + ## 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.
diff --git a/MdeModulePkg/MdeModulePkg.uni b/MdeModulePkg/MdeModulePkg.uni index 2bd1ad29f2..29d0a70ce0 100644 --- a/MdeModulePkg/MdeModulePkg.uni +++ b/MdeModulePkg/MdeModulePkg.uni @@ -1298,3 +1298,10 @@ = "It is used to set VPD region base address. So, it can't be Dynami= cExVpd PCD. Its value is" = "required to be accessed in PcdDxe driver entry point. So, its val= ue must be set in PEI phase." = "It can't depend on EFI variable service, and can't be DynamicExHi= i PCD." + +#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdUse5LevelPageTable_PROMPT #= language en-US "Enable 5-Level Paging support in long mode" + +#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdUse5LevelPageTable_HELP #la= nguage en-US "Indicates if 5-Level Paging will be enabled in long mode. 5-L= evel 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." --=20 2.21.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#45125): https://edk2.groups.io/g/devel/message/45125 Mute This Topic: https://groups.io/mt/32796008/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-