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.126, mailfrom: ray.ni@intel.com) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by groups.io with SMTP; Thu, 01 Aug 2019 03:00:07 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Aug 2019 03:00:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,333,1559545200"; d="scan'208";a="184196611" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga002.jf.intel.com with ESMTP; 01 Aug 2019 03:00:00 -0700 Received: from fmsmsx102.amr.corp.intel.com (10.18.124.200) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 1 Aug 2019 02:59:51 -0700 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by FMSMSX102.amr.corp.intel.com (10.18.124.200) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 1 Aug 2019 02:59:51 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.112]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.163]) with mapi id 14.03.0439.000; Thu, 1 Aug 2019 17:59:50 +0800 From: "Ni, Ray" To: "devel@edk2.groups.io" , "Ni, Ray" Subject: Re: [edk2-devel] [PATCH v3 0/6] Support 5-level paging in DXE long mode Thread-Topic: [edk2-devel] [PATCH v3 0/6] Support 5-level paging in DXE long mode Thread-Index: AQHVSDWJB7j3vFuiskq2Rn3BVp21WqbmDvcg Date: Thu, 1 Aug 2019 09:59:49 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D5C267AF0@SHSMSX104.ccr.corp.intel.com> References: <15B6B9DD9C65AE81.10483@groups.io> In-Reply-To: <15B6B9DD9C65AE81.10483@groups.io> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: 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 Please ignore this patch set. V4 was sent out. > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Ni, Ray > Sent: Thursday, August 1, 2019 2:51 PM > To: devel@edk2.groups.io > Subject: [edk2-devel] [PATCH v3 0/6] Support 5-level paging in DXE long > mode >=20 > v3: > Move UefiCpuPkg/Include/Register/Cpuid.h to > MdePkg/Include/Register/Intel/ directory. > Create UefiCpuPkg/Include/Register/Cpuid.h to include > MdePkg/Include/Register/Intel/Cpuid.h. > NOTE: > Changes like moving Amd/Cpuid.h to MdePkg is not included. > Changes like updating BaseLib.h to include Cpuid.h is not included= . >=20 > v2: > Refined the patch according to reviewers' all comments except: > 0A0h cannot be changed to A0h or build fails. > A big change in this patch is Cpuid.h is moved from UefiCpuPkg to Md= ePkg. > The move is based on real requirement when certain modules that cann= ot > depend on UefiCpuPkg but needs to reference structures defined in SD= M. >=20 >=20 > Ray Ni (6): > UefiCpuPkg/MpInitLib: Enable 5-level paging for AP when BSP's enabled > UefiCpuPkg/CpuDxe: Remove unnecessary macros > UefiCpuPkg/CpuDxe: Support parsing 5-level page table > MdeModulePkg/DxeIpl: Introduce PCD PcdUse5LevelPageTable > MdePkg/Cpuid.h: Move Cpuid.h from UefiCpuPkg to MdePkg > MdeModulePkg/DxeIpl: Create 5-level page table for long mode >=20 > MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf | 1 + > .../Core/DxeIplPeim/X64/VirtualMemory.c | 229 +- > MdeModulePkg/MdeModulePkg.dec | 7 + > MdeModulePkg/MdeModulePkg.uni | 8 + > .../Include/Register/Intel}/Cpuid.h | 6 +- > UefiCpuPkg/CpuDxe/CpuPageTable.c | 59 +- > UefiCpuPkg/CpuDxe/CpuPageTable.h | 3 +- > UefiCpuPkg/Include/Register/Cpuid.h | 3985 +---------------- > UefiCpuPkg/Library/MpInitLib/MpLib.c | 13 + > UefiCpuPkg/Library/MpInitLib/MpLib.h | 6 +- > UefiCpuPkg/Library/MpInitLib/X64/MpEqu.inc | 3 +- > UefiCpuPkg/Library/MpInitLib/X64/MpFuncs.nasm | 14 +- > 12 files changed, 249 insertions(+), 4085 deletions(-) copy > {UefiCpuPkg/Include/Register =3D> MdePkg/Include/Register/Intel}/Cpuid.h > (96%) >=20 > -- > 2.21.0.windows.1 >=20 >=20 >=20