From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) (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 30A9925776 for ; Fri, 15 May 2026 00:27:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778804828; cv=none; b=i/ZGIQedGdCL5hYvVAr8AR4qAoPnVveENJR6yx6ly7CQql2qEQ1UhC/dvv2oQf2VCyQDLgF7NDqkpp6Ky+kCzS9nwyKXis8U82z0KcipMgnJP0ReNqpmICDok+azYMZ5oJGDxJuUfVDlH+kO2WtOPShbEx8VWuXiB+EgaFtgCbU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778804828; c=relaxed/simple; bh=kP2UVGRppNMss+ZUgXCstnMGwkRVzeXksdjx6gx2hkU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=enp1AajKJmuyCaJYjcZm2LudVJyOhM/il5IV/vmCqlSsrl7c12Vue24lclyNVR6LMI5kzCvyozYQcXRZo4KNS6IvtncBYWfn3Wf0rFPeFStuP4m+MVQey+T1RQR5F0uPUjOU0InY1XbeHekyLy8nm9Tnb6fWd0OH/WxNA38RSsg= 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=JbGgLQn5; arc=none smtp.client-ip=192.198.163.12 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="JbGgLQn5" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1778804827; x=1810340827; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=kP2UVGRppNMss+ZUgXCstnMGwkRVzeXksdjx6gx2hkU=; b=JbGgLQn51FHFb8N78Q5XV3N6If97/dK5uuvuJU/Gjks8QMBTGITDAUXm RE6jPUywW1rSSzqdTx73tv2S+YJtJ5tBvYtRzzW0XqDq31vAQWidGz6MB emG2rz6SsjnAa0hZDSqP7Xb1kgpi7zxXiLtXwtJ9DE1m6SJlhAa09D9IC Ixh4p0LgR/823AySY06DuAtA/447KaJwFmSuYjhZYy38YRKmRrx5LpOQr Z7P9vUBAABGS4hWpeoumbuuyIIKdCxjGiR1aPpyDU9tIesA2KZNNzbt/p AWOOtkLgGnE/3XgBNnMRTSurAwkyYLj3Wnwl0C2svZC1boL9uLxjYymSu g==; X-CSE-ConnectionGUID: T/kO+aG2RT2tUUENa917Hw== X-CSE-MsgGUID: w54RQRA3TPm4BsEG/yu42A== X-IronPort-AV: E=McAfee;i="6800,10657,11786"; a="83613064" X-IronPort-AV: E=Sophos;i="6.23,235,1770624000"; d="scan'208";a="83613064" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 May 2026 17:27:02 -0700 X-CSE-ConnectionGUID: S3Vs1ax3SdWuwspHDnFWog== X-CSE-MsgGUID: Y+bPPbxJSUqb0dLYV9JTjw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,235,1770624000"; d="scan'208";a="238418074" Received: from sohilmeh.sc.intel.com ([172.25.103.65]) by orviesa008.jf.intel.com with ESMTP; 14 May 2026 17:27:01 -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 v2 0/3] x86: Fix a F00F bug warning and cleanup surrounding code Date: Thu, 14 May 2026 17:24:57 -0700 Message-ID: <20260515002500.2463393-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 This is an iteration of the series posted earlier by Richard Weinberger. https://lore.kernel.org/lkml/20260216104343.3625292-1-richard@nod.at/ 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