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: [email protected] <[email protected]> On Behalf Of Ni, Ray Sent: Tuesday, March 28, 2023 10:10 PM To: [email protected] Cc: 'Gerd Hoffmann' <[email protected]>; Tom Lendacky <[email protected]> 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: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> on behalf of Ni, Ray <[email protected]<mailto:[email protected]>> Sent: Wednesday, March 22, 2023 7:56:44 AM To: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> 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/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/leave/9847357/21656/1706620634/xyzzy [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
