[edk2-devel] [Patch V2 0/3] Introduce page table pool mechanism in SMM page table

Ni, Ray ray.ni at intel.com
Wed Dec 21 08:11:36 UTC 2022


Reviewed-by: Ray Ni <ray.ni at intel.com>

> -----Original Message-----
> From: devel at edk2.groups.io <devel at edk2.groups.io> On Behalf Of duntan
> Sent: Wednesday, December 21, 2022 12:22 PM
> To: devel at edk2.groups.io
> Subject: [edk2-devel] [Patch V2 0/3] Introduce page table pool mechanism in SMM page table
> 
> 1.Introduce page table pool mechanism in SMM page table
>   In V2 patch, add code to disable CET before disable CR0.WP
> 2.Remove unused API in SmmCpuFeaturesLib.h
> 3.Simplify the code to set smm page table as RO
>   In V2 patch, remove unneeded code to align pool address and add some comments
>   when marking whole page table pool as read only.
> 
> Dun Tan (3):
>   UefiCpuPkg/PiSmmCpuDxeSmm: Introduce page table pool mechanism
>   UefiCpuPkg: Remove unused API in SmmCpuFeaturesLib.h
>   UefiCpuPkg: Simplify the code to set smm page table as RO
> 
>  UefiCpuPkg/Include/Library/SmmCpuFeaturesLib.h     |  25 -------------------------
>  UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/PageTbl.c           | 121 -----------------------------------------------------------------------------
> --------------------------------------------
>  UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c         |  30 ------------------------------
>  UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h         |  30 ++++++++++++++++++++++++++++++
>  UefiCpuPkg/PiSmmCpuDxeSmm/SmmCpuMemoryManagement.c | 273
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  UefiCpuPkg/PiSmmCpuDxeSmm/X64/PageTbl.c            | 169 -----------------------------------------------------------------------------
> --------------------------------------------------------------------------------------------
>  6 files changed, 303 insertions(+), 345 deletions(-)
> 
> --
> 2.31.1.windows.1
> 
> 
> 
> 
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#97681): https://edk2.groups.io/g/devel/message/97681
Mute This Topic: https://groups.io/mt/95801065/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list