mbox series

[v4,0/2] Improve KASLR diagnostics

Message ID 20191108171244.48781-1-broonie@kernel.org (mailing list archive)
Headers show
Series Improve KASLR diagnostics | expand

Message

Mark Brown Nov. 8, 2019, 5:12 p.m. UTC
This series provides diagnostics on boot for KASLR to improve usability
at runtime.

v4: Make kaslr_status static __initdata rather than __ro_after_init.
v3: Still mask the seed from FDT when disabling from the command line.
v2: Defer the print to a core_initcall() so we don't try and print
    before printk() can cope, covering other less common error cases as
    well and also an explicit message when KASLR is enabled.

Mark Brown (2):
  arm64: kaslr: Announce KASLR status on boot
  arm64: kaslr: Check command line before looking for a seed

 arch/arm64/kernel/kaslr.c | 44 +++++++++++++++++++++++++++++++++++----
 1 file changed, 40 insertions(+), 4 deletions(-)

Comments

Catalin Marinas Nov. 8, 2019, 5:47 p.m. UTC | #1
On Fri, Nov 08, 2019 at 05:12:42PM +0000, Mark Brown wrote:
> Mark Brown (2):
>   arm64: kaslr: Announce KASLR status on boot
>   arm64: kaslr: Check command line before looking for a seed

Queued for 5.5. Thanks.