Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64/efi: remove /chosen/linux, uefi-stub-kern-ver DT property

With the stub to kernel interface being promoted to a proper interface
so that other agents than the stub can boot the kernel proper in EFI
mode, we can remove the linux,uefi-stub-kern-ver field, considering
that its original purpose was to prevent this from happening in the
first place.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>

authored by

Ard Biesheuvel and committed by
Catalin Marinas
d4dddfdb cb50ce32

-11
-2
Documentation/arm/uefi.txt
··· 58 58 -------------------------------------------------------------------------------- 59 59 linux,uefi-mmap-desc-ver | 32-bit | Version of the mmap descriptor format. 60 60 -------------------------------------------------------------------------------- 61 - linux,uefi-stub-kern-ver | string | Copy of linux_banner from build. 62 - -------------------------------------------------------------------------------- 63 61 64 62 For verbose debug messages, specify 'uefi_debug' on the kernel command line.
-9
drivers/firmware/efi/libstub/fdt.c
··· 147 147 if (status) 148 148 goto fdt_set_fail; 149 149 150 - /* 151 - * Add kernel version banner so stub/kernel match can be 152 - * verified. 153 - */ 154 - status = fdt_setprop_string(fdt, node, "linux,uefi-stub-kern-ver", 155 - linux_banner); 156 - if (status) 157 - goto fdt_set_fail; 158 - 159 150 return EFI_SUCCESS; 160 151 161 152 fdt_set_fail: