Is this regression? I remember I tried the S3 on real silicon with the patch 
change, don't see the issue in normal boot work flow. The only difference what 
I did is to trigger S3 in the BIOS shell, but it does covered the SmmRestoreCpu 
test. 

Now, I'm trying to reproduce the issue on ovmf, and build the OVMF boot on 
windows qemu, but I saw below error during boot:
SecCoreStartupWithStack(0xFFFCC000, 0x820000)
ASSERT [SecMain] c:\dev\code\edk2\MdePkg\Library\BasePcdLibNull\PcdLib.c(95): 
((BOOLEAN)(0==1))

Build command is:
build -p OvmfPkg\OvmfPkgIa32X64.dsc -a X64 -D SMM_REQUIRE -D 
DEBUG_ON_SERIAL_PORT -D SOURCE_DEBUG_ENABLE

Run qemu command is:
qemu-system-x86_64 -bios  
C:\Dev\Code\edk2\Build\Ovmf3264\DEBUG_VS2015x86\FV\OVMF.fd -hda 
fat:rw:hda-contents -serial file:log001.log -net none

Anything need to be care to build OvmfPkgIa32X64? BTW, how can I boot linux 
guest in windows qemu? Any bkm for this?

Thanks,
Jiaxin



> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Gerd
> Hoffmann
> Sent: Monday, March 6, 2023 9:21 PM
> To: Ni, Ray <ray...@intel.com>
> Cc: devel@edk2.groups.io; Wu, Jiaxin <jiaxin...@intel.com>; Dong, Eric
> <eric.d...@intel.com>; Zeng, Star <star.z...@intel.com>; Laszlo Ersek
> <ler...@redhat.com>; Kumar, Rahul R <rahul.r.ku...@intel.com>
> Subject: Re: [edk2-devel] [PATCH v9 0/6] Simplify SMM Relocation Process
> 
> On Mon, Mar 06, 2023 at 11:43:12AM +0000, Ni, Ray wrote:
> > Gerd,
> > Thanks for reporting. Can you kindly share the reproduce steps?
> 
>  (1) build OvmfPkgIa32X64.dsc with SMM_REQUIRE=TRUE
>  (2) boot linux guest using the firmware build.
>  (3) suspend: use 'echo mem > /sys/power/state' on linux guest
>      shell prompt.
>  (4) wakeup: use 'system_wakeup' on qemu monitor.
> 
> take care,
>   Gerd
> 
> 
> 
> 
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#100991): https://edk2.groups.io/g/devel/message/100991
Mute This Topic: https://groups.io/mt/97001110/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to