Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: db59ff333dee07afdd64f9b2efc682d475a9c3ad
      
https://github.com/tianocore/edk2/commit/db59ff333dee07afdd64f9b2efc682d475a9c3ad
  Author: Dun Tan <[email protected]>
  Date:   2024-01-15 (Mon, 15 Jan 2024)

  Changed paths:
    M UefiCpuPkg/PiSmmCpuDxeSmm/X64/PageTbl.c

  Log Message:
  -----------
  UefiCpuPkg:Limit PhysicalAddressBits in special case

When creating smm page table, limit maximum
supported physical addresses bits returned by
CalculateMaximumSupportAddress() to 47 if
5-Level Paging is disabled.

This commit is to avoid issue that more than
47-bit physical addresses are requested in smm
page table when 5-level paging is disabled.
4-level paging supports translating 48-bit
linear addresses to 52-bit physical addresses.
Since linear addresses are sign-extended,
linear-address space of 4-level paging is:
[0, 2^47-1] and
[0xffff8000_00000000, 0xffffffff_ffffffff].
So only [0, 2^47-1] linear-address range maps
to the identical physical-address range when
5-Level paging is disabled.

Signed-off-by: Dun Tan <[email protected]>
Reviewed-by: Ray Ni <[email protected]>
Reviewed-by: Gerd Hoffmann <[email protected]>
Cc: Laszlo Ersek <[email protected]>
Cc: Rahul Kumar <[email protected]>


  Commit: f5b91c60ef24eecf5702e061dd7fd700943405b2
      
https://github.com/tianocore/edk2/commit/f5b91c60ef24eecf5702e061dd7fd700943405b2
  Author: Dun Tan <[email protected]>
  Date:   2024-01-15 (Mon, 15 Jan 2024)

  Changed paths:
    M UefiCpuPkg/CpuMpPei/CpuMpPei.c
    M UefiCpuPkg/CpuMpPei/CpuMpPei.inf
    M UefiCpuPkg/Include/Guid/MpInformation2.h
    M UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c
    M UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
    M UefiCpuPkg/UefiCpuPkg.dec

  Log Message:
  -----------
  UefiCpuPkg: change name of gMpInformationHobGuid2

Change name of gMpInformationHobGuid2 to
gMpInformation2HobGuid. It's to align with
the file name MpInformation2.h and the
structure name MP_INFORMATION2_HOB_DATA.

Signed-off-by: Dun Tan <[email protected]>
Reviewed-by: Ray Ni <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>
Cc: Rahul Kumar <[email protected]>
Cc: Gerd Hoffmann <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/cfe484657242...f5b91c60ef24


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to