Merge branch 'linus' into WIP.x86/boot, to fix up conflicts and to pick up updates
Conflicts: arch/x86/xen/setup.c Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
@@ -552,7 +552,9 @@ static void __init reserve_crashkernel(void)
|
||||
/* 0 means: find the address automatically */
|
||||
if (crash_base <= 0) {
|
||||
/*
|
||||
* kexec want bzImage is below CRASH_KERNEL_ADDR_MAX
|
||||
* Set CRASH_ADDR_LOW_MAX upper bound for crash memory,
|
||||
* as old kexec-tools loads bzImage below that, unless
|
||||
* "crashkernel=size[KMG],high" is specified.
|
||||
*/
|
||||
crash_base = memblock_find_in_range(CRASH_ALIGN,
|
||||
high ? CRASH_ADDR_HIGH_MAX
|
||||
@@ -1152,6 +1154,20 @@ void __init setup_arch(char **cmdline_p)
|
||||
/* Allocate bigger log buffer */
|
||||
setup_log_buf(1);
|
||||
|
||||
if (efi_enabled(EFI_BOOT)) {
|
||||
switch (boot_params.secure_boot) {
|
||||
case efi_secureboot_mode_disabled:
|
||||
pr_info("Secure boot disabled\n");
|
||||
break;
|
||||
case efi_secureboot_mode_enabled:
|
||||
pr_info("Secure boot enabled\n");
|
||||
break;
|
||||
default:
|
||||
pr_info("Secure boot could not be determined\n");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
reserve_initrd();
|
||||
|
||||
acpi_table_upgrade();
|
||||
|
Reference in New Issue
Block a user