Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: b15f98e68fb19c8b9ca5c895c175855023e33585
https://github.com/tianocore/edk2/commit/b15f98e68fb19c8b9ca5c895c175855023e33585
Author: Stanislaw Grams <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M OvmfPkg/IntelTdx/TdxHelperLib/SecTdxHelper.c
Log Message:
-----------
OvmfPkg/IntelTdx: Fix TDVF boot failure with odd-sized memory below 2816M
TDVF boot in QEMU fails when the VMM is configured with
odd memory sizes (in MB) below 2816M (e.g., 2815M, 2813M).
This is due to the RAM split defined in pc_q35.c:
when RAM exceeds 2816M, low memory is truncated to 2048M
and the remainder is placed above the 4G boundary.
This split causes failures only with odd sizes below 2816M.
TDVF uses a default page size of 2M (hugepage),
which leads to a corner case where the last 1M may not be accepted.
To resolve this, on BSP, always accept any remaining memory using a 4K page
size.
Signed-off-by: Stanislaw Grams <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits