linux-efi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
To: Borislav Petkov <bp-Gina5bIWoIWzQB+pC5nmwQ@public.gmane.org>
Cc: David Woodhouse <dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>,
	Matt Fleming
	<matt-HNK1S37rvNbeXh+fF434Mdi2O/JbrIOy@public.gmane.org>,
	linux-efi <linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Matthew Garrett <mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
Subject: Re: EFI runtime and kexec
Date: Fri, 01 Mar 2013 15:48:51 -0800	[thread overview]
Message-ID: <51313E63.4050605@zytor.com> (raw)
In-Reply-To: <20130301233924.GM30938-fF5Pk5pvG8Y@public.gmane.org>

On 03/01/2013 03:39 PM, Borislav Petkov wrote:
> Just commenting on this one for now, the rest tomorrow cuz I'm half
> asleep.
> 
> On Fri, Mar 01, 2013 at 11:30:25PM +0000, David Woodhouse wrote:
>> The other option, for the long term, is to fix the damn firmware to
>> allow SetVirtualAddressMap to be called more than once. It was stupid
>> for it to be a one-time call anyway.
> 
> Now this would be the cleanest solution. If we can do that, we can then
> simply call efi_enter_virtual_mode() in the kexec'd kernel without
> the need to pass any options to it. Actually, the kexec'd kernel can
> probably run the same efi code as the papa kernel.
> 

Well, if we can genuinely run with a zero relocation we don't even need
to worry about that.

	-hpa

  parent reply	other threads:[~2013-03-01 23:48 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20130301213903.GI30938@pd.tnic>
     [not found] ` <20130301213903.GI30938-fF5Pk5pvG8Y@public.gmane.org>
2013-03-01 22:32   ` EFI runtime and kexec H. Peter Anvin
     [not found]     ` <51312C8F.8000503-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
2013-03-01 22:53       ` Borislav Petkov
     [not found]         ` <20130301225303.GK30938-fF5Pk5pvG8Y@public.gmane.org>
2013-03-01 22:58           ` H. Peter Anvin
     [not found]             ` <513132B0.3050308-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
2013-03-01 23:07               ` Borislav Petkov
     [not found]                 ` <20130301230733.GL30938-fF5Pk5pvG8Y@public.gmane.org>
2013-03-01 23:30                   ` David Woodhouse
     [not found]                     ` <1362180625.29011.4.camel-Fexsq3y4057IgHVZqg5X0TlWvGAXklZc@public.gmane.org>
2013-03-01 23:34                       ` David Woodhouse
     [not found]                         ` <1362180853.29011.6.camel-Fexsq3y4057IgHVZqg5X0TlWvGAXklZc@public.gmane.org>
2013-03-01 23:36                           ` Matthew Garrett
2013-03-01 23:39                       ` Borislav Petkov
     [not found]                         ` <20130301233924.GM30938-fF5Pk5pvG8Y@public.gmane.org>
2013-03-01 23:48                           ` H. Peter Anvin [this message]
2013-03-02  1:11                       ` H. Peter Anvin
     [not found]                         ` <513151C2.60907-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
2013-03-02  1:51                           ` David Woodhouse
     [not found]                             ` <1362189072.32131.6.camel-Fexsq3y4057IgHVZqg5X0TlWvGAXklZc@public.gmane.org>
2013-03-02  2:04                               ` H. Peter Anvin
     [not found]                                 ` <94a3c086-b0b2-4820-8f4c-66d1496b89dc-2ueSQiBKiTY7tOexoI0I+QC/G2K4zDHf@public.gmane.org>
2013-03-02 11:47                                   ` Borislav Petkov
2013-03-01 23:50                   ` 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=51313E63.4050605@zytor.com \
    --to=hpa-ymnouzjc4hwavxtiumwx3w@public.gmane.org \
    --cc=bp-Gina5bIWoIWzQB+pC5nmwQ@public.gmane.org \
    --cc=dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
    --cc=linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=matt-HNK1S37rvNbeXh+fF434Mdi2O/JbrIOy@public.gmane.org \
    --cc=mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.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 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).