From: Tiezhu Yang <yangtiezhu@loongson.cn>
To: Josh Poimboeuf <jpoimboe@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>,
Huacai Chen <chenhuacai@kernel.org>,
Nathan Chancellor <nathan@kernel.org>,
loongarch@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1 2/3] objtool/LoongArch: Fix unreachable instruction warnings about EFISTUB
Date: Thu, 4 Sep 2025 10:18:12 +0800 [thread overview]
Message-ID: <ccbb40c1-5f2d-77e9-e8d2-52f2fdbad645@loongson.cn> (raw)
In-Reply-To: <wt4qpgi5isj5m6wq33pomvm6borvafuzktekc7lgtoitscar5q@brixzj3lccbw>
On 2025/9/4 上午3:19, Josh Poimboeuf wrote:
> On Mon, Sep 01, 2025 at 04:39:29PM +0800, Tiezhu Yang wrote:
>> On 2025/9/1 下午4:19, Peter Zijlstra wrote:
>>> On Mon, Sep 01, 2025 at 03:21:55PM +0800, Tiezhu Yang wrote:
>>>> When compiling with LLVM and CONFIG_LTO_CLANG is set, there exist the
>>>> following objtool warnings:
...
>> Josh suggested to do something to put these instructions in the data
>> section, but as said in the previous reply, it needs to modify the link
>> process and seems too complicated and expensive for this warning to some
>> extent.
>>
>> So I did this change for objtool.
>
> I don't like this workaround either, how exactly is it complicated and
> expensive to put the data in a data section?
I can put them in a data section in the next version, this is
reasonable.
Thanks,
Tiezhu
next prev parent reply other threads:[~2025-09-04 2:18 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-01 7:21 [PATCH v1 0/3] Fix objtool warnings if LTO is enabled for LoongArch (Part 2) Tiezhu Yang
2025-09-01 7:21 ` [PATCH v1 1/3] objtool/LoongArch: Fix fall through warning about efi_boot_kernel() Tiezhu Yang
2025-09-01 8:16 ` Peter Zijlstra
2025-09-01 8:31 ` Tiezhu Yang
2025-09-03 19:17 ` Josh Poimboeuf
2025-09-04 2:15 ` Tiezhu Yang
2025-09-04 2:17 ` Huacai Chen
2025-09-04 17:26 ` Josh Poimboeuf
2025-09-05 4:33 ` Huacai Chen
2025-09-05 9:53 ` Tiezhu Yang
2025-09-01 7:21 ` [PATCH v1 2/3] objtool/LoongArch: Fix unreachable instruction warnings about EFISTUB Tiezhu Yang
2025-09-01 8:19 ` Peter Zijlstra
2025-09-01 8:39 ` Tiezhu Yang
2025-09-03 19:19 ` Josh Poimboeuf
2025-09-04 2:18 ` Tiezhu Yang [this message]
2025-09-04 2:21 ` Huacai Chen
2025-09-04 3:50 ` Tiezhu Yang
2025-09-04 3:59 ` Huacai Chen
2025-09-04 17:39 ` Josh Poimboeuf
2025-09-04 21:46 ` Josh Poimboeuf
2025-09-05 4:36 ` Huacai Chen
2025-09-05 16:04 ` Josh Poimboeuf
2025-09-09 3:59 ` Tiezhu Yang
2025-09-09 4:10 ` Huacai Chen
2025-09-09 16:05 ` Josh Poimboeuf
2025-09-10 6:55 ` Huacai Chen
2025-09-11 3:23 ` Josh Poimboeuf
2025-09-11 8:28 ` Huacai Chen
2025-09-01 7:21 ` [PATCH v1 3/3] LoongArch: Fix unreachable instruction warnings about entry functions Tiezhu Yang
2025-09-01 8:20 ` Peter Zijlstra
2025-09-03 19:22 ` Josh Poimboeuf
2025-09-04 1:26 ` Jinyang He
2025-09-04 3:18 ` Tiezhu Yang
2025-09-04 17:16 ` Josh Poimboeuf
2025-09-02 15:43 ` [PATCH v1 0/3] Fix objtool warnings if LTO is enabled for LoongArch (Part 2) 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=ccbb40c1-5f2d-77e9-e8d2-52f2fdbad645@loongson.cn \
--to=yangtiezhu@loongson.cn \
--cc=chenhuacai@kernel.org \
--cc=jpoimboe@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=loongarch@lists.linux.dev \
--cc=nathan@kernel.org \
--cc=peterz@infradead.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
all inboxes | Powered by JetHome®