[PATCH 7/7] efi: Print the secure boot status in x86 setup_arch() [ver #7]
From: Ard Biesheuvel <hidden>
Date: 2017-02-03 17:00:47
Also in:
linux-efi, lkml
From: Ard Biesheuvel <hidden>
Date: 2017-02-03 17:00:47
Also in:
linux-efi, lkml
On 3 February 2017 at 16:29, Ard Biesheuvel [off-list ref] wrote:
On 3 February 2017 at 16:29, David Howells [off-list ref] wrote:quoted
David Howells [off-list ref] wrote:quoted
Ard Biesheuvel [off-list ref] wrote:quoted
Yes, but only if you are booting via UEFI, no?Why limit it so? Even if you don't boot via UEFI, the bootloader/kexec can always set the secure-boot state on.quoted
So perhaps use efi_enabled(EFI_BOOT) instead?I've no objection to that, given it incorporates a test of CONFIG_EFI.Feel free to just go ahead and change it in the patch. We can always take the check out later.Sure
OK, I have queued these patches (minus the DeployedMode one) in the next branch on efi.git. Please double check, I will send out a pull request to tip shortly (once the autobuilder gives me the green light) Thanks, Ard.