[Skiboot] [PATCH] fast-reboot: improve integrity of fast reboots

Stewart Smith stewart at linux.vnet.ibm.com
Fri Feb 23 11:04:51 AEDT 2018


Nicholas Piggin <npiggin at gmail.com> writes:
> This is a start on some basic checks that might detect firmware
> problems that call for a full IPL. The patch is pretty rough at
> the moment but it's just for comments.
>
> - Checksum text and most read-only data, and verify that against
>   checksum taken at IPL.
>
> - Check integrity of memory allocation structures and freelists.

Good idea.

> - Zeroes most OS memory (should be parallelised).

Been meaning to do this for a while. I wonder how much time it really
takes on big systems... Could be worth doing in parallel I guess.

> There's probably lots more software (and harware) checks we should
> do here. But this is a first hack at it. What do people think, is
> this a good idea?

Yeah, I think it is.

For the checksum, we could use the sha512 code we have laying around
rather than using another one?

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list