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

duntan posted 3 patches 1 year, 3 months ago
Failed in applying to current master (apply log)
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(-)
[edk2-devel] [Patch V2 0/3] Introduce page table pool mechanism in SMM page table
Posted by duntan 1 year, 3 months ago
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 (#97665): https://edk2.groups.io/g/devel/message/97665
Mute This Topic: https://groups.io/mt/95801065/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [edk2-devel] [Patch V2 0/3] Introduce page table pool mechanism in SMM page table
Posted by Ni, Ray 1 year, 3 months ago
Reviewed-by: Ray Ni <ray.ni@intel.com>

> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of duntan
> Sent: Wednesday, December 21, 2022 12:22 PM
> To: devel@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/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-