[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2d33a48f-a43a-4ed6-a903-aff8184eebf3@kylinos.cn>
Date: Thu, 30 Oct 2025 13:03:52 +0800
From: Yu Peng <pengyu@...inos.cn>
To: Borislav Petkov <bp@...en8.de>
Cc: tglx@...utronix.de, mingo@...hat.com, dave.hansen@...ux.intel.com,
 x86@...nel.org, hpa@...or.com, linux-kernel@...r.kernel.org,
 Yu Peng <pengyu@...inos.com>
Subject: Re: [PATCH v2] arch/x86/microcode: Mark early_parse_cmdline() as
 __init
在 2025/10/29 20:38, Borislav Petkov 写道:
> On Wed, Oct 29, 2025 at 04:16:44PM +0800, Yu Peng wrote:
>> From: Yu Peng <pengyu@...inos.com>
>>
>> Fix section mismatch warning reported by modpost:
>>    .text:early_parse_cmdline() -> .init.data:boot_command_line
> 
> How do you trigger this?
> 
I found a minimal reproducer: i386_defconfig enable these two options:
CONFIG_GCOV_KERNEL=y
CONFIG_GCOV_PROFILE_ALL=y
On my toolchain (GCC 13.2), this combination instruments the function 
and prevents it from being inlined, which then triggers the modpost error.
Thanks,
-- 
Regards, Yu Peng
Powered by blists - more mailing lists
 
