All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matt Fleming <matt@console-pimps.org>
To: Leif Lindholm <leif.lindholm@linaro.org>
Cc: linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, matt.fleming@intel.com,
	catalin.marinas@arm.com, msalter@redhat.com,
	grant.likely@linaro.org, roy.franz@linaro.org,
	ard.biesheuvel@linaro.org, mark.rutland@arm.com,
	linux-doc@vger.kernel.org
Subject: Re: [PATCH v2 03/10] efi: add helper function to get UEFI params from FDT
Date: Tue, 29 Apr 2014 12:21:02 +0100	[thread overview]
Message-ID: <20140429112102.GG26088@console-pimps.org> (raw)
In-Reply-To: <1398442154-19974-4-git-send-email-leif.lindholm@linaro.org>

On Fri, 25 Apr, at 05:09:07PM, Leif Lindholm wrote:
> From: Mark Salter <msalter@redhat.com>
> 
> ARM and ARM64 architectures use the device tree to pass UEFI parameters
> from stub to kernel. These parameters are things known to the stub but
> not discoverable by the kernel after the stub calls ExitBootSerives().
> There is a helper function in:
> 
>    drivers/firmware/efi/fdt.c
> 
> which the stub uses to add the UEFI parameters to the device tree.
> This patch adds a complimentary helper function which UEFI runtime
> support may use to retrieve the parameters from the device tree.
> If an architecture wants to use this helper, it should select
> CONFIG_UEFI_PARAMS_FROM_FDT.
> 
> Signed-off-by: Mark Salter <msalter@redhat.com>
> Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
> ---
>  drivers/firmware/efi/Kconfig |    7 ++++
>  drivers/firmware/efi/efi.c   |   79 ++++++++++++++++++++++++++++++++++++++++++
>  include/linux/efi.h          |    9 +++++
>  3 files changed, 95 insertions(+)

Looks OK, but is there any chance we could swap CONFIG_UEFI_* for
CONFIG_EFI_* when someone picks this up? We've generally done pretty
well to keep the naming consistent and I'd like to hold on to that
consistency for as long as possible (especially since the function names
begin efi_*).

And yes, I realise that no one (apart from perhaps Apple) ships with EFI
anymore and it's all UEFI, but we've kinda developed our own naming
scheme at this point.

Otherwise, 

Acked-by: Matt Fleming <matt.fleming@intel.com>

-- 
Matt Fleming, Intel Open Source Technology Center

WARNING: multiple messages have this Message-ID (diff)
From: matt@console-pimps.org (Matt Fleming)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 03/10] efi: add helper function to get UEFI params from FDT
Date: Tue, 29 Apr 2014 12:21:02 +0100	[thread overview]
Message-ID: <20140429112102.GG26088@console-pimps.org> (raw)
In-Reply-To: <1398442154-19974-4-git-send-email-leif.lindholm@linaro.org>

On Fri, 25 Apr, at 05:09:07PM, Leif Lindholm wrote:
> From: Mark Salter <msalter@redhat.com>
> 
> ARM and ARM64 architectures use the device tree to pass UEFI parameters
> from stub to kernel. These parameters are things known to the stub but
> not discoverable by the kernel after the stub calls ExitBootSerives().
> There is a helper function in:
> 
>    drivers/firmware/efi/fdt.c
> 
> which the stub uses to add the UEFI parameters to the device tree.
> This patch adds a complimentary helper function which UEFI runtime
> support may use to retrieve the parameters from the device tree.
> If an architecture wants to use this helper, it should select
> CONFIG_UEFI_PARAMS_FROM_FDT.
> 
> Signed-off-by: Mark Salter <msalter@redhat.com>
> Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
> ---
>  drivers/firmware/efi/Kconfig |    7 ++++
>  drivers/firmware/efi/efi.c   |   79 ++++++++++++++++++++++++++++++++++++++++++
>  include/linux/efi.h          |    9 +++++
>  3 files changed, 95 insertions(+)

Looks OK, but is there any chance we could swap CONFIG_UEFI_* for
CONFIG_EFI_* when someone picks this up? We've generally done pretty
well to keep the naming consistent and I'd like to hold on to that
consistency for as long as possible (especially since the function names
begin efi_*).

And yes, I realise that no one (apart from perhaps Apple) ships with EFI
anymore and it's all UEFI, but we've kinda developed our own naming
scheme at this point.

Otherwise, 

Acked-by: Matt Fleming <matt.fleming@intel.com>

-- 
Matt Fleming, Intel Open Source Technology Center

  reply	other threads:[~2014-04-29 11:21 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-25 16:09 [PATCH v2 00/10] arm64: UEFI support Leif Lindholm
2014-04-25 16:09 ` Leif Lindholm
2014-04-25 16:09 ` [PATCH v2 01/10] lib: add fdt_empty_tree.c Leif Lindholm
2014-04-25 16:09   ` Leif Lindholm
2014-04-25 16:09   ` Leif Lindholm
2014-04-25 16:09 ` [PATCH v2 02/10] doc: efi-stub.txt updates for ARM Leif Lindholm
2014-04-25 16:09   ` Leif Lindholm
2014-04-25 16:09 ` [PATCH v2 03/10] efi: add helper function to get UEFI params from FDT Leif Lindholm
2014-04-25 16:09   ` Leif Lindholm
2014-04-25 16:09   ` Leif Lindholm
2014-04-29 11:21   ` Matt Fleming [this message]
2014-04-29 11:21     ` Matt Fleming
2014-04-25 16:09 ` [PATCH v2 04/10] arm64: Add function to create identity mappings Leif Lindholm
2014-04-25 16:09   ` Leif Lindholm
2014-04-25 16:09   ` Leif Lindholm
2014-04-25 16:09 ` [PATCH v2 05/10] efi: Add shared FDT related functions for ARM/ARM64 Leif Lindholm
2014-04-25 16:09   ` Leif Lindholm
2014-04-25 16:09   ` Leif Lindholm
2014-04-29 11:24   ` Matt Fleming
2014-04-29 11:24     ` Matt Fleming
2014-04-25 16:09 ` [PATCH v2 06/10] arm64: add EFI runtime services Leif Lindholm
2014-04-25 16:09   ` Leif Lindholm
2014-04-25 16:09 ` [PATCH v2 07/10] doc: arm: add UEFI support documentation Leif Lindholm
2014-04-25 16:09   ` Leif Lindholm
2014-04-25 16:09   ` Leif Lindholm
2014-04-25 16:09 ` [PATCH v2 08/10] arm64: efi: add EFI stub Leif Lindholm
2014-04-25 16:09   ` Leif Lindholm
2014-04-29 11:27   ` Matt Fleming
2014-04-29 11:27     ` Matt Fleming
2014-04-25 16:09 ` [PATCH v2 09/10] doc: arm64: add description of EFI stub support Leif Lindholm
2014-04-25 16:09   ` Leif Lindholm
2014-04-25 16:09   ` Leif Lindholm
2014-04-25 16:09 ` [PATCH v2 10/10] efi/arm64: ignore dtb= when UEFI SecureBoot is enabled Leif Lindholm
2014-04-25 16:09   ` Leif Lindholm
2014-04-29 11:28   ` Matt Fleming
2014-04-29 11:28     ` Matt Fleming
     [not found] ` <1398442154-19974-1-git-send-email-leif.lindholm-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-04-29 10:28   ` [PATCH v2 00/10] arm64: UEFI support Catalin Marinas
2014-04-29 10:28     ` Catalin Marinas
2014-04-29 10:28     ` Catalin Marinas
2014-04-29 11:43     ` Matt Fleming
2014-04-29 11:43       ` Matt Fleming
2014-04-29 13:47       ` Catalin Marinas
2014-04-29 13:47         ` Catalin Marinas
     [not found]         ` <20140429134726.GH17007-5wv7dgnIgG8@public.gmane.org>
2014-04-29 14:38           ` H. Peter Anvin
2014-04-29 14:38             ` H. Peter Anvin
2014-04-29 14:38             ` H. Peter Anvin
2014-04-29 14:47           ` Matt Fleming
2014-04-29 14:47             ` Matt Fleming
2014-04-29 14:47             ` Matt Fleming
     [not found]             ` <20140429144713.GL26088-HNK1S37rvNbeXh+fF434Mdi2O/JbrIOy@public.gmane.org>
2014-04-29 14:56               ` H. Peter Anvin
2014-04-29 14:56                 ` H. Peter Anvin
2014-04-29 14:56                 ` H. Peter Anvin
     [not found]                 ` <535FBD94.9040101-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
2014-04-29 15:27                   ` Matt Fleming
2014-04-29 15:27                     ` Matt Fleming
2014-04-29 15:27                     ` Matt Fleming
2014-04-29 16:41                     ` Leif Lindholm
2014-04-29 16:41                       ` Leif Lindholm
2014-04-29 16:35             ` Catalin Marinas
2014-04-29 16:35               ` Catalin Marinas
     [not found]       ` <20140429114356.GK26088-HNK1S37rvNbeXh+fF434Mdi2O/JbrIOy@public.gmane.org>
2014-04-29 14:36         ` H. Peter Anvin
2014-04-29 14:36           ` H. Peter Anvin
2014-04-29 14:36           ` H. Peter Anvin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140429112102.GG26088@console-pimps.org \
    --to=matt@console-pimps.org \
    --cc=ard.biesheuvel@linaro.org \
    --cc=catalin.marinas@arm.com \
    --cc=grant.likely@linaro.org \
    --cc=leif.lindholm@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-efi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=matt.fleming@intel.com \
    --cc=msalter@redhat.com \
    --cc=roy.franz@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.