From nobody Sat May 18 23:44:25 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+87465+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+87465+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1647014338; cv=none; d=zohomail.com; s=zohoarc; b=DvbB79pxhvBBSZ+6EaOwmrBxQnmUFNBz/rQtsu/rWBd0NhRcBr1cl3w/uGcH7nHoEgp7AXnxEF+3yTzW0PIrEovVmsrhXPvyCMPY67wEbwUknZ6IGVosMojd3uUQ0Qleht7Ss+GLBcSoYLSWmurWTObaU+7IwZ3gmp0XKgDlhI4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1647014338; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=w67U6yqqTvbxznirdabajfestSIVHf74gcG2o5N5xHs=; b=JrTzp3ZxbX3s0xKqCnD+M80n+Z1RRnIHH3SDc/2uB9cqngTyVSgBWKBvpqhCObfORQ3AkyyNP4zZGgrTJ+D4g468FmTz01Sq4ElxS7vxC5g7KVka5eS9RDRrhOIJng09JGpTF5oDvUj+oJfzw1/X4h50puT3N78HANR1pgiwpo0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+87465+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1647014338088890.7414393517062; Fri, 11 Mar 2022 07:58:58 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id A9umYY1788612xs1Pvx4qpI1; Fri, 11 Mar 2022 07:58:57 -0800 X-Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web09.6938.1647014336719041913 for ; Fri, 11 Mar 2022 07:58:57 -0800 X-IronPort-AV: E=McAfee;i="6200,9189,10282"; a="318818535" X-IronPort-AV: E=Sophos;i="5.90,174,1643702400"; d="scan'208";a="318818535" X-Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Mar 2022 07:58:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,174,1643702400"; d="scan'208";a="555353302" X-Received: from shwdeopenlab102.ccr.corp.intel.com ([10.239.182.138]) by orsmga008.jf.intel.com with ESMTP; 11 Mar 2022 07:58:54 -0800 From: "Jason Lou" To: devel@edk2.groups.io Cc: Jason , Ray Ni , Dandan Bi , Liming Gao Subject: [edk2-devel] [PATCH v1] MdeModulePkg/DxeIpl: Create 5-level page table for long mode Date: Fri, 11 Mar 2022 23:58:51 +0800 Message-Id: <20220311155851.2304-1-yun.lou@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: 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,yun.lou@intel.com X-Gm-Message-State: 0mU1Rwzcxqtv5V2jhas8HgfIx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1647014337; bh=Ml9iVyJx4tpU/B1I7s/aCx6oORmzRfrHLIEHWZMe1Yc=; h=Cc:Date:From:Reply-To:Subject:To; b=Ahu0846C2fqoaSUdLrcKJJcEJkpgDltmxdfUZtC+Wc2liZfecCdog35RKi5+vCig/8E p2zmeeQCQQ20Vevgdr71SuE2J/QZY3QWZYuYTMAC+NgZyRNFtvkSQfhno+A6DjO4jtPda wHsnG59NCtibFuyohlvCDBJPOjirjjwZrbQ= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1647014338331100001 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2008 Correct the logic about whether 5-level paging is supported. Signed-off-by: Jason Lou Cc: Ray Ni Cc: Dandan Bi Cc: Liming Gao Reviewed-by: Ray Ni --- MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c b/MdeModulePk= g/Core/DxeIplPeim/X64/VirtualMemory.c index 0700f310b2..1ebab27820 100644 --- a/MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c +++ b/MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c @@ -15,7 +15,7 @@ 2) IA-32 Intel(R) Architecture Software Developer's Manual Volume 2:In= struction Set Reference, Intel 3) IA-32 Intel(R) Architecture Software Developer's Manual Volume 3:Sy= stem Programmer's Guide, Intel =20 -Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.
+Copyright (c) 2006 - 2022, Intel Corporation. All rights reserved.
Copyright (c) 2017, AMD Incorporated. All rights reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent @@ -748,8 +748,8 @@ CreateIdentityMappingPageTables ( CPUID_STRUCTURED_EXTENDED_FEATURE_FLAGS, CPUID_STRUCTURED_EXTENDED_FEATURE_FLAGS_SUB_LEAF_INFO, NULL, - &EcxFlags.Uint32, NULL, + &EcxFlags.Uint32, NULL ); if (EcxFlags.Bits.FiveLevelPage !=3D 0) { --=20 2.28.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 (#87465): https://edk2.groups.io/g/devel/message/87465 Mute This Topic: https://groups.io/mt/89713434/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-