[edk2-devel] [PATCH v3 1/5] UefiCpuPkg/SmmBaseHob.h: Add SMM Base HOB Data

Ni, Ray ray.ni at intel.com
Thu Feb 2 03:54:43 UTC 2023



> -----Original Message-----
> From: devel at edk2.groups.io <devel at edk2.groups.io> On Behalf Of Gerd
> Hoffmann
> Sent: Wednesday, February 1, 2023 9:15 PM
> To: Wu, Jiaxin <jiaxin.wu at intel.com>
> Cc: Laszlo Ersek <lersek at redhat.com>; Ni, Ray <ray.ni at intel.com>;
> devel at edk2.groups.io; Dong, Eric <eric.dong at intel.com>; Zeng, Star
> <star.zeng at intel.com>; Kumar, Rahul R <rahul.r.kumar at intel.com>; Kinney,
> Michael D <michael.d.kinney at intel.com>; Zimmer, Vincent
> <vincent.zimmer at intel.com>
> Subject: Re: [edk2-devel] [PATCH v3 1/5] UefiCpuPkg/SmmBaseHob.h: Add
> SMM Base HOB Data
> 
> On Sun, Jan 29, 2023 at 05:24:31AM +0000, Wu, Jiaxin wrote:
> > Thanks Gerd raise this open -- how to support more processors due to hob
> size limitation.
> >
> > Looks multiple hobs is the only way since we have to store each cpu's
> > info? Sorry, allow me ask a stupid question: why DataLength in hob
> > defined as UINT16 causing the hob size limitation? Any design
> > background here?
> 
> Probably just nobody expected that big hobs being ever needed when this
> was designed looooong ago.
> 
> But as laszlo outlined:  There is the option to use a page allocation
> for the array and store a pointer to the array in the HOB.  Which is
> probably the simplest approach given you have a single, linear array
> then.

Gerd,
I replied in another thread to Laszlo's page allocation proposal to explain
why page allocation is not preferred (considering the standalone MM).



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




More information about the edk2-devel-archive mailing list