diff options
author | Jiaxin Wu <jiaxin.wu@intel.com> | 2024-07-03 16:16:57 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-07-05 08:18:31 +0000 |
commit | bef0d333dc4fccdfc75e4be31e067b467a9a4093 (patch) | |
tree | fe9b574f603ee24de7c51a3fc94a7b5e837a6ec9 /FatBinPkg | |
parent | 9389b9a208cc5c7d9b055ea06d92cc4903f705ee (diff) | |
download | edk2-bef0d333dc4fccdfc75e4be31e067b467a9a4093.zip edk2-bef0d333dc4fccdfc75e4be31e067b467a9a4093.tar.gz edk2-bef0d333dc4fccdfc75e4be31e067b467a9a4093.tar.bz2 |
UefiCpuPkg/PiSmmCpuDxeSmm: Fix system hang when SmmProfile enable
MMIO ranges within the mProtectionMemRange array may exceed 4G
and should be configured as 'Present & NX'. However, the initial
attribute for these MMIO addresses in the page table is
'non-present'. Other attributes should not be set or updated for
a non-present range if the present bit mask is zero, as this could
result in an error during the InitPaging for the page table update
process.
This patch is to resolve the error to make sure MMIO page table
can be configured correctly.
Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'FatBinPkg')
0 files changed, 0 insertions, 0 deletions