Re: [GIT PULL] random number generator fixes for 6.2-rc1, part 2

From: Johan Hovold
Date: Tue Dec 20 2022 - 02:36:38 EST


On Tue, Dec 20, 2022 at 03:24:58AM +0100, Jason A. Donenfeld wrote:

> In addition, there is one fix:
>
> - Check efi_rt_services_supported() before attempting to use an EFI runtime
> function. This affected EFI systems that disable runtime services yet still
> boot via EFI (e.g. the reporter's Dell arm64 laptop), as well systems where

Nit: This caused trouble on the Lenovo Thinkpad X13s that we're working
on supporting in mainline (i.e. not Dell).

> EFI runtime services have been forcibly disabled, such as on PREEMPT_RT. On
> those machines, a very early and hard to diagnose crash would happen,
> preventing boot.

Johan