From: Paul Walmsley <pjw@kernel.org>
To: Huacai Chen <chenhuacai@kernel.org>
Cc: Will Deacon <will@kernel.org>,
Josh Poimboeuf <jpoimboe@kernel.org>,
Catalin Marinas <catalin.marinas@arm.com>,
Paul Walmsley <pjw@kernel.org>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
"Madhavan T. Venkataraman" <madvenka@linux.microsoft.com>,
Tiezhu Yang <yangtiezhu@loongson.cn>,
Ard Biesheuvel <ardb@kernel.org>,
loongarch@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
linux-riscv@lists.infradead.org, linux-efi@vger.kernel.org,
linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] efistub: Only link libstub to final vmlinux
Date: Thu, 20 Nov 2025 19:09:18 -0700 (MST) [thread overview]
Message-ID: <e36f8b19-c801-c872-381e-7eb40dc5e3e4@kernel.org> (raw)
In-Reply-To: <aRsH7RTpAah4g5Xr@willie-the-truck>
[-- Attachment #1: Type: text/plain, Size: 1369 bytes --]
On Mon, 17 Nov 2025, Will Deacon wrote:
> On Sat, Nov 15, 2025 at 11:16:42AM +0800, Huacai Chen wrote:
> > On Wed, Nov 12, 2025 at 2:00 AM Josh Poimboeuf <jpoimboe@kernel.org> wrote:
> > > On Mon, Nov 10, 2025 at 03:00:00PM +0800, Huacai Chen wrote:
> > >
> > > > Changing efistub code and changing objtool (ignore __efistub prefix)
> > > > are both workarounds, but I think changing objtool is a little more
> > > > reasonable. Maybe Josh has different ideas?
> > >
> > > I thought the conversation had converged on what Tiezhu mentioned above,
> > > which is to skip objtool on libstub for loongarch, but leave the other
> > > arches alone. That way objtool behavior is consistent between loongarch
> > > and x86, and objtool doesn't need to ignore any prefixes.
> > >
> > > So basically, the v2 patch minus the arm64/riscv changes.
> >
> > Hi, ARM64 and RISC-V maintainers,
> >
> > Would you mind that this patch modifies the three architectures
> > together (they are exactly the same style now)?
> >
> > Madhavan is the author of ARM64's objtool, I think your opinion is
> > also very important.
>
> arm64 doesn't (yet) use objtool.
>
> I defer to Ard on anything relating to the arm64 efistub. Reading the
> start of this thread, it doesn't look like he's convinced and I'm not
> surprised if it's purely an issue with objtool.
Same for RISC-V.
- Paul
next prev parent reply other threads:[~2025-11-21 2:09 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-28 8:55 [PATCH v2] efistub: Only link libstub to final vmlinux Tiezhu Yang
2025-09-28 13:41 ` Ard Biesheuvel
2025-09-28 13:52 ` Huacai Chen
2025-09-28 14:39 ` Ard Biesheuvel
2025-09-28 14:41 ` Ard Biesheuvel
2025-10-09 7:27 ` Tiezhu Yang
2025-10-10 16:25 ` Ard Biesheuvel
2025-10-11 1:13 ` Tiezhu Yang
2025-10-11 2:54 ` Huacai Chen
2025-10-11 3:40 ` Ard Biesheuvel
2025-10-11 7:29 ` Tiezhu Yang
2025-10-11 7:42 ` Huacai Chen
2025-10-11 8:13 ` Tiezhu Yang
2025-10-11 14:48 ` Ard Biesheuvel
2025-10-11 15:01 ` Huacai Chen
2025-10-11 15:58 ` Ard Biesheuvel
2025-10-13 7:34 ` Tiezhu Yang
2025-10-13 14:09 ` Huacai Chen
2025-10-13 14:36 ` Ard Biesheuvel
2025-10-14 16:47 ` Josh Poimboeuf
2025-10-16 14:52 ` Ard Biesheuvel
2025-10-16 15:49 ` Josh Poimboeuf
2025-10-17 11:00 ` Ard Biesheuvel
2025-10-17 16:22 ` Josh Poimboeuf
2025-10-17 16:26 ` Ard Biesheuvel
2025-10-17 17:05 ` Josh Poimboeuf
2025-10-20 1:24 ` Tiezhu Yang
2025-10-20 6:55 ` Huacai Chen
2025-10-23 6:55 ` Tiezhu Yang
2025-10-23 8:01 ` Huacai Chen
2025-10-23 8:06 ` Ard Biesheuvel
2025-10-26 11:20 ` Huacai Chen
2025-10-28 13:47 ` Ard Biesheuvel
2025-11-10 1:18 ` Tiezhu Yang
2025-11-10 7:00 ` Huacai Chen
2025-11-11 16:49 ` Ard Biesheuvel
2025-11-11 18:00 ` Josh Poimboeuf
2025-11-15 3:16 ` Huacai Chen
2025-11-17 11:33 ` Will Deacon
2025-11-21 2:09 ` Paul Walmsley [this message]
2025-11-21 14:36 ` Huacai Chen
2025-11-22 11:04 ` Tiezhu Yang
2025-11-23 2:29 ` Huacai Chen
2025-11-23 3:37 ` Tiezhu Yang
2025-11-25 1:49 ` Josh Poimboeuf
2025-11-28 10:11 ` Huacai Chen
2025-09-30 2:52 ` Huacai Chen
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=e36f8b19-c801-c872-381e-7eb40dc5e3e4@kernel.org \
--to=pjw@kernel.org \
--cc=aou@eecs.berkeley.edu \
--cc=ardb@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=chenhuacai@kernel.org \
--cc=jpoimboe@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-efi@vger.kernel.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=loongarch@lists.linux.dev \
--cc=madvenka@linux.microsoft.com \
--cc=palmer@dabbelt.com \
--cc=will@kernel.org \
--cc=yangtiezhu@loongson.cn \
/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