[PATCH] efi/arm64: Update debug prints to reflect other entropy sources

Mark Brown broonie at kernel.org
Wed Jan 20 11:28:00 EST 2021


On Wed, Jan 20, 2021 at 09:39:27AM +0100, Ard Biesheuvel wrote:

> The EFI stub randomizes the physical placement of the kernel as well,
> and this is no longer possible by the time we reach early_kaslr_init()
> in the kernel proper, so this is not something RNDR et al can make up
> for.

Ah, I'd not seen that the stub also did physical randomization.

> So perhaps change this to 'physical placement will not be randomized'
> or something along those lines? Or alternatively, just remove the
> second part of the sentence - we have better reporting of the KASLR
> state now anyway.

Probably easier to just remove it rather than bikeshed the log message,
it flags the error and avoids the issue I was seeing where the
diagnostics in the boot log claimed that we had both disabled and
enabled KASLR (quantum KASLR!).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210120/20cae659/attachment-0001.sig>


More information about the linux-arm-kernel mailing list