[PATCH 0/2] efi: Allow to auto-disable it on RT

2019-08-16 Thread Sebastian Andrzej Siewior
Hi, since we have CONFIG_PREEMPT_RT these two patches allow to auto-disable EFI runtime services on RT while it is still possible to override it and use it if needed. Sebastian

[PATCH 1/2] efi: Allow efi=runtime

2019-08-16 Thread Sebastian Andrzej Siewior
In case the option "efi=noruntime" is default at built-time, the user could overwrite its state by `efi=runtime' and allow it again. Acked-by: Ard Biesheuvel Signed-off-by: Sebastian Andrzej Siewior --- drivers/firmware/efi/efi.c |3 +++ 1 file changed, 3 insertions(+) ---

[PATCH 2/2] efi: Disable runtime services on RT

2019-08-16 Thread Sebastian Andrzej Siewior
Based on meassurements the EFI functions get_variable / get_next_variable take up to 2us which looks okay. The functions get_time, set_time take around 10ms. Those 10ms are too much. Even one ms would be too much. Ard mentioned that SetVariable might even trigger larger latencies if the firware

Early EFI-related boot freeze in parse_setup_data()

2019-08-16 Thread Daniel Drake
Hi, We're working with a new consumer MiniPC based on AMD E1-7010. It fails to boot Linux when booting in EFI mode - it hangs with nothing on screen. earlycon=efifb doesn't show any output. Looking closer, I was able to confirm that we reach EFI ExitBootServices() via efi_printk in the efi