Reviewed-by: Ray Ni Thanks, Ray ________________________________ From: devel@edk2.groups.io on behalf of duntan Sent: Thursday, November 9, 2023 10:51 AM To: devel@edk2.groups.io Subject: [edk2-devel] [PATCH 0/3] Move gMpInformationHobGuid from StandaloneMmPkg to UefiCpuPkg. Move gMpInformationHobGuid from StandaloneMmPkg to UefiCpuPkg. Previously, the HOB is defined, created and consumed only in StandaloneMmPkg. The HOB contains the number of processors and EFI_PROCESSOR_INFORMATION structure. This is the same as the information that PiSmmCpuDxeSmm uses EfiMpServiceProtocolGuid to get. The incoming plan is to create gMpInformationHobGuid for both StandaloneMm and legacy DXE_SMM in early phase(for example in CpuMpPei). Then PiSmmCpuDxeSmm can consume the hob, which can simplify code logic in PiSmmCpuDxeSmm driver. So move this HOB definition to UefiCpuPkg in this patch series. Dun Tan (3): UefiCpuPkg: Create MpInformation.h in UefiCpuPkg StandaloneMmPkg:Add UefiCpuPkg.dec in DependencyCheck StandaloneMmPkg:Remove MpInformation.h StandaloneMmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.inf | 1 + StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf | 1 + StandaloneMmPkg/StandaloneMmPkg.ci.yaml | 3 ++- StandaloneMmPkg/StandaloneMmPkg.dec | 1 - {StandaloneMmPkg => UefiCpuPkg}/Include/Guid/MpInformation.h | 2 +- UefiCpuPkg/UefiCpuPkg.dec | 3 +++ 6 files changed, 8 insertions(+), 3 deletions(-) rename {StandaloneMmPkg => UefiCpuPkg}/Include/Guid/MpInformation.h (88%) -- 2.31.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#111117): https://edk2.groups.io/g/devel/message/111117 Mute This Topic: https://groups.io/mt/102479007/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/leave/12367111/7686176/1913456212/xyzzy [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-