diff options
author | Ray Ni <ray.ni@intel.com> | 2023-02-27 13:44:29 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-04-01 01:08:34 +0000 |
commit | bb40c3836f896d231347a0a1c388ecc4af0b56c1 (patch) | |
tree | b7704d39f1117ea1392a4d806dd4b0c212d5f340 /BaseTools/Source/Python/Table | |
parent | f2f526e0741c8a8957c6a24ba848da92c5d2222c (diff) | |
download | edk2-bb40c3836f896d231347a0a1c388ecc4af0b56c1.tar.gz edk2-bb40c3836f896d231347a0a1c388ecc4af0b56c1.tar.bz2 edk2-bb40c3836f896d231347a0a1c388ecc4af0b56c1.zip |
UefiCpuPkg/CpuDxe: 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 'BaseTools/Source/Python/Table')
0 files changed, 0 insertions, 0 deletions