From: Thomas Huth <thuth@redhat.com>
To: Ard Biesheuvel <ardb+git@google.com>, linux-efi@vger.kernel.org
Cc: Ard Biesheuvel <ardb@kernel.org>, WANG Rui <r@hev.cc>,
Huacai Chen <chenhuacai@loongson.cn>
Subject: Re: [PATCH] efi/libstub: Move efi_relocate_kernel() into its only remaining user
Date: Wed, 29 Apr 2026 08:37:39 +0200 [thread overview]
Message-ID: <2b28b579-846a-4da5-8e67-f4a633c81714@redhat.com> (raw)
In-Reply-To: <20260428170608.3561937-2-ardb+git@google.com>
On 28/04/2026 19.06, Ard Biesheuvel wrote:
> From: Ard Biesheuvel <ardb@kernel.org>
>
> LoongArch is the only arch that still uses efi_relocate_kernel(), so
> before making changes to it that LoongArch needs, turn it into a private
> function. Move efi_low_alloc_above() into mem.c while at it, and drop
> the relocate.c source file altogether.
>
> Cc: WANG Rui <r@hev.cc>
> Cc: Huacai Chen <chenhuacai@loongson.cn>
> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
> ---
> Unless there are any objections, I will queue this up and rebase the
> LoongArch changes adding efi_cache_sync_image() on top of it.
>
> drivers/firmware/efi/libstub/Makefile | 2 +-
> drivers/firmware/efi/libstub/efistub.h | 7 -
> drivers/firmware/efi/libstub/loongarch-stub.c | 79 ++++++++++
> drivers/firmware/efi/libstub/mem.c | 82 ++++++++++
> drivers/firmware/efi/libstub/relocate.c | 166 --------------------
> 5 files changed, 162 insertions(+), 174 deletions(-)
Reviewed-by: Thomas Huth <thuth@redhat.com>
next prev parent reply other threads:[~2026-04-29 6:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-28 17:06 [PATCH] efi/libstub: Move efi_relocate_kernel() into its only remaining user Ard Biesheuvel
2026-04-29 3:18 ` WANG Rui
2026-04-29 6:37 ` Thomas Huth [this message]
2026-04-29 7:56 ` 陈华才
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=2b28b579-846a-4da5-8e67-f4a633c81714@redhat.com \
--to=thuth@redhat.com \
--cc=ardb+git@google.com \
--cc=ardb@kernel.org \
--cc=chenhuacai@loongson.cn \
--cc=linux-efi@vger.kernel.org \
--cc=r@hev.cc \
/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