Hi,
> The MEMFD range is outside of the firmware image map, MEMFD begins with
> 0x800000 [1] and in my boots I don't see it reserved in e820.
Ah, ok.
> Here is the snippet.
>
> [ ... ]
> [ 0.000000] BIOS-e820: [mem 0x0000000000800000-0x0000000000807fff] ACPI NVS
> [ 0.000000] BIOS-e820: [mem 0x0000000000808000-0x000000000080afff] usable
> [ 0.000000] BIOS-e820: [mem 0x000000000080b000-0x000000000080bfff] ACPI NVS
> [ 0.000000] BIOS-e820: [mem 0x000000000080c000-0x000000000080ffff] usable
> [ 0.000000] BIOS-e820: [mem 0x0000000000810000-0x00000000008fffff] ACPI NVS
> [ ... ]
Hmm. Confused. memfd size is 0xD00000, so should the block from 800000
to 8cffff be reserved? Why does it end at 8fffff instead?
The first hole is this:
0x008000|0x001000
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbPageTableBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbPageTableSize
0x009000|0x002000
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbSize
The second hole is this (git master) ...
0x00C000|0x001000
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbBackupBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbBackupSize
And IIRC the cpuid + secrets pages are added there.
So, yes, they must be reserved indeed. What about the other pages?
Shouldn't they be reserved too? Or will they not be used any more
at runtime?
thanks,
Gerd
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#82211): https://edk2.groups.io/g/devel/message/82211
Mute This Topic: https://groups.io/mt/86292921/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-