Re: [PATCH v2 0/3] x86: Fix a F00F bug warning and cleanup surrounding code

From: Richard Weinberger

Date: Fri May 15 2026 - 02:20:25 EST


----- Ursprüngliche Mail -----
> Von: "Sohil Mehta" <sohil.mehta@xxxxxxxxx>
> This is an iteration of the series posted earlier by Richard Weinberger.
> https://lore.kernel.org/lkml/20260216104343.3625292-1-richard@xxxxxx/
>
> The patches primarily fix a harmless "alternatives_patched" warning that
> affects the original Pentium (Family 5) processors with SMP. In this
> revision, I reworded the commit messages and added a patch to simplify
> the warning logic for the F00F bug. The patches seemed worth reposting
> because the scope of the change is limited and it reduces lines of code.
>
> The series is split into three patches for easier review. Let me know if
> it would be preferable to merge them. Also, I wasn't sure whether the Fixes
> tag in patch 1 is necessary. I left it inplace as Richard had it in his
> original series, but it can be removed to avoid backporting hassles.
>
> Richard Weinberger (2):
> x86/cpu/intel: Don't clear X86_BUG_F00F before setting it
> x86/cpufeature: Remove clear_cpu_bug()
>
> Sohil Mehta (1):
> x86/cpu/intel: Simplify F00F bug notice using pr_notice_once()

Thanks for reviving these patches!
//richard