[PATCH 7/7] efi: Print the secure boot status in x86 setup_arch() [ver #7]

David Howells dhowells at redhat.com
Fri Feb 3 08:21:58 PST 2017


Ard Biesheuvel <ard.biesheuvel at linaro.org> wrote:

> > +       if (IS_ENABLED(CONFIG_EFI)) {
> 
> Shouldn't this be a runtime check?

Interesting question.  The original patch I was working from had a #ifdef
here.  Possibly it doesn't need to be there at all.  We could rely entirely on
the value of boot_params.secure_boot.

David



More information about the linux-arm-kernel mailing list