1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/firmware/efi/libstub
Mark Brown 1c761ee9da efi/arm64: Update debug prints to reflect other entropy sources
Currently the EFI stub prints a diagnostic on boot saying that KASLR will
be disabled if it is unable to use the EFI RNG protocol to obtain a seed
for KASLR.  With the addition of support for v8.5-RNG and the SMCCC RNG
protocol it is now possible for KASLR to obtain entropy even if the EFI
RNG protocol is unsupported in the system, and the main kernel now
explicitly says if KASLR is active itself.  This can result in a boot
log where the stub says KASLR has been disabled and the main kernel says
that it is enabled which is confusing for users.

Remove the explicit reference to KASLR from the diagnostics, the warnings
are still useful as EFI is the only source of entropy the stub uses when
randomizing the physical address of the kernel and the other sources may
not be available.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210120163810.14973-1-broonie@kernel.org
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
2021-01-21 10:54:08 +01:00
..
alignedmem.c efi/libstub: Fix gcc error around __umoddi3 for 32 bit builds 2020-07-09 09:45:09 +03:00
arm32-stub.c efi/libstub: arm32: Use low allocation for the uncompressed kernel 2020-09-16 18:55:02 +03:00
arm64-stub.c efi/arm64: Update debug prints to reflect other entropy sources 2021-01-21 10:54:08 +01:00
efi-stub-helper.c Merge branch 'efi/urgent' into efi/core, to pick up fixes 2020-10-12 13:38:31 +02:00
efi-stub.c efi: stub: get rid of efi_get_max_fdt_addr() 2020-12-09 08:37:27 +01:00
efistub.h efi/libstub: move TPM related prototypes into efistub.h 2021-01-19 17:57:15 +01:00
fdt.c efi: stub: get rid of efi_get_max_fdt_addr() 2020-12-09 08:37:27 +01:00
file.c efi/x86: Add a quirk to support command line arguments on Dell EFI firmware 2020-09-17 10:19:53 +03:00
gop.c efi/gop: Add an option to list out the available GOP modes 2020-05-20 19:09:20 +02:00
Makefile RISC-V Patches for the 5.10 Merge Window, Part 1 2020-10-19 18:18:30 -07:00
mem.c Linux 5.7-rc7 2020-05-25 15:10:37 +02:00
pci.c efi/libstub: Correct comment typos 2020-05-06 11:27:55 +02:00
random.c efi/libstub: Describe RNG functions 2020-02-23 21:57:19 +01:00
randomalloc.c efi/libstub/random: Increase random alloc granularity 2020-04-23 20:15:06 +02:00
relocate.c efi/libstub: Export efi_low_alloc_above() to other units 2020-09-16 18:54:59 +03:00
riscv-stub.c RISC-V: Add EFI stub support. 2020-10-02 14:31:21 -07:00
secureboot.c efi: x86/xen: switch to efi_get_secureboot_mode helper 2020-11-17 15:09:32 +01:00
skip_spaces.c efi/libstub: Fix missing-prototype warning for skip_spaces() 2020-06-15 19:43:58 +02:00
string.c efi/libstub: Fix missing-prototypes in string.c 2020-09-25 23:29:04 +02:00
tpm.c More EFI changes for v5.8: 2020-05-25 15:11:14 +02:00
vsprintf.c efi/printf: remove unneeded semicolon 2020-09-16 18:53:42 +03:00
x86-stub.c efi/x86: Only copy the compressed kernel image in efi_relocate_kernel() 2020-10-26 08:06:36 +01:00