[edk2-devel] [PATCH 0/6] Substract TME-MK KEY_ID_BITS from CPU max PA

Ni, Ray ray.ni at intel.com
Thu Mar 30 02:26:25 UTC 2023


Tom,
I would assume this won't break any AMD system because the CPUID bit doesn't declare this feature.

Gerd,
This is needed by Intel platform for TME-MK. Can you help to analyze if it has any impact to OVMF? I assume no.


Thanks,
Ray

From: devel at edk2.groups.io <devel at edk2.groups.io> On Behalf Of Ni, Ray
Sent: Tuesday, March 28, 2023 10:10 PM
To: devel at edk2.groups.io
Cc: 'Gerd Hoffmann' <kraxel at redhat.com>; Tom Lendacky <thomas.lendacky at amd.com>
Subject: Re: [edk2-devel] [PATCH 0/6] Substract TME-MK KEY_ID_BITS from CPU max PA

Gerd, Tom,
Can you please review this patch series?

thanks,
ray
________________________________
From: devel at edk2.groups.io<mailto:devel at edk2.groups.io> <devel at edk2.groups.io<mailto:devel at edk2.groups.io>> on behalf of Ni, Ray <ray.ni at intel.com<mailto:ray.ni at intel.com>>
Sent: Wednesday, March 22, 2023 7:56:44 AM
To: devel at edk2.groups.io<mailto:devel at edk2.groups.io> <devel at edk2.groups.io<mailto:devel at edk2.groups.io>>
Subject: [edk2-devel] [PATCH 0/6] Substract TME-MK KEY_ID_BITS from CPU max PA


Ray Ni (6):
  MdePkg: Add TME-MK related CPUID and MSR definitions
  UefiCpuPkg/MtrrTest: Only claim CPUID max leaf as 1
  UefiCpuPkg/MtrrLib: Substract TME-MK KEY_ID_BITS from CPU max PA
  UefiCpuPkg/CpuDxe: Refactor to use CPUID definitions
  UefiCpuPkg/CpuDxe: Substract TME-MK KEY_ID_BITS from CPU max PA
  UefiCpuPkg/MtrrTest: Add test cases for TME-MK enable case

 .../Include/Register/Intel/ArchitecturalMsr.h | 106 ++++++++++++++-
 MdePkg/Include/Register/Intel/Cpuid.h         |   9 +-
 UefiCpuPkg/CpuDxe/CpuDxe.c                    |  38 ++++--
 UefiCpuPkg/CpuDxe/CpuDxe.h                    |   3 +-
 UefiCpuPkg/Library/MtrrLib/MtrrLib.c          |  24 +++-
 .../MtrrLib/UnitTest/MtrrLibUnitTest.c        |  18 +--
 .../MtrrLib/UnitTest/MtrrLibUnitTest.h        |   3 +-
 UefiCpuPkg/Library/MtrrLib/UnitTest/Support.c | 126 ++++++++++++++----
 8 files changed, 278 insertions(+), 49 deletions(-)

--
2.39.1.windows.1








-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#102145): https://edk2.groups.io/g/devel/message/102145
Mute This Topic: https://groups.io/mt/97767965/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/leave/3943202/1813853/130120423/xyzzy [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20230330/b0862266/attachment.htm>


More information about the edk2-devel-archive mailing list