Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 3e5942ea5b022a6b148b207b2e81a72f1725d7b7
https://github.com/tianocore/edk2/commit/3e5942ea5b022a6b148b207b2e81a72f1725d7b7
Author: Khalid Ali <[email protected]>
Date: 2026-01-14 (Wed, 14 Jan 2026)
Changed paths:
M OvmfPkg/OvmfPkgX64.dsc
M OvmfPkg/OvmfPkgX64.fdf
Log Message:
-----------
OvmfPkg: Fix dependency issue when StandaloneMm enabled
When enabled support of StandaloneMm on OVMF, ovmf boot manager depends
on S3SaveStateDxe. However, the support of StandaloneMm currently
doesn't include that driver. This causes assertion on ovmf with DEBUG
and exception on RELEASE.
PlatformBootManagerLib requires S3SaveStateDxe which produces
EFI_S3_SAVE_STATE_PROTOCOL to successfully able to store boot secript.
Given the commit b017b1b that introduced didn't indicate any potential
issue. Also enabling that library, there is no other issues observed.
S3SaveStateDxe should always be built with OVMF whether StandaloneMm is
enabled or not.
Observations:
OVMF DEBUG build has been observed to trigger this assertions:
ASSERT_EFI_ERROR (Status = Not Found)
ASSERT BdsPlatform.c(1583): !(((RETURN_STATUS)(Status)) >=
0x8000000000000000ULL)
On OVMF RELEASE build due missing null check BootScript is dereferenced
while it is NULL. Which caused following exception:
!!!! X64 Exception Type - 06(#UD - Invalid Opcode) CPU Apic ID - 00000000 !!!!
RIP - 00000000000E0000, CS - 0000000000000038, RFLAGS - 0000000000010246
RAX - 0000000000000000, RCX - 0000000000000000, RDX - 000000000000000A
RBX - 0000000000000000, RSP - 0000000007E8E968, RBP - 0000000007E8EE50
RSI - 0000000006B9ADE3, RDI - 0000000006BA2670
R8 - 0000000000000004, R9 - 0000000006BA1DD5, R10 - 00000000076DF100
R11 - 00000000076DE295, R12 - 0000000007E8EAA8, R13 - 0000000007E8EED8
R14 - 0000000000000600, R15 - 000000008000F880
DS - 0000000000000030, ES - 0000000000000030, FS - 0000000000000030
GS - 0000000000000030, SS - 0000000000000030
CR0 - 0000000080010033, CR2 - 0000000000000000, CR3 - 0000000007801000
CR4 - 0000000000000668, CR8 - 0000000000000000
DR0 - 0000000000000000, DR1 - 0000000000000000, DR2 - 0000000000000000
DR3 - 0000000000000000, DR6 - 00000000FFFF0FF0, DR7 - 0000000000000400
GDTR - 00000000075DA000 0000000000000057, LDTR - 0000000000000000
IDTR - 0000000007270018 0000000000000FFF, TR - 0000000000000048
FXSAVE_STATE - 0000000007E8E5C0
!!!! Can't find image information. !!!!
Signed-off-by: Khalid Ali <[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