Linux EFI development
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Ard Biesheuvel <ardb@kernel.org>
Cc: linux-efi <linux-efi@vger.kernel.org>,
	Linux ARM <linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH] efi/arm64: Update debug prints to reflect other entropy sources
Date: Wed, 20 Jan 2021 16:28:00 +0000	[thread overview]
Message-ID: <20210120162800.GC6794@sirena.org.uk> (raw)
In-Reply-To: <CAMj1kXEryUp9eo3cufS2G+=zBdqNbLUwGTzYjLQGBx1EtXeRTQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 819 bytes --]

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!).

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

      reply	other threads:[~2021-01-20 16:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-19 17:07 [PATCH] efi/arm64: Update debug prints to reflect other entropy sources Mark Brown
2021-01-20  8:39 ` Ard Biesheuvel
2021-01-20 16:28   ` Mark Brown [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210120162800.GC6794@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=ardb@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-efi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox