audk/UefiCpuPkg/CpuDxe
Ray Ni bb40c3836f 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>
2023-04-01 01:08:34 +00:00
..
Ia32 UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
X64 UefiCpuPkg: Replace Opcode with the corresponding instructions. 2022-03-01 01:45:47 +00:00
CpuDxe.c UefiCpuPkg/CpuDxe: Substract TME-MK KEY_ID_BITS from CPU max PA 2023-04-01 01:08:34 +00:00
CpuDxe.h UefiCpuPkg/CpuDxe: Refactor to use CPUID definitions 2023-04-01 01:08:34 +00:00
CpuDxe.inf UefiCpuPkg: Remove UefiCpuLib from module INFs. 2023-03-10 08:23:56 +00:00
CpuDxe.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
CpuDxeExtra.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
CpuGdt.c UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
CpuGdt.h UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
CpuMp.c UefiCpuPkg: Enhance logic in InitializeMpExceptionStackSwitchHandlers 2022-08-31 04:23:55 +00:00
CpuMp.h UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
CpuPageTable.c UefiCpuPkg: CpuDxe: Set RW and P Attributes on Split Pages 2022-06-23 06:36:56 +00:00
CpuPageTable.h UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00