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

From: Sohil Mehta

Date: Thu May 14 2026 - 20:27:23 EST


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()

arch/x86/include/asm/cpufeature.h | 1 -
arch/x86/kernel/cpu/intel.c | 8 +-------
2 files changed, 1 insertion(+), 8 deletions(-)

--
2.43.0