qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/2] q35: implement SMRAM.D_LCK


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 1/2] q35: implement SMRAM.D_LCK
Date: Thu, 16 Apr 2015 10:12:12 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0


On 15/04/2015 15:58, Gerd Hoffmann wrote:
> The "A Tour Beyond BIOS Implementing S3 Resume with EDKII" white paper
> lists "Lock SMM. This must be done to maintain SMM integrity." as todo
> list item for the edk2 resume code path (page 18).
> 
> So it seems to me it is the job of the firmware to re-lock smm after S3
> (and before handing control back to the OS, obviously).

Right, however "D_LCK can be set to 1 via a normal configuration space
write but can only be cleared by a Full Reset."  A Full Reset is the
PLTRST# pin, which is asserted by the south bridge during power-up and
during CF9h reset.  S3 doesn't seem to be included.

My reading of the EDK2 whitepaper is that this may vary for other chipsets.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]