Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: bfad87ceec39eae9f836a5e2c9597948fc1a7395
https://github.com/tianocore/edk2/commit/bfad87ceec39eae9f836a5e2c9597948fc1a7395
Author: Thomas Barrett <[email protected]>
Date: 2024-01-15 (Mon, 15 Jan 2024)
Changed paths:
M OvmfPkg/Library/PlatformInitLib/MemDetect.c
Log Message:
-----------
OvmfPkg: Add CloudHv support to PlatformScanE820 utility function.
The PlatformScanE820 utility function is not currently compatible
with CloudHv since it relies on the prescence of the "etc/e820"
QemuFwCfg file. Update the PlatformScanE820 to iterate through the
PVH e820 entries when running on a CloudHv guest.
Signed-off-by: Thomas Barrett <[email protected]>
Acked-by: Gerd Hoffmann <[email protected]>
Commit: 6d204e8fbcfe4b38de0c5462ee68ebce6f426a2c
https://github.com/tianocore/edk2/commit/6d204e8fbcfe4b38de0c5462ee68ebce6f426a2c
Author: Thomas Barrett <[email protected]>
Date: 2024-01-15 (Mon, 15 Jan 2024)
Changed paths:
M OvmfPkg/Library/PlatformInitLib/MemDetect.c
Log Message:
-----------
OvmfPkg: Update PlatformAddressWidthInitialization for CloudHv
In addition to initializing the PhysMemAddressWidth and
FirstNonAddress fields in PlatformInfoHob, the
PlatformAddressWidthInitialization function is responsible
for initializing the PcdPciMmio64Base and PcdPciMmio64Size
fields.
Currently, for CloudHv guests, the PcdPciMmio64Base is
placed immediately after either the 4G boundary or the
last RAM region, whichever is greater. We do not change
this behavior.
Previously, when booting CloudHv guests with greater than
1TiB of high memory, the PlatformAddressWidthInitialization
function incorrect calculates the amount of RAM using the
overflowed 24-bit CMOS register.
Now, we update the PlatformAddressWidthInitialization
behavior on CloudHv to scan the E820 entries to detect
the amount of RAM. This allows CloudHv guests to boot with
greater than 1TiB of RAM
Signed-off-by: Thomas Barrett <[email protected]>
Acked-by: Gerd Hoffmann <[email protected]>
Commit: 82e149f2bf796a5a0492d764897ada261d266653
https://github.com/tianocore/edk2/commit/82e149f2bf796a5a0492d764897ada261d266653
Author: Thomas Barrett <[email protected]>
Date: 2024-01-15 (Mon, 15 Jan 2024)
Changed paths:
M OvmfPkg/CloudHv/CloudHvX64.dsc
Log Message:
-----------
OvmfPkg: CloudHv: Enable PcdUse1GPageTable
Without enabling PcdUse1GPageTable, CloudHv guests are limited
to a 40-bit address space, even if the hardware supports more.
This limits the amount of RAM to 1TiB of CloudHv guests.
Signed-off-by: Thomas Barrett <[email protected]>
Acked-by: Gerd Hoffmann <[email protected]>
Compare: https://github.com/tianocore/edk2/compare/195e59bd0c60...82e149f2bf79
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits