[PATCH 1/9] arm64/efi: split off EFI init and runtime code for reuse by 32-bit ARM
Matt Fleming
matt at codeblueprint.co.uk
Sat Oct 10 13:53:11 PDT 2015
On Thu, 01 Oct, at 07:04:15PM, Ard Biesheuvel wrote:
> This splits off the early EFI init and runtime code that
> - discovers the EFI params and the memory map from the FDT, and installs
> the memblocks and config tables.
> - prepares and installs the EFI page tables so that UEFI Runtime Services
> can be invoked at the virtual address installed by the stub.
>
> This will allow it to be reused for 32-bit ARM.
>
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel at linaro.org>
> ---
> arch/arm64/kernel/efi.c | 363 +-------------------
> drivers/firmware/efi/Makefile | 4 +-
> drivers/firmware/efi/arm-init.c | 214 ++++++++++++
> drivers/firmware/efi/arm-runtime.c | 191 ++++++++++
> 4 files changed, 409 insertions(+), 363 deletions(-)
[...]
> +static int uefi_debug __initdata;
> +static int __init uefi_debug_setup(char *str)
> +{
> + uefi_debug = 1;
> +
> + return 0;
> +}
> +early_param("uefi_debug", uefi_debug_setup);
Was this hunk an unintentional reintroduction of the code Leif deleted
in commit a9cc0cf5701b ("arm64: Use core efi=debug instead of
uefi_debug command line parameter")?
--
Matt Fleming, Intel Open Source Technology Center
More information about the linux-arm-kernel
mailing list