Re: [PATCH] x86/mm: Ensure clear_page() variants always have __kcfi_typeid_ symbols

From: Nathan Chancellor

Date: Fri Oct 31 2025 - 10:20:49 EST


Hey Boris,

On Thu, Oct 30, 2025 at 08:28:19PM +0100, Borislav Petkov wrote:
> On Mon, Oct 13, 2025 at 02:27:36PM -0700, Nathan Chancellor wrote:
> > When building with CONFIG_CFI=y and CONFIG_LTO_CLANG_FULL=y, there is a
> > series of errors from the various versions of clear_page() not having
> > __kcfi_typeid_ symbols.
>
> might wanna wait with this one - those are going away except one:
>
> https://lore.kernel.org/r/20251027202109.678022-5-ankur.a.arora@xxxxxxxxxx

These errors occur in Linus's tree so could this go before that one then
it could just update the instances of KCFI_ADDRESSABLE? I don't have a
strong opinion, I found these series of errors tangentially but this
feels like something that could go via x86/urgent and that series could
just rebase on it.

Cheers,
Nathan