summaryrefslogtreecommitdiffstats
path: root/UefiCpuPkg/CpuDxe
diff options
context:
space:
mode:
authorRay Ni <ray.ni@intel.com>2023-02-27 13:35:19 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-04-01 01:08:34 +0000
commit263782f66781f97be1f88e0097c5a2af6fbb4209 (patch)
tree7cb3ad4a5cee56180fec35e5f6078ea2b27d2cfd /UefiCpuPkg/CpuDxe
parentbb5c115fa61b727002f0aa2170c0881a6424b4e0 (diff)
downloadedk2-263782f66781f97be1f88e0097c5a2af6fbb4209.tar.gz
edk2-263782f66781f97be1f88e0097c5a2af6fbb4209.tar.bz2
edk2-263782f66781f97be1f88e0097c5a2af6fbb4209.zip
UefiCpuPkg/MtrrLib: Substract TME-MK KEY_ID_BITS from CPU max PA
CPUID enumeration of MAX_PA is unaffected by TME-MK activation and will continue to report the maximum physical address bits available for software to use, irrespective of the number of KeyID bits. So, we need to check if TME is enabled and adjust the PA size accordingly. Signed-off-by: Ray Ni <ray.ni@intel.com> Cc: Eric Dong <eric.dong@intel.com> Cc: Rahul Kumar <rahul1.kumar@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Ahmad Anadani <ahmad.anadani@intel.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'UefiCpuPkg/CpuDxe')
0 files changed, 0 insertions, 0 deletions