[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c0e9e3dd-91fd-6805-358a-9b5046c0dfe7@loongson.cn>
Date: Tue, 1 Apr 2025 14:12:16 +0800
From: Tiezhu Yang <yangtiezhu@...ngson.cn>
To: Josh Poimboeuf <jpoimboe@...nel.org>
Cc: philip.li@...el.com, a.p.zijlstra@...llo.nl, akpm@...ux-foundation.org,
bp@...en8.de, linux-kernel@...r.kernel.org, lkp@...el.com, mingo@...nel.org,
tglx@...utronix.de, torvalds@...ux-foundation.org
Subject: Re: [GIT PULL] objtool fixes and updates
On 04/01/2025 12:15 PM, Josh Poimboeuf wrote:
> On Tue, Apr 01, 2025 at 10:05:41AM +0800, Tiezhu Yang wrote:
>> (2) I did not meet the following objtool warnings before this merge
>> window:
>>
>> arch/loongarch/kernel/traps.o: warning: objtool: show_stack+0xe0: stack
>> state mismatch: reg1[22]=-1+0 reg2[22]=-2-160
>> arch/loongarch/kernel/traps.o: warning: objtool: show_stack+0xe0: stack
>> state mismatch: reg1[23]=-1+0 reg2[23]=-2-152
>>
>> and I did not notice the robot report due to there are many unread mails
>> in my inbox, I will try to reproduce it and take a deeper look at the
>> problem, maybe it is related with some special configs.
>
> I actually already have a patch for it, will post soon.
Thanks for the fix, I will test it once you post it.
I can confirm that the objtool warning is not related with
the patches in the branch objtool/urgent of tip.git, it is
related with CONFIG_STACKPROTECTOR which is default y, but
CONFIG_STACKPROTECTOR is not set in the robot randconfig
loongarch-randconfig-001-20250328 [1], there is no objtool
warning if CONFIG_STACKPROTECTOR is set.
I can also reproduce this issue when compiling with v6.14
if CONFIG_STACKPROTECTOR is not set.
[1]
https://download.01.org/0day-ci/archive/20250328/202503280703.OARM8SrY-lkp@intel.com/config
Thanks,
Tiezhu
Powered by blists - more mailing lists