> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Gerd
> Hoffmann
> Sent: Wednesday, February 1, 2023 9:15 PM
> To: Wu, Jiaxin <jiaxin...@intel.com>
> Cc: Laszlo Ersek <ler...@redhat.com>; Ni, Ray <ray...@intel.com>;
> devel@edk2.groups.io; Dong, Eric <eric.d...@intel.com>; Zeng, Star
> <star.z...@intel.com>; Kumar, Rahul R <rahul.r.ku...@intel.com>; Kinney,
> Michael D <michael.d.kin...@intel.com>; Zimmer, Vincent
> <vincent.zim...@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/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-