41a15855c1
Do not try to refresh the RNG seed in case the firmware does not support
setting variables.
This is specifically needed to prevent a NULL-pointer dereference on the
Lenovo X13s with some firmware revisions, or more generally, whenever
the runtime services have been disabled (e.g. efi=noruntime or with
PREEMPT_RT).
Fixes:
|
||
---|---|---|
.. | ||
libstub | ||
test | ||
Kconfig | ||
Makefile | ||
apple-properties.c | ||
arm-runtime.c | ||
capsule-loader.c | ||
capsule.c | ||
cper-arm.c | ||
cper-x86.c | ||
cper.c | ||
cper_cxl.c | ||
cper_cxl.h | ||
dev-path-parser.c | ||
earlycon.c | ||
efi-bgrt.c | ||
efi-init.c | ||
efi-pstore.c | ||
efi.c | ||
efibc.c | ||
embedded-firmware.c | ||
esrt.c | ||
fdtparams.c | ||
memattr.c | ||
memmap.c | ||
mokvar-table.c | ||
rci2-table.c | ||
reboot.c | ||
riscv-runtime.c | ||
runtime-wrappers.c | ||
sysfb_efi.c | ||
tpm.c | ||
vars.c |