Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40520 )
Change subject: drivers/smmstore: Implement SMMSTORE version 2
......................................................................
Patch Set 23:
(1 comment)
https://review.coreboot.org/c/coreboot/+/40520/21/src/commonlib/include/comm...
File src/commonlib/include/commonlib/coreboot_tables.h:
https://review.coreboot.org/c/coreboot/+/40520/21/src/commonlib/include/comm...
PS21, Line 492: struct lb_smmstorev2 {
: uint32_t tag;
: uint32_t size;
: uint32_t num_blocks; /* Number of writeable blocks in SMM */
: uint32_t block_size; /* Size of a block in byte. Default: 64 KiB */
: uint32_t mmap_addr; /* MMIO address of the store for read only access */
: uint32_t com_buffer; /* Physical address of the communication buffer */
: uint32_t com_buffer_size; /* Size of the communication buffer in bytes */
: uint8_t apm_cmd; /* The command byte to write to the APM I/O port */
: uint8_t unused[3]; /* Set to zero */
: };
Not for now, but as a future idea it is doable. […]
It's meant for bootloader use, but OSes could use SMMSTORE as well. However, I imagine OSes would have better places to save stuff into than the flash chip.
--
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: 23
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: Michał Żygowski
michal.zygowski@3mdeb.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, 13 Oct 2020 12:12:11 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Michał Żygowski
michal.zygowski@3mdeb.com
Comment-In-Reply-To: Tim Wawrzynczak
twawrzynczak@chromium.org
Comment-In-Reply-To: Angel Pons
th3fanbus@gmail.com
Gerrit-MessageType: comment