[coreboot-gerrit] Patch merged into coreboot/master: drivers/elog: sync events to non-volatile storage last
gerrit at coreboot.org
gerrit at coreboot.org
Tue Aug 9 17:46:12 CEST 2016
the following patch was just integrated into master:
commit 0284f62db2e656044ba1ed39ddc3ab4ae89509af
Author: Aaron Durbin <adurbin at chromium.org>
Date: Fri Aug 5 14:33:53 2016 -0500
drivers/elog: sync events to non-volatile storage last
There were multiple paths where writes and erases of the flash
were being done. Instead provide a single place for synchronizing
the non-volatile storage from the mirrored event log. This
synchronization point resides as the very last thing done when
adding an event to the log. The shrinking check happens before
committing the event to non-volatile storage so there's no need
to attempt a shrink in elog_init() because any previous events
committed already honored the full threshold.
BUG=chrome-os-partner:55932
Change-Id: Iaec9480eb3116fdc2f823c25d028a4cfb65a6eaf
Signed-off-by: Aaron Durbin <adurbin at chromium.org>
Reviewed-on: https://review.coreboot.org/16099
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan at google.com>
Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>
See https://review.coreboot.org/16099 for details.
-gerrit
More information about the coreboot-gerrit
mailing list