Attention is currently required from: Jason Glenesk, Raul Rangel, Marshall Dawson, Karthik Ramasubramanian, Felix Held.
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/55401 )
Change subject: timestamp,amd/common/apob_cache: Add timestamps for APOB
......................................................................
Patch Set 1: Code-Review+2
(1 comment)
File src/soc/amd/common/block/apob/apob_cache.c:
https://review.coreboot.org/c/coreboot/+/55401/comment/3981a0bc_96a5b3f6
PS1, Line 143: timestamp_add_now(TS_AMD_APOB_ERASE_START);
:
: /* write data to flash region */
: if (rdev_eraseat(&write_rdev, 0, DEFAULT_MRC_CACHE_SIZE) < 0) {
: printk(BIOS_ERR, "Error: APOB flash region erase failed\n");
: return;
: }
:
: timestamp_add_now(TS_AMD_APOB_WRITE_START);
:
: if (rdev_writeat(&write_rdev, apob_src_ram, 0, apob_src_ram->size) < 0) {
: printk(BIOS_ERR, "Error: APOB flash region update failed\n");
: return;
: }
I think the APOB data only really changes when we update firmware versions.
Hmmm, then I'd say it's not worth the hassle.
Do we have existing code to calculate the diffs and only erase-update those blocks?
Not that I know of.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/55401
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I08e371873112e38f623f452af0eb946f5471c399
Gerrit-Change-Number: 55401
Gerrit-PatchSet: 1
Gerrit-Owner: Raul Rangel
rrangel@chromium.org
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Felix Held
felix-coreboot@felixheld.de
Gerrit-Reviewer: Jason Glenesk
jason.glenesk@gmail.com
Gerrit-Reviewer: Karthik Ramasubramanian
kramasub@google.com
Gerrit-Reviewer: Marshall Dawson
marshalldawson3rd@gmail.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Attention: Jason Glenesk
jason.glenesk@gmail.com
Gerrit-Attention: Raul Rangel
rrangel@chromium.org
Gerrit-Attention: Marshall Dawson
marshalldawson3rd@gmail.com
Gerrit-Attention: Karthik Ramasubramanian
kramasub@google.com
Gerrit-Attention: Felix Held
felix-coreboot@felixheld.de
Gerrit-Comment-Date: Tue, 15 Jun 2021 15:11:53 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Raul Rangel
rrangel@chromium.org
Comment-In-Reply-To: Angel Pons
th3fanbus@gmail.com
Gerrit-MessageType: comment