]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg/PiSmmCpu: Remove hardcode 48 address size limitation
authorRay Ni <ray.ni@intel.com>
Tue, 11 May 2021 16:34:49 +0000 (00:34 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 18 May 2021 08:07:57 +0000 (08:07 +0000)
commit29e300ff815283259e81822ed3cb926bb9ad6460
treebd85d65ec27d47299402155d96098662a8abc4f4
parent1fbf5e30ae8eb725f4e10984f7b0a208f78abbd0
UefiCpuPkg/PiSmmCpu: Remove hardcode 48 address size limitation

5-level paging can be enabled on CPU which supports up to 52 physical
address size. But when the feature was enabled, the 48 address size
limit was not removed and the 5-level paging testing didn't access
address >= 2^48. So the issue wasn't detected until recently an
address >= 2^48 is accessed.

Signed-off-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c