[Skiboot] [PATCH stable] external/gard: Fix displaying 'cleared' gard records

Stewart Smith stewart at linux.vnet.ibm.com
Fri Jan 15 14:50:13 AEDT 2016

Cyril Bur <cyril.bur at au1.ibm.com> writes:

> When a garded component is replaced hostboot detects this and updates the
> gard partition.
> What hostboot does is set the record_id field to 0xFFFFFFFF but leaves the
> rest of the flash untouched, this has caused issues with the gard tool the
> thinking was that an entire record of all 0xFF bytes would signal not a
> valid record.
> This patch add rectifies this issue and `gard list` will no longer show any
> record with an id of 0xFFFFFFFF.
> Signed-off-by: Cyril Bur <cyril.bur at au1.ibm.com>
> ---
> Stewart: This is the backported version of patch
> https://lists.ozlabs.org/pipermail/skiboot/2016-January/002639.html


Merged to stable as of c80260e5ef3c780f2b6006fb4e50aaae2089d56f
Merged to master as of 91cebdcd557dfc2dfc8050a34edb11a43facaf74

The master one is of the original patch, stable is this one.

Stewart Smith
OPAL Architect, IBM.

More information about the Skiboot mailing list