Hey Laszlo,

On 19.02.21 17:47, Laszlo Ersek wrote:

Hello Alex,

On 02/19/21 15:10, Alexander Graf wrote:
Hi Mike,

Thanks a lot for the pointer! In my case, the defaults for the
preallocated memory regions was just not big enough to prevent
hibernation breakage. I increased them now as intended and everything
works like a charm.

The most recent related OVMF commits are, for reference (merged on 2020-May-08):

      1  2c06e76bba06 OvmfPkg/PlatformPei: don't track BS Code/Data in default 
MemTypeInfo HOB
      2  356b96b3a2dc OvmfPkg/PlatformPei: rewrite MemTypeInfo HOB production 
logic
      3  8db87f98357b OvmfPkg/PlatformPei: extract memory type info defaults to 
PCDs
      4  7b6327ff03bb OvmfPkg/PlatformPei: increase memory type info defaults

The commit messages hopefully explain how OVMF utilizes the pattern described 
by Mike, and what PCDs to tweak if you need larger bins.

If you think your PCD updates are upstreamable, please feel free to submit 
those as a patch!

In a nutshell, I was missing 7b6327ff03bb. So unfortunately nothing upstreamable this time around - you beat me to it and I was just suffering from running UDK2018 ;)


Alex




Amazon Development Center Germany GmbH
Krausenstr. 38
10117 Berlin
Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss
Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B
Sitz: Berlin
Ust-ID: DE 289 237 879




-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#71850): https://edk2.groups.io/g/devel/message/71850
Mute This Topic: https://groups.io/mt/80739508/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to