From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 612ED318EF0 for ; Mon, 18 May 2026 22:21:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779142868; cv=none; b=F1LxdHjMYw/AbtW28FpkmuJFPIoRHkReMStmBsCwx8KmwrJsDNY16hPe6OhwY1NLfkckWJFq+kgtfUMUvO2ZMdArruHg51fL2NUt124t0sb+uK/bSEmAHL/Jiga8VuyYUCU1BVJN3wNswLqZxIZ5Zftc7a1YGWAKpQVt1p8C3wg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779142868; c=relaxed/simple; bh=9pmlq1SKD4mCzRhlS8g7HD9z9RoGaysWgT8toMc8vDU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lNLav0q2xhBdQvvnnu4Du8s/qLVaVsJ8S6PyIUMcG6m9zZ90qlY/qm8Oa2kBP5gGw2y8P4UIGspRQkgI2SkMWk2MwRBm2o0RfsgHqnoqVfwNWqO2A6qjO9u1qr1Kh6a/FyqOad+bup/7RQ+lwumoAFpm9gciRcL3EukoQXh63Rg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=IVHY+D0h; arc=none smtp.client-ip=198.175.65.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="IVHY+D0h" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1779142866; x=1810678866; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=9pmlq1SKD4mCzRhlS8g7HD9z9RoGaysWgT8toMc8vDU=; b=IVHY+D0h0C5Nozdf9uDlsBI1BjmMkbmndbMPUNfg7fARWv/SG8obgobW ToMtdbpfBpGnl9ZiPaxqtsvh4IZviPG1WatRoooRe6+XzSt/c7JrFJJXC vMrJgPULRQGBSxvG6VgpMgNpGPBGbUKamp+H/1L8yVjy9o08SHgl5Ei7Z TgWuEEKbb6eMqKKHOldh7KwRzlz5XR0mCSRokh41VI9hOgZ0x/CJGfw8R oAGPP3eQfQ9HdrTjI0/fE5TaUTZ1yIRwoUtC+gnAUubtMRHvKBSdcwefU PalU6jkaf1+CQifdNLf8c22Jy8HJri0f3wjUICpsOIziS5qjGuQado90E g==; X-CSE-ConnectionGUID: tkRfh6kSTqG7MxnwgBecPw== X-CSE-MsgGUID: tPlGsK/zQFivrPWtN9y3Hw== X-IronPort-AV: E=McAfee;i="6800,10657,11790"; a="90317850" X-IronPort-AV: E=Sophos;i="6.23,242,1770624000"; d="scan'208";a="90317850" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2026 15:21:06 -0700 X-CSE-ConnectionGUID: kPfErpkZSCe4pWlH5vLdtg== X-CSE-MsgGUID: Zk3aTH+USfWzGFYTD5Lw3Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,242,1770624000"; d="scan'208";a="244564542" Received: from sohilmeh.sc.intel.com ([172.25.103.65]) by orviesa005.jf.intel.com with ESMTP; 18 May 2026 15:21:05 -0700 From: Sohil Mehta To: Dave Hansen , Borislav Petkov , x86@kernel.org Cc: Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , Josh Poimboeuf , Richard Weinberger , Andrew Cooper , Tony Luck , Sohil Mehta , "Ahmed S . Darwish" , linux-kernel@vger.kernel.org Subject: [PATCH v3 0/3] x86: Fix a F00F bug warning and cleanup surrounding code Date: Mon, 18 May 2026 15:17:15 -0700 Message-ID: <20260518221718.3303288-1-sohil.mehta@intel.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Changes in v3: - Remove the notice announcing the F00F bug workaround instead of simplifying it. - Pick up review tags from Ahmed. v2: https://lore.kernel.org/all/20260515002500.2463393-1-sohil.mehta@intel.com/ Summary: The series fixes a harmless "alternatives_patched" warning that affects the original Pentium (Family 5) processors with SMP. It also removes the kernel announcement that the F00F bug workaround is in place. Mainly, the patches simplify and reduce lines of code. Original v1 post by Richard Weinberger: https://lore.kernel.org/lkml/20260216104343.3625292-1-richard@nod.at/ The Fixes tag in patch 1 isn't strictly 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: Remove the F00F bug workaround notice arch/x86/include/asm/cpufeature.h | 1 - arch/x86/kernel/cpu/intel.c | 15 +++------------ 2 files changed, 3 insertions(+), 13 deletions(-) -- 2.43.0