Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40520 )
Change subject: drivers/smmstore: Implement SMMSTORE version 2
......................................................................
Patch Set 19:
(1 comment)
https://review.coreboot.org/c/coreboot/+/40520/1/src/include/smmstore.h
File src/include/smmstore.h:
https://review.coreboot.org/c/coreboot/+/40520/1/src/include/smmstore.h@40
PS1, Line 40: * Version 2 of the SMM requires as SMMSTORE of at least 256KiB of size, that
: * has to be aligned to 64KiB.
: * This allows the payload to store raw data in the SMMSTORE flash region.
: * This can be used by a FaultTolerantWrite implementation, that uses at least
: * two regions in an A/B update scheme.
64KiB is the minimum for UEFI variable store + 64KiB as FaultTolerantWrite backup. […]
There are usually 3 regions used by EDK.
* The variable store
* The FTW spare block
* The FTW working block
All regions must be block aligned.
The FTW Spare size must be greater than the variable store. In this case 64KiB + 1 block.
The FTW Working Size can be much smaller than 64KiB.
That sums up to:
* The variable store: 1block = 64KiB
* The FTW spare block: 2blocks = 2x64KiB
* The FTW working block: 1block = 64KiB
In total 256KiB that's required when using 64KiB block size and EDK2 variable store.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/40520
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I25e49d184135710f3e6dd1ad3bed95de950fe057
Gerrit-Change-Number: 40520
Gerrit-PatchSet: 19
Gerrit-Owner: Patrick Rudolph
patrick.rudolph@9elements.com
Gerrit-Reviewer: Marcello Sylvester Bauer
sylv@sylv.io
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Reviewer: Christian Walter
christian.walter@9elements.com
Gerrit-Reviewer: Jeremy Soller
jeremy@system76.com
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Matt DeVillier
matt.devillier@gmail.com
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Philipp Deppenwiese
zaolin.daisuki@gmail.com
Gerrit-Reviewer: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Benjamin Doron
benjamin.doron00@gmail.com
Gerrit-CC: Duncan Laurie
dlaurie@chromium.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-CC: Tim Crawford
tcrawford@system76.com
Gerrit-Comment-Date: Tue, 06 Oct 2020 13:43:13 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Patrick Rudolph
patrick.rudolph@9elements.com
Comment-In-Reply-To: Arthur Heymans
arthur@aheymans.xyz
Gerrit-MessageType: comment