From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (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 4C917395AFA for ; Sun, 24 May 2026 16:34:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.109.113.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779640472; cv=none; b=hNuM+ysroV7suo96CIGuCBkE0ggmhBf9R5XZBO+zdgeoLM/L8MwhAYQlHYwF1jLxP6SAPS7j7eSNt+9hf77isc4HqERNfnLpLYotx4OakDeAQTnzHRWJ9bx93E+WAEKSH8jnr0IMGBhXn1bw+qLwmSvoSaoPcGZctGIhsEz0iRw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779640472; c=relaxed/simple; bh=z/7lICgEw0TsVWIZCVd5xIhCRqIKHpS+Z71FiCK6rrc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nIlVWff7PQQgtcExOaWaFa3JpZ5+JP2GoT/jbgqyFfcsdkms/p75jL7dXBjyuQGK6UxDrOmzqqslzSOg/ANypyLDiYBHMiDW1cQ7Qtw6I5ab9AgaZzG8Om+7mSLYLoGXSDxhFmxFCtn/kF0hbQudkfnJJ+EBWkB/q/DUwroswnM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de; spf=pass smtp.mailfrom=alien8.de; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b=Pfq18Z7K; arc=none smtp.client-ip=65.109.113.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="Pfq18Z7K" Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 9839040E015A; Sun, 24 May 2026 16:34:26 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id IIKsVUNXGvmt; Sun, 24 May 2026 16:34:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1779640456; bh=zhjGImVpua1Di8RsKv/lKyMHFyIPMGbOfglyuqRu/ZQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Pfq18Z7KbU/KFGRw1q7wr6OVKdXAy7m20GhIoo0A3OM6Zpib9RaqnSdKKrGuhW1BG DeL3xTnDCjoxhRYbcy+qnUa5FBl91EEvuhtdSGdyDLBuqHs1R1HukPoGltOKnNK8Se AdIu48LiI5yREdQ3FP6hTYtGmgbN+7VW5yO4DcAuK70ZzI8k16UkuA2ajoViKZz7G9 iUkXc3PsKC+N5kkqxoOxv2YhqmJ3hWbP6WpzzxIsRHBk4gCbDXQG42UhViKCp5VSy1 g2m4ocR1gLEFUZAHcDgJHZ+nblDDAcHwWtsLZODDkLeKGbkrTigL5kzEJS9EAwZ9Sn CLZwkfDx7LGYgyDZC0Dn6ju236rOcVLMhXb2zf+4LNfTy/GrZrq1+qeB5zexVgJX56 0a3yEGz/PmhKENpoROgpA5Y5KR/6u7CY0XD3n5zaPzJ2Lqzw1JeHZ6x9tIAw5J79qn hDMhAVYvMYhK0tWkzL6ULGxw0gMvy59ia2QoTWKSNx4WccDybOltGdiX3FM4TTgh5W fYUGw/7IfwxBARpKVagBi1gO1abDCiH9waN+fa/ZtIMck53hVmzN0M4p2BLzMTLQXN Tg/nRL4fZvF2FGvs00fpt0/XTXcsAwF/NVcQ9KBWOvQbg/qZ3nsqBV0yCBCRhYuuGf d81hswQoAHc2ojp5x4+OW+0U= Received: from stx.tnic (unknown [IPv6:2600:1700:38ca:c00:b8a3:f58e:8829:9ca6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 1A84140E0140; Sun, 24 May 2026 16:34:03 +0000 (UTC) Date: Sun, 24 May 2026 09:33:55 -0700 From: Borislav Petkov To: Sohil Mehta Cc: Dave Hansen , x86@kernel.org, Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , Josh Poimboeuf , Richard Weinberger , Andrew Cooper , Tony Luck , "Ahmed S . Darwish" , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/3] x86: Fix a F00F bug warning and cleanup surrounding code Message-ID: <20260524163355.GAahMocxUTCLstCTrs@fat_crate.local> References: <20260518221718.3303288-1-sohil.mehta@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20260518221718.3303288-1-sohil.mehta@intel.com> On Mon, May 18, 2026 at 03:17:15PM -0700, Sohil Mehta wrote: > 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(-) Why are there three patches doing one logical thing? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette