linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Grant Likely <grant.likely@secretlab.ca>
To: Stephen Warren <swarren@wwwdotorg.org>
Cc: Leif Lindholm <leif.lindholm@linaro.org>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>,
	linux-efi@vger.kernel.org,
	"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	"patches@linaro.org" <patches@linaro.org>,
	"H. Peter Anvin" <hpa@linux.intel.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	matt.fleming@intel.com
Subject: Re: [PATCH 1/4] Documentation: arm: [U]EFI runtime services
Date: Thu, 27 Jun 2013 21:11:45 +0100	[thread overview]
Message-ID: <CACxGe6s-TZoNUaRZ+XpAC83OGPWeg41L9F7YHYjpXVeLR6vbEw@mail.gmail.com> (raw)
In-Reply-To: <51CC7EA1.1040509@wwwdotorg.org>

On Thu, Jun 27, 2013 at 7:04 PM, Stephen Warren <swarren@wwwdotorg.org> wrote:
> On 06/26/2013 01:31 PM, Leif Lindholm wrote:
>> On Wed, Jun 26, 2013 at 12:32:30PM -0600, Stephen Warren wrote:
>>>>> What about ARMv8? Is the intention to have a separate definition for the
>>>>> UEFI bindings on ARMv8, so that compatibility isn't an issue? What if a
>>>>> future version of UEFI allows LPAE usage?
>>>>
>>>> It is unlikely that will happen on v7 since newer versions of UEFI are
>>>> expected to remain backwards compatible with the current spec.
>>>
>>> The expectation of backwards-compatibility sounds nice, but it seems a
>>> little dangerous to outright rely on it.
>>>
>>> Even if not a regular compatible property, can we define a property that
>>> indicates the UEFI revision or revision of this DT binding, so that if
>>> we ever have to change it, there is some way of explicitly indicating
>>> which exact schema the DT corresponds to, rather than having to
>>> reverse-engineer it from the set of properties that "just happen" to be
>>> present in DT?
>>>
>>> This is rather like the firmware node discussion that happened recently,
>>> where we were expecting to represent a firmware (secure mode) interface
>>> by a DT node, which would have a compatible value, which in turn would
>>> convey information about which "OS" the secure firmware was running, and
>>> well as any potential SoC-/OEM-/board-specific interface provided by it.
>>>
>>> And who knows, what if UEFI gets replaced someday; presumably we'd want
>>> some way of explicitly stating "running under UEFI" vs. "running under
>>> something else"?
>>
>> To me, these concerns are all covered by the existence of the
>> efi-system-table node, and the version number that you can extract
>> from the table (mandatory in any UEFI implementation) located at that
>> address. There is no reverse-engineering involved.
>
> So, what you're saying is that the existence (or lack thereof) of the
> efi-system-table property is the indicator whether EFI is present? I
> guess if we assume that EFI will always evolve at least compatibly
> enough that the system table will always exist and be formatted
> identically at least to the extent of allowing the EFI version number to
> be parsed then that's workable. If that guarantee is broken, then we can
> always define a different property that points at the new format of the
> table.

Yes, that is what it means, and there is *immense* pressure from the
OEM market to not break that contract in a non-backwards-compatible
way.

g.

  reply	other threads:[~2013-06-27 20:12 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-25 18:10 [PATCH 0/4] arm: [U]EFI runtime services support Leif Lindholm
2013-06-25 18:11 ` [PATCH 1/4] Documentation: arm: [U]EFI runtime services Leif Lindholm
2013-06-25 18:46   ` Christopher Covington
2013-06-25 23:42   ` Stephen Warren
2013-06-26 13:20     ` Grant Likely
2013-06-26 13:53       ` Leif Lindholm
2013-06-26 13:59         ` Matt Fleming
2013-06-26 14:38           ` James Bottomley
2013-06-27  1:32             ` Matthew Garrett
2013-06-27  6:23               ` Grant Likely
2013-06-27  6:33                 ` James Bottomley
2013-06-27 14:37                   ` Matthew Garrett
2013-06-27 15:09                     ` James Bottomley
2013-06-27 15:37                       ` Grant Likely
2013-06-27 17:28                       ` Matthew Garrett
2013-06-27 14:54                   ` Grant Likely
2013-06-27 15:04                     ` James Bottomley
2013-06-27 18:32                       ` Russell King - ARM Linux
2013-06-27  9:00               ` Leif Lindholm
2013-06-27 14:38                 ` Matthew Garrett
2013-06-27 18:32             ` H. Peter Anvin
2013-06-26 18:32       ` Stephen Warren
2013-06-26 19:31         ` Leif Lindholm
2013-06-27 18:04           ` Stephen Warren
2013-06-27 20:11             ` Grant Likely [this message]
2013-06-26 13:13   ` Grant Likely
2013-06-26 14:04     ` Leif Lindholm
2013-06-26 14:35       ` Grant Likely
2013-06-27 14:22     ` Arnd Bergmann
2013-06-30  3:21   ` Rob Landley
2013-06-25 18:11 ` [PATCH 2/4] x86: efi: break efi_lookup_mapped_addr out to generic code Leif Lindholm
2013-06-26 13:30   ` Grant Likely
2013-06-26 13:32   ` Matt Fleming
2013-06-26 14:11     ` Leif Lindholm
2013-06-26 14:40       ` Matt Fleming
2013-06-25 18:11 ` [PATCH 3/4] arm: Add [U]EFI runtime services support Leif Lindholm
2013-06-25 18:20   ` Matthew Garrett
2013-06-26 13:46     ` Grant Likely
2013-06-26 13:46   ` Grant Likely
2013-06-26 13:54     ` Matt Fleming
2013-06-26 14:15       ` Borislav Petkov
2013-06-26 14:35         ` Grant Likely
2013-06-26 14:22     ` Leif Lindholm
2013-06-25 18:11 ` [PATCH 4/4] init: efi: arm: enable (U)EFI runtime services on arm Leif Lindholm
2013-06-26 13:24   ` Grant Likely

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=CACxGe6s-TZoNUaRZ+XpAC83OGPWeg41L9F7YHYjpXVeLR6vbEw@mail.gmail.com \
    --to=grant.likely@secretlab.ca \
    --cc=hpa@linux.intel.com \
    --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=matt.fleming@intel.com \
    --cc=patches@linaro.org \
    --cc=swarren@wwwdotorg.org \
    --cc=tglx@linutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).