From: Ard Biesheuvel <ardb+git@google.com>
To: linux-efi@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, Ard Biesheuvel <ardb@kernel.org>
Subject: [PATCH 0/7] EFI stub cleanup work
Date: Fri, 20 Dec 2024 12:22:15 +0100 [thread overview]
Message-ID: <20241220112214.2598872-9-ardb+git@google.com> (raw)
From: Ard Biesheuvel <ardb@kernel.org>
Some code cleanup for the EFI stub, to drop obsolete code, and to switch
to newer and more ergonomic APIs for managing pool allocations and EFI
handle buffers.
No functional changes intended, except for the UGA removal.
Ard Biesheuvel (7):
x86/efistub: Drop long obsolete UGA support
efi/libstub: Use C99-style for loop to traverse handle buffer
efi/libstub: Simplify GOP handling code
efi/libstub: Refactor and cleanup GOP resolution picker code
efi/libstub: Simplify PCI I/O handle buffer traversal
efi/libstub: Use cleanup helpers for freeing copies of the memory map
efi/libstub: Use __free() helper for pool deallocations
arch/x86/include/asm/efi.h | 3 +
arch/x86/platform/efi/efi.c | 2 -
drivers/firmware/efi/libstub/efi-stub-helper.c | 9 +-
drivers/firmware/efi/libstub/efi-stub.c | 49 ++-
drivers/firmware/efi/libstub/efistub.h | 16 +-
drivers/firmware/efi/libstub/gop.c | 323 ++++++++------------
drivers/firmware/efi/libstub/kaslr.c | 4 +-
drivers/firmware/efi/libstub/mem.c | 20 +-
drivers/firmware/efi/libstub/pci.c | 34 +--
drivers/firmware/efi/libstub/randomalloc.c | 4 +-
drivers/firmware/efi/libstub/relocate.c | 10 +-
drivers/firmware/efi/libstub/x86-stub.c | 164 ++--------
include/linux/efi.h | 2 -
13 files changed, 198 insertions(+), 442 deletions(-)
--
2.47.1.613.gc27f4b7a9f-goog
next reply other threads:[~2024-12-20 11:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-20 11:22 Ard Biesheuvel [this message]
2024-12-20 11:22 ` [PATCH 1/7] x86/efistub: Drop long obsolete UGA support Ard Biesheuvel
2024-12-20 11:22 ` [PATCH 2/7] efi/libstub: Use C99-style for loop to traverse handle buffer Ard Biesheuvel
2024-12-20 11:22 ` [PATCH 3/7] efi/libstub: Simplify GOP handling code Ard Biesheuvel
2024-12-20 14:07 ` Lukas Wunner
2024-12-20 14:17 ` Ard Biesheuvel
2024-12-20 11:22 ` [PATCH 4/7] efi/libstub: Refactor and cleanup GOP resolution picker code Ard Biesheuvel
2024-12-20 11:22 ` [PATCH 5/7] efi/libstub: Simplify PCI I/O handle buffer traversal Ard Biesheuvel
2024-12-20 11:22 ` [PATCH 6/7] efi/libstub: Use cleanup helpers for freeing copies of the memory map Ard Biesheuvel
2024-12-20 11:22 ` [PATCH 7/7] efi/libstub: Use __free() helper for pool deallocations 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=20241220112214.2598872-9-ardb+git@google.com \
--to=ardb+git@google.com \
--cc=ardb@kernel.org \
--cc=linux-efi@vger.kernel.org \
--cc=linux-kernel@vger.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