[edk2-devel] [PATCH 0/3] Allow SMM access-out when static paging is OFF

Ni, Ray posted 3 patches 4 years, 9 months ago
Failed in applying to current master (apply log)
UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/PageTbl.c   | 41 ++++++++------------
UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c      |  8 +++-
UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c | 21 +++++++---
UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 27 +++++--------
UefiCpuPkg/PiSmmCpuDxeSmm/X64/PageTbl.c    | 45 ++++++++--------------
5 files changed, 63 insertions(+), 79 deletions(-)
[edk2-devel] [PATCH 0/3] Allow SMM access-out when static paging is OFF
Posted by Ni, Ray 4 years, 9 months ago
The patch set refines the original CR2 save/restore logic by adding
a new internal function IsStaticPageTableEnabled() because now
there are two use cases that need to conditionally do something
based on whether static page table is enabled.
Based on the refine, the patch changes the policy to allow SMM access
out when static paging is OFF.

Ray Ni (3):
  UefiCpuPkg/PiSmmCpu: Add Internal function IsStaticPageTableEnabled
  UefiCpuPkg/PiSmmCpu: Refine CR2 save/restore logic
  UefiCpuPkg/PiSmmCpu: Allow SMM access-out when static paging is OFF

 UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/PageTbl.c   | 41 ++++++++------------
 UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c      |  8 +++-
 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c | 21 +++++++---
 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 27 +++++--------
 UefiCpuPkg/PiSmmCpuDxeSmm/X64/PageTbl.c    | 45 ++++++++--------------
 5 files changed, 63 insertions(+), 79 deletions(-)

-- 
2.21.0.windows.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#44467): https://edk2.groups.io/g/devel/message/44467
Mute This Topic: https://groups.io/mt/32616000/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-