From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933725Ab3LINvs (ORCPT ); Mon, 9 Dec 2013 08:51:48 -0500 Received: from mail-qa0-f43.google.com ([209.85.216.43]:64571 "EHLO mail-qa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933590Ab3LINvq (ORCPT ); Mon, 9 Dec 2013 08:51:46 -0500 Date: Mon, 9 Dec 2013 14:52:00 +0100 From: Leif Lindholm To: Mark Salter Cc: linux-kernel@vger.kernel.org, patches@linaro.org, Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, matt.fleming@intel.com, linux-efi@vger.kernel.org, roy.franz@linaro.org Subject: Re: [PATCH 3/3] arm64: add EFI runtime services Message-ID: <20131209135158.GH24997@rocoto.smurfnet.nu> References: <1385762712-17043-1-git-send-email-msalter@redhat.com> <1385762712-17043-4-git-send-email-msalter@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1385762712-17043-4-git-send-email-msalter@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Apologies for late feedback. On Fri, Nov 29, 2013 at 05:05:12PM -0500, Mark Salter wrote: > diff --git a/arch/arm64/kernel/efi.c b/arch/arm64/kernel/efi.c > new file mode 100644 > index 0000000..1bad8a7 > --- /dev/null > +++ b/arch/arm64/kernel/efi.c > @@ -0,0 +1,507 @@ > +/* > + * Extensible Firmware Interface > + * > + * Based on Extensible Firmware Interface Specification version 2.3.1 Actually, for arm64, we're relying on UEFI 2.4 or later. > + * > + * Copyright (C) 2013 Linaro Ltd. And I'd say you've easily done enough here to motivate adding Red Hat. > + * > + * Adapted for arm64 from arch/arm/kernel/efi.c code > + */ > + > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > + > +#include > +#include > +#include > +#include > + > +#define efi_early_remap(a, b) \ > + ((__force void *)early_ioremap((a), (b))) Do we not want early_memremap() here, rather than early_ioremap()? / Leif