linux/Documentation/x86
David Howells de8cb45862 efi: Get and store the secure boot status
Get the firmware's secure-boot status in the kernel boot wrapper and stash
it somewhere that the main kernel image can find.

The efi_get_secureboot() function is extracted from the ARM stub and (a)
generalised so that it can be called from x86 and (b) made to use
efi_call_runtime() so that it can be run in mixed-mode.

For x86, it is stored in boot_params and can be overridden by the boot
loader or kexec.  This allows secure-boot mode to be passed on to a new
kernel.

Suggested-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Link: http://lkml.kernel.org/r/1486380166-31868-5-git-send-email-ard.biesheuvel@linaro.org
[ Small readability edits. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-02-07 10:42:10 +01:00
..
i386
x86_64 x86/dumpstack: Remove raw stack dump 2016-10-25 18:40:37 +02:00
00-INDEX
boot.txt docs: fix locations of several documents that got moved 2016-10-24 08:12:35 -02:00
early-microcode.txt
earlyprintk.txt
entry_64.txt
exception-tables.txt
intel_mpx.txt
intel_rdt_ui.txt x86/intel_rdt: Add info files to Documentation 2016-11-07 12:20:53 +01:00
kernel-stacks
mtrr.txt
pat.txt
protection-keys.txt x86/pkeys: Update documentation 2016-10-05 10:34:55 +02:00
tlb.txt
topology.txt x86/topology: Document cpu_llc_id 2016-12-20 09:36:29 +01:00
usb-legacy-support.txt
zero-page.txt efi: Get and store the secure boot status 2017-02-07 10:42:10 +01:00