public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "duntan" <dun.tan@intel.com>
To: devel@edk2.groups.io
Subject: [Patch V2 0/3] Introduce page table pool mechanism in SMM page table
Date: Wed, 21 Dec 2022 12:21:53 +0800	[thread overview]
Message-ID: <20221221042156.280-1-dun.tan@intel.com> (raw)

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


             reply	other threads:[~2022-12-21  4:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-21  4:21 duntan [this message]
2022-12-21  4:21 ` [Patch V2 1/3] UefiCpuPkg/PiSmmCpuDxeSmm: Introduce page table pool mechanism duntan
2022-12-21  4:21 ` [Patch V2 2/3] UefiCpuPkg: Remove unused API in SmmCpuFeaturesLib.h duntan
2022-12-21  4:21 ` [Patch V2 3/3] UefiCpuPkg: Simplify the code to set smm page table as RO duntan
2022-12-21  8:11 ` [edk2-devel] [Patch V2 0/3] Introduce page table pool mechanism in SMM page table Ni, Ray

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221221042156.280-1-dun.tan@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox