From: Ingo Molnar <mingo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Matt Fleming <matt-mF/unelCI9GS6iBeEJttW/XRex20P6io@public.gmane.org>
Cc: "H. Peter Anvin" <hpa-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>,
Thomas Gleixner <tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>,
linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Ard Biesheuvel
<ard.biesheuvel-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
Andy Lutomirski <luto-kltTT9wpgjJwATOyAt5JVQ@public.gmane.org>,
Borislav Petkov <bp-Gina5bIWoIWzQB+pC5nmwQ@public.gmane.org>,
Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>
Subject: Re: [GIT PULL] EFI urgent fixes
Date: Wed, 18 Feb 2015 14:43:57 +0100 [thread overview]
Message-ID: <20150218134357.GA386@gmail.com> (raw)
In-Reply-To: <20150218115543.GA5648-mF/unelCI9GS6iBeEJttW/XRex20P6io@public.gmane.org>
* Matt Fleming <matt-mF/unelCI9GS6iBeEJttW/XRex20P6io@public.gmane.org> wrote:
> Folks, please pull the following fixes. The revert addresses a
> regression that Ard hit when booting Qemu and Xen, and the other patch
> ensures that we don't triple fault when receiving an NMI or MCE during
> an EFI mixed mode call, which may happen, for instance, when running
> perf.
>
> The pull is against tip/x86/efi because tip/x86/urgent doesn't contain
> commit d1a8d66b9177 ("efi/libstub: Call get_memory_map() to obtain map
> and desc sizes") needed for the revert.
>
> If you'd prefer for me to resend this after the merge window closes,
> just let me know.
>
> The following changes since commit 3c01b74e818a7a3b2ee9b0d584cca0bc154a031c:
>
> Merge tag 'efi-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi into x86/efi (2015-01-29 19:16:40 +0100)
>
> are available in the git repository at:
>
>
> git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git tags/efi-urgent
>
> for you to fetch changes up to 43a9f69692b232d1c64c913a27507eb14a1c47fd:
>
> Revert "efi/libstub: Call get_memory_map() to obtain map and desc sizes" (2015-02-18 11:38:13 +0000)
>
> ----------------------------------------------------------------
> * Leave a valid 64-bit IDT installed during runtime EFI mixed mode
> calls to avoid triple faults if an NMI/MCE is received.
>
> * Revert Ard's change to the libstub get_memory_map() that went into
> the v3.20 merge window because it causes boot regressions on Qemu and
> Xen.
>
> ----------------------------------------------------------------
> Matt Fleming (2):
> x86/efi: Avoid triple faults during EFI mixed mode calls
> Revert "efi/libstub: Call get_memory_map() to obtain map and desc sizes"
>
> arch/x86/boot/compressed/Makefile | 1 +
> arch/x86/boot/compressed/efi_stub_64.S | 25 ----
> arch/x86/boot/compressed/efi_thunk_64.S | 196 +++++++++++++++++++++++++
> arch/x86/platform/efi/efi_stub_64.S | 161 --------------------
> arch/x86/platform/efi/efi_thunk_64.S | 121 ++++++++++++---
> drivers/firmware/efi/libstub/efi-stub-helper.c | 16 +-
> 6 files changed, 307 insertions(+), 213 deletions(-)
> create mode 100644 arch/x86/boot/compressed/efi_thunk_64.S
Pulled, thanks Matt!
Btw., I find the revert a bit sad: in most cases breaking
virtualized environments isn't a regression really, it's
_them_ who couple to the kernel in an incestuous way that
causes the problem: fixes should come from them ...
Thanks,
Ingo
next prev parent reply other threads:[~2015-02-18 13:43 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-18 11:55 [GIT PULL] EFI urgent fixes Matt Fleming
[not found] ` <20150218115543.GA5648-mF/unelCI9GS6iBeEJttW/XRex20P6io@public.gmane.org>
2015-02-18 13:43 ` Ingo Molnar [this message]
[not found] ` <20150218134357.GA386-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-02-18 16:36 ` Ard Biesheuvel
[not found] ` <D0B4679E-92EB-4A22-8D3E-9D0C27A09ACD-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-02-18 16:57 ` Ingo Molnar
-- strict thread matches above, loose matches on Subject: below --
2015-07-30 21:06 Matt Fleming
[not found] ` <20150730210643.GM2725-mF/unelCI9GS6iBeEJttW/XRex20P6io@public.gmane.org>
2015-07-31 7:56 ` Ingo Molnar
2015-05-05 16:27 Matt Fleming
[not found] ` <20150505162755.GA3767-mF/unelCI9GS6iBeEJttW/XRex20P6io@public.gmane.org>
2015-05-06 6:31 ` Ingo Molnar
2015-03-02 12:51 Matt Fleming
[not found] ` <20150302125104.GC24476-mF/unelCI9GS6iBeEJttW/XRex20P6io@public.gmane.org>
2015-03-02 13:24 ` Ingo Molnar
2015-03-02 13:35 ` Matt Fleming
2014-09-25 7:31 Matt Fleming
[not found] ` <20140925073133.GQ18635-HNK1S37rvNbeXh+fF434Mdi2O/JbrIOy@public.gmane.org>
2014-09-25 14:41 ` Ingo Molnar
[not found] ` <20140925144127.GA3828-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-09-25 14:44 ` Matt Fleming
2014-09-26 11:27 ` Paul Bolle
2014-09-26 11:35 ` Ingo Molnar
[not found] ` <20140926113510.GA14625-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-09-26 12:24 ` Matt Fleming
[not found] ` <20140926122405.GW18635-HNK1S37rvNbeXh+fF434Mdi2O/JbrIOy@public.gmane.org>
2014-09-27 5:49 ` Ingo Molnar
2014-09-26 11:44 ` Matt Fleming
[not found] ` <20140926114454.GV18635-HNK1S37rvNbeXh+fF434Mdi2O/JbrIOy@public.gmane.org>
2014-09-26 11:59 ` Paul Bolle
2014-09-26 12:34 ` Matt Fleming
2014-09-26 12:55 ` Paul Bolle
[not found] ` <20140926123429.GX18635-HNK1S37rvNbeXh+fF434Mdi2O/JbrIOy@public.gmane.org>
2014-09-27 8:04 ` Valentin Rothberg
[not found] ` <CAD3Xx4JmkDZ1Cw02DFAE0fa0EaEmBi8-W-p7JCfEXLERK5yuUQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-09-27 9:59 ` Paul Bolle
2014-09-08 21:55 Matt Fleming
[not found] ` <20140908215535.GD18582-HNK1S37rvNbeXh+fF434Mdi2O/JbrIOy@public.gmane.org>
2014-09-09 5:07 ` Ingo Molnar
[not found] ` <20140909050749.GB6770-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-09-09 7:07 ` Matt Fleming
2014-09-09 14:55 ` Ingo Molnar
2014-08-22 7:52 Matt Fleming
[not found] ` <20140822075221.GK29733-HNK1S37rvNbeXh+fF434Mdi2O/JbrIOy@public.gmane.org>
2014-08-22 8:15 ` Ingo Molnar
2014-07-14 12:54 Matt Fleming
2014-06-27 14:51 Matt Fleming
2014-06-04 16:53 Matt Fleming
2014-04-11 7:16 Matt Fleming
[not found] ` <20140411071622.GB17021-HNK1S37rvNbeXh+fF434Mdi2O/JbrIOy@public.gmane.org>
2014-04-11 8:27 ` Ingo Molnar
2014-02-14 13:08 Matt Fleming
2013-11-29 12:09 Matt Fleming
2013-07-11 11:16 Matt Fleming
2013-06-07 11:50 Matt Fleming
[not found] ` <20130607115046.GN30420-HNK1S37rvNbeXh+fF434Mdi2O/JbrIOy@public.gmane.org>
2013-06-10 21:36 ` Matt Fleming
2013-05-17 10:18 Matt Fleming
2013-04-25 8:49 Matt Fleming
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=20150218134357.GA386@gmail.com \
--to=mingo-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
--cc=ard.biesheuvel-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=bp-Gina5bIWoIWzQB+pC5nmwQ@public.gmane.org \
--cc=hpa-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org \
--cc=linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=luto-kltTT9wpgjJwATOyAt5JVQ@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=matt-mF/unelCI9GS6iBeEJttW/XRex20P6io@public.gmane.org \
--cc=tglx-hfZtesqFncYOwBW4kG4KsQ@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).