diff options
| author | Stanislaw Grams <stanislaw.grams@intel.com> | 2025-09-17 18:31:39 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-09-25 11:59:57 +0300 |
| commit | b15f98e68fb19c8b9ca5c895c175855023e33585 (patch) | |
| tree | 4218a988f2fe781a9da2bd1e075703155c7840ba /BaseTools/Source/Python/Ecc | |
| parent | 17691a2641c2715fc1196aa1b0fe85b85db6c240 (diff) | |
| download | edk2-b15f98e68fb19c8b9ca5c895c175855023e33585.tar.xz | |
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 <stanislaw.grams@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Ecc')
0 files changed, 0 insertions, 0 deletions
