Hi Gerd, I have updated is in V2. Please have a check.
Thanks Yuanhao -----Original Message----- From: Gerd Hoffmann <kra...@redhat.com> Sent: Tuesday, June 20, 2023 10:09 PM To: devel@edk2.groups.io; Xie, Yuanhao <yuanhao....@intel.com> Cc: Dong, Eric <eric.d...@intel.com>; Ni, Ray <ray...@intel.com>; Kumar, Rahul R <rahul.r.ku...@intel.com>; Tom Lendacky <thomas.lenda...@amd.com> Subject: Re: [edk2-devel] [PATCH 1/5] UefiCpuPkg: Create MpHandOff to transfer info from PEI to DXE. Hi, > +typedef struct { > + UINT32 ApicId; > + UINT32 Health; > + UINT64 StartupSignalAddress; > + UINT64 StartupProcedureAddress; > +} PROCESSOR_HAND_OFF; > + > +typedef struct { > + // > + // The ProcessorIndex indicates the range of processors. If it is > +set to 0, it signifies > + // processors from 0 to CpuCount - 1. Multiple instances in the HOB > +list describe > + // processors from ProcessorIndex to ProcessorIndex + CpuCount - 1. > + // > + UINT32 ProcessorIndex; > + UINT32 CpuCount; > + UINT32 WaitLoopExecutionMode; > + UINT32 StartupSignalValue; > + PROCESSOR_HAND_OFF Info[]; > +} MP_HAND_OFF; This works for ~2700 processors, with larger numbers you hit the hob size limit. Not a good idea IMHO, we already have systems that big. take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#106331): https://edk2.groups.io/g/devel/message/106331 Mute This Topic: https://groups.io/mt/99483093/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-