Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: fc939c7b37d72e5245a7a5abeda576704b5bd31b
https://github.com/tianocore/edk2/commit/fc939c7b37d72e5245a7a5abeda576704b5bd31b
Author: Aleksandr Goncharov <[email protected]>
Date: 2026-09-04 (Fri, 04 Sep 2026)
Changed paths:
M UefiCpuPkg/PiSmmCpuDxeSmm/SmmCpuMemoryManagement.c
Log Message:
-----------
UefiCpuPkg: Find top SMBASE tile by physical address
PatchSmmSaveStateMap() applies the extended 32KB data tail to the final
SmBase[] entry, assuming that the array is ordered by physical address
SMM_BASE_HOB_DATA indexes SmBase[] by processor index and does not
require a physical address order. A valid producer can therefore supply
a descending SMBASE layout. In that case, extending the data range from
the final array element overlaps SMI entry code in higher physical
tiles and marks it non-executable.
Find the SMBASE tile with the highest physical address and apply the
extended data tail only to that tile. Existing ascending layouts do not
change their current behavior
Signed-off-by: Aleksandr Goncharov <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits