[PATCH v2] kexec: Add --no-checks option

Simon Horman horms at verge.net.au
Thu Apr 19 18:38:45 AEST 2018


On Wed, Apr 11, 2018 at 11:30:48AM -0700, Geoff Levand wrote:
> Add a new option --no-checks to kexec that allows for a fast
> reboot by avoiding the purgatory integrity checks.  This option is
> intended for use by kexec based bootloaders that load a new
> image and then immediately transfer control to it.
> 
> Signed-off-by: Geoff Levand <geoff at infradead.org>
> ---
> Hi Simon,
> 
> On 10/21/2015 04:12 PM, Geoff Levand wrote:
> > Hi Simon,
> > 
> > It was reported that on some systems where purgatory is running
> > without caches enabled the sha256 calculations would take several
> > minutes.  For bootloaders that just load a new image and
> > immediately jump into it the loss of the integrity check is worth
> > the increase in boot speed.  Please consider.
> 
> There seems to be continued interest in faster kexec re-boot times
> on arm64 systems so I rebased my old patch and renamed the
> option from '--lite' to '--no-checks'.  Please consider.

Thanks, applied.


More information about the Petitboot mailing list