Re: [tip: x86/core] x86/cpufeatures: Generate the <asm/cpufeaturemasks.h> header based on build config

From: Linus Torvalds
Date: Fri Mar 28 2025 - 20:22:31 EST


On Fri, 28 Mar 2025 at 17:14, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> So I think the real fix is something like this ENTIRELY UNTESTED
> patch. Whitespace-damaged again to make sure people don't apply this
> mindlessly, it needs more thought:

.. and that ended up being even more whitespace-damaged than I meant
to make it, because it also line-wrapped.

Oh well. Not pretty, but I hope people still get the idea.

And I just actually tried doing a build after touching the .config
file, and it did seem to work.

But since I had _also_ messed with the config file on purpose earlier,
I'm not sure I'm actually testing the thing the networking builds
trigger. So I might be entirely missing something.

Adding Masahiro to the cc, so that somebody competent can actually
check my thinking.

Masahiro, see the complaint (and my reply) in

https://lore.kernel.org/all/20250328162311.08134fa6@xxxxxxxxxx/

for background...

Linus