From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755131Ab3K2WF4 (ORCPT ); Fri, 29 Nov 2013 17:05:56 -0500 Received: from mx1.redhat.com ([209.132.183.28]:51801 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752606Ab3K2WFx (ORCPT ); Fri, 29 Nov 2013 17:05:53 -0500 From: Mark Salter To: linux-kernel@vger.kernel.org Cc: patches@linaro.org, Mark Salter , Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, matt.fleming@intel.com, linux-efi@vger.kernel.org, Leif Lindholm , roy.franz@linaro.org, Ard Biesheuvel , linux-doc@vger.kernel.org, Rob Landley Subject: [PATCH 0/3] arm64: Add EFI stub and runtime services support Date: Fri, 29 Nov 2013 17:05:09 -0500 Message-Id: <1385762712-17043-1-git-send-email-msalter@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series adds EFI support to the arm64 kernel. This support has two main parts: an EFI stub and runtime support. The EFI stub support has the kernel masquerade as a PE/COFF application which can be directly booted by EFI firmware (or by secondary loaders with EFI support). The runtime services support provides access to various EFI firmware services such as reboot, real-time clock, boot variables, and others. These patches have dependencies on other patches which are not yet in the kernel but have been posted and are currently under review. In particular: - Generic fixmap support being discussed here: http://lkml.org/lkml/2013/11/25/474 - early_ioremap support being discussed here: https://lkml.org/lkml/2013/11/27/621 - shared EFI update_fdt() function being discussed here: https://lkml.org/lkml/2013/11/27/565 A repo with this patch series and the prerequisite patches is at: git://github.com/mosalter/linux.git (arm64-efi-patches branch) Mark Salter (3): arm64: add EFI stub doc: arm64: add description of EFI stub support arm64: add EFI runtime services Documentation/arm64/booting.txt | 4 + Documentation/efi-stub.txt | 10 +- arch/arm64/Kconfig | 25 ++ arch/arm64/include/asm/efi.h | 18 ++ arch/arm64/kernel/Makefile | 4 + arch/arm64/kernel/efi-entry.S | 81 +++++++ arch/arm64/kernel/efi-stub.c | 280 ++++++++++++++++++++++ arch/arm64/kernel/efi.c | 507 ++++++++++++++++++++++++++++++++++++++++ arch/arm64/kernel/head.S | 112 +++++++++ arch/arm64/kernel/setup.c | 6 + include/linux/efi.h | 2 +- 11 files changed, 1046 insertions(+), 3 deletions(-) create mode 100644 arch/arm64/include/asm/efi.h create mode 100644 arch/arm64/kernel/efi-entry.S create mode 100644 arch/arm64/kernel/efi-stub.c create mode 100644 arch/arm64/kernel/efi.c -- 1.8.3.1