Re: [PATCH v2 2/3] x86/cpu/intel: Simplify F00F bug notice using pr_notice_once()

From: Ahmed S. Darwish

Date: Fri May 15 2026 - 19:09:35 EST


On Fri, 15 May 2026, Sohil Mehta wrote:
>
> On 5/15/2026 12:14 PM, Ahmed S. Darwish wrote:
> > >
> > > + pr_notice_once("Intel Pentium with F0 0F bug - workaround enabled.\n");
> >
> > I think you can go further and just remove the whole dmesg line.
> >
>
> It's a long-standing user-visible boot message. It doesn't feel worth
> removing to save a single line of code. My intention with this series
> was to avoid any visible change because of the rarity of these machines.
>

AFAIK this F00F thing just kills the machine, so I don't know why would a
legacy user-space program scan dmesg for that "wourkaround enabled" string.

I'd vote to remove it, and restore the message only if user-space /really/
breaks, which I highly doubt.

It's not a deal breaker, so I'll leave it here.

All the best,
Ahmed