[Skiboot] [PATCH 0/3] Various improvements the gard tool

Stewart Smith stewart at linux.vnet.ibm.com
Fri Sep 4 10:33:13 AEST 2015


Cyril Bur <cyril.bur at au1.ibm.com> writes:
> Patch one improves on blocklevel_smart_write(), which, until now has been
> subtly broken and incredibly dumb. Only called by the gard tool.
>
> The remain two patches address issues in how the gard tool uses the GUARD
> partition, specifically, addresses some assumptions made when it was first
> written that may have worked in the past but do not anymore.
>
> Cyril Bur (3):
>   libflash/blocklevel: Smarten up blocklevel_smart_write()
>   external/gard: Update record clearing to match Hostboots expectations
>   external/gard: Recover the entire gard partition
>
>  external/gard/gard.c  | 119 ++++++++++++++++++++++++++------------------------
>  libflash/blocklevel.c |  43 ++++++++++++++++--
>  2 files changed, 101 insertions(+), 61 deletions(-)

Seeing as we have the ability to have a file backend for a bunch of
these, it's probably about time we start seeing unit tests/tests for gard :)



More information about the Skiboot mailing list