summaryrefslogtreecommitdiffstats
path: root/Nt32Pkg/MiscSubClassPlatformDxe/MiscResetCapabilitiesFunction.c
diff options
context:
space:
mode:
authorDun Tan <dun.tan@intel.com>2024-07-22 16:02:59 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-07-23 09:38:47 +0000
commit32e7f9aa6cdfe406034e2ce3f8714a968dae3a7c (patch)
tree2b4e3631d89f2a5a282e4dd43dcb8c006be4a86f /Nt32Pkg/MiscSubClassPlatformDxe/MiscResetCapabilitiesFunction.c
parent46eb0ca29bf6bd84381af8506e0d9b1755f767d9 (diff)
downloadedk2-master.tar.gz
edk2-master.tar.bz2
edk2-master.zip
UefiCpuPkg: Revert "UefiCpuPkg/PiSmmCpuDxeSmm:Map SMRAM in 4K..."HEADmaster
This reverts commit ae59b8ba4166384cbfa32a921aac289bcff2aef9. The commit ae59b8ba41 was added to modify the GenSmmPageTable() to map SMRAM in 4K page granularity. It was to urgently fix a smm hang issue by avoiding page split in paging structures that covers SMRAM range when SMI happens. But finally the smm hang issue was root caused and fixed by commit 839bd17973. Meanwhile a smm page table creation related issue was introduced by commit ae59b8ba41: In the function GenSmmPageTable(), the paging level for the range outside SMRAM is depend on the Input parameter PagingMode. However, the paging level for SMRAM range is depend on m5LevelPagingNeeded. If the two paging levels are different, then the smm page table is created incorrectly. So let's revert the commit "UefiCpuPkg/PiSmmCpuDxeSmm:Map SMRAM in 4K page granularity" Signed-off-by: Dun Tan <dun.tan@intel.com>
Diffstat (limited to 'Nt32Pkg/MiscSubClassPlatformDxe/MiscResetCapabilitiesFunction.c')
0 files changed, 0 insertions, 0 deletions