Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: bef0d333dc4fccdfc75e4be31e067b467a9a4093
      
https://github.com/tianocore/edk2/commit/bef0d333dc4fccdfc75e4be31e067b467a9a4093
  Author: Jiaxin Wu <jiaxin...@intel.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.c

  Log Message:
  -----------
  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...@intel.com>
Cc: Ray Ni <ray...@intel.com>
Cc: Rahul Kumar <rahul1.ku...@intel.com>
Cc: Gerd Hoffmann <kra...@redhat.com>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to