From: Ard Biesheuvel <ardb+git@google.com>
To: linux-efi@vger.kernel.org
Cc: x86@kernel.org, Ard Biesheuvel <ardb@kernel.org>,
Clayton Craft <clayton@craftyguy.net>
Subject: [PATCH 0/2] EFI mixed mode fixes
Date: Fri, 22 Mar 2024 17:17:52 +0100 [thread overview]
Message-ID: <20240322161751.3046943-4-ardb+git@google.com> (raw)
From: Ard Biesheuvel <ardb@kernel.org>
Two fixes for mixed mode:
- run EFI boot services from the firmware's stack, to avoid overruns
- don't wipe BSS twice in mixed mode
Whether or not this fixes Clayton's issue remains to be seen, but these
need to be fixed in any case.
Link: https://lkml.kernel.org/r/20240321144541.GD8211%40craftyguy.net
Cc: Clayton Craft <clayton@craftyguy.net>
Ard Biesheuvel (2):
x86/efistub: Call mixed mode boot services on the firmware's stack
x86/efistub: Don't clear BSS twice in mixed mode
arch/x86/boot/compressed/efi_mixed.S | 10 +++++++++-
drivers/firmware/efi/libstub/x86-stub.c | 3 ++-
2 files changed, 11 insertions(+), 2 deletions(-)
--
2.44.0.396.g6e790dbe36-goog
next reply other threads:[~2024-03-22 16:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-22 16:17 Ard Biesheuvel [this message]
2024-03-22 16:17 ` [PATCH 1/2] x86/efistub: Call mixed mode boot services on the firmware's stack Ard Biesheuvel
2024-03-22 16:17 ` [PATCH 2/2] x86/efistub: Don't clear BSS twice in mixed mode Ard Biesheuvel
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=20240322161751.3046943-4-ardb+git@google.com \
--to=ardb+git@google.com \
--cc=ardb@kernel.org \
--cc=clayton@craftyguy.net \
--cc=linux-efi@vger.kernel.org \
--cc=x86@kernel.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