From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: redhat.com, ip: 209.132.183.28, mailfrom: lersek@redhat.com) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by groups.io with SMTP; Fri, 26 Jul 2019 03:14:47 -0700 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 511693060485; Fri, 26 Jul 2019 10:14:47 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-40.ams2.redhat.com [10.36.116.40]) by smtp.corp.redhat.com (Postfix) with ESMTP id B6C3E98BF; Fri, 26 Jul 2019 10:14:46 +0000 (UTC) Subject: Re: [edk2-devel] [PATCH V2 0/6] Support 5-level paging in DXE long mode To: devel@edk2.groups.io, ray.ni@intel.com References: <20190724100029.252404-1-ray.ni@intel.com> From: "Laszlo Ersek" Message-ID: <4e1ae2b3-4334-cddf-59a1-69bb2fa62f23@redhat.com> Date: Fri, 26 Jul 2019 12:14:45 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20190724100029.252404-1-ray.ni@intel.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.47]); Fri, 26 Jul 2019 10:14:47 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit On 07/24/19 12:00, Ni, Ray wrote: > 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 MdePkg. > The move is based on real requirement when certain modules that cannot > depend on UefiCpuPkg but needs to reference structures defined in SDM. > > 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 > > MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf | 1 + > .../Core/DxeIplPeim/X64/VirtualMemory.c | 229 ++++++++++++------ > MdeModulePkg/MdeModulePkg.dec | 7 + > MdeModulePkg/MdeModulePkg.uni | 8 + > .../Include/Register/Cpuid.h | 0 > UefiCpuPkg/CpuDxe/CpuPageTable.c | 59 +++-- > UefiCpuPkg/CpuDxe/CpuPageTable.h | 3 +- > 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 +- > 11 files changed, 243 insertions(+), 100 deletions(-) > rename {UefiCpuPkg => MdePkg}/Include/Register/Cpuid.h (100%) > I'd like to regression-test this series once the reviews around it have converged. My current understanding is that a v3 is needed, so I plan to wait for v3. If that turns out not to be the case, please ping me separately. Thank you Laszlo