[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241202041028.GJ10431@google.com>
Date: Mon, 2 Dec 2024 13:10:28 +0900
From: Sergey Senozhatsky <senozhatsky@...omium.org>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: Sergey Senozhatsky <senozhatsky@...omium.org>,
20241015061522.25288-1-rui.zhang@...el.com,
Zhang Rui <rui.zhang@...el.com>, hpa@...or.com,
peterz@...radead.org, thorsten.blum@...lux.com,
yuntao.wang@...ux.dev, tony.luck@...el.com, len.brown@...el.com,
srinivas.pandruvada@...el.com, linux-kernel@...r.kernel.org,
stable@...r.kernel.org, mingo@...hat.com, bp@...en8.de,
dave.hansen@...ux.intel.com, rafael.j.wysocki@...el.com,
x86@...nel.org, linux-pm@...r.kernel.org,
Masahiro Yamada <masahiroy@...nel.org>,
Nathan Chancellor <nathan@...nel.org>,
Nicolas Schier <nicolas@...sle.eu>, linux-kbuild@...r.kernel.org
Subject: Re: [PATCH] modpost: Add .irqentry.text to OTHER_SECTIONS
On (24/12/01 12:17), Thomas Gleixner wrote:
> The compiler can fully inline the actual handler function of an interrupt
> entry into the .irqentry.text entry point. If such a function contains an
> access which has an exception table entry, modpost complains about a
> section mismatch:
>
> WARNING: vmlinux.o(__ex_table+0x447c): Section mismatch in reference ...
>
> The relocation at __ex_table+0x447c references section ".irqentry.text"
> which is not in the list of authorized sections.
>
> Add .irqentry.text to OTHER_SECTIONS to cure the issue.
This works. In fact, this looks like a local fix which we applied
here on our side, but we were very unsure. Thank you Thomas.
Powered by blists - more mailing lists