Re: [PATCH v8 1/3] x86/cpu: Clear feature bits disabled at compile-time
From: Borislav Petkov
Date: Mon Mar 02 2026 - 15:50:39 EST
On Mon, Mar 02, 2026 at 07:48:41PM +0000, Maciej Wieczor-Retman wrote:
> The documentation from at least 5.10 onwards promises to have flags in cpuinfo
> only if they're truly compiled and enabled. So I thought that incosistency can
> be corrected from that point on. For the 6.18 stable kernel this particular
> patch applies cleanly because it already started using the awk script. For the
> older ones I took Greg's advice and prepared separate patch that worked before
> the awk script was introduced.
I don't think you got my question, lemme try again:
How serious is this bug so that you want to backport it to stable?
So what if some flags appear in /proc/cpuinfo even if they're not compiled in?
Is the cat going to catch fire or no one cares...?
IOW, does it really need to go to stable and if so, what's the grave bug it is
fixing?
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette