From nobody Sat Jun 13 18:11:37 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 9ACD635893; Wed, 6 May 2026 06:16:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778048212; cv=none; b=Y2+vfifrdBdprtsUqoShR9ATnBuMTvw+Pdb0WGOegaELnrL3SB6fcXPsbIIJH/F4XnhEUkqD/4UPgEQjdtCbUPAne8fgfFU8xbeABnEZqGB2vadgfSu/2IDH/GB+7yVjld4kCJFSmUhexLJgYFuLtEG0vWzv+UWK0/dATb5BIag= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778048212; c=relaxed/simple; bh=KLs9U9TnJWn5NpoZ2W+ZMbNSOfP1p8CO1hGO2zMMyAo=; h=Date:From:To:Subject:Cc:MIME-Version:Message-ID:Content-Type; b=PYoWBcEEsA2TW2l650VmPDB0o3aQ+hh4u+86j7UabqChUTkUebegOdg7KQbN5/zYzu31WLPdZZZTW0DVEhcH66nKulia9BSx54Vs5SaSd09nAw2C/pmkG6q//XLFNiTkSe4fJF5KJt30rPJXW2JBP98sKCC3U+aAUIXp7aCKLhY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=NDWlu9QA; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=D26cdd0l; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="NDWlu9QA"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="D26cdd0l" Date: Wed, 06 May 2026 06:16:46 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1778048208; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=z+p/FhY0kFZrU9ruCzpIYMR8GmXYlyudSU3Jmm41F7Q=; b=NDWlu9QAVekqaVF8sb105/oCLuLYfjM6qhADnRclDUc/rrYIWDA81KC1fgsrzSzoZVr27y ZhbfbsCVQPuW/6k+xevqiLP0CAeAScc1B4NwnlI8t1x4FDj2O93kf+qv8jUfwgNMVPKpy1 85sIUk7tlWsolf6PiAW02CtQCudPn3sY45iMNBHirfS596rcyw/XbAYwgEPLgwAUq0nvxC OauhdHe64BFbv3iuqNvAahf6gJeubnv8EH44dAduVVEKvYjJh2/48c5hxnf6I5zSSYdcih KMRlxg7IgCcP+Nwwzh3H09Ujz17qIGYgT1E6+DZfwTsodY+RbF1m2GIJwsfCZw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1778048208; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=z+p/FhY0kFZrU9ruCzpIYMR8GmXYlyudSU3Jmm41F7Q=; b=D26cdd0loyGwWtuZ4J1K2qIVBJTBdWEjahFNLzldwqPtMmfhev+ZB8Ps5gKwD+21m+t4NS i3J0CUXM9UIok2Bg== From: "tip-bot2 for Ingo Molnar" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cpu] x86/cpu: Remove the CONFIG_X86_INVD_BUG quirk Cc: Ingo Molnar , Arnd Bergmann , Dave Hansen , "Ahmed S. Darwish" , Ard Biesheuvel , Linus Torvalds , x86@kernel.org, linux-kernel@vger.kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177804820657.424702.11680479801851226108.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the x86/cpu branch of tip: Commit-ID: 2ed46bccac394fd960c20dd9dc4c5fe0a9d7c0ef Gitweb: https://git.kernel.org/tip/2ed46bccac394fd960c20dd9dc4c5fe0a= 9d7c0ef Author: Ingo Molnar AuthorDate: Fri, 25 Apr 2025 10:42:03 +02:00 Committer: Ingo Molnar CommitterDate: Wed, 06 May 2026 08:05:30 +02:00 x86/cpu: Remove the CONFIG_X86_INVD_BUG quirk Now that support for 486 CPUs is gone, remove this quirk as well. Signed-off-by: Ingo Molnar Reviewed-by: Arnd Bergmann Acked-by: Dave Hansen Cc: Ahmed S. Darwish Cc: Ard Biesheuvel Cc: Linus Torvalds Link: https://lore.kernel.org/r/20250425084216.3913608-7-mingo@kernel.org --- arch/x86/Kconfig.cpu | 4 ---- arch/x86/kernel/traps.c | 7 ------- 2 files changed, 11 deletions(-) diff --git a/arch/x86/Kconfig.cpu b/arch/x86/Kconfig.cpu index 9b91209..1377edd 100644 --- a/arch/x86/Kconfig.cpu +++ b/arch/x86/Kconfig.cpu @@ -248,10 +248,6 @@ config X86_F00F_BUG def_bool y depends on M586MMX || M586TSC || M586 =20 -config X86_INVD_BUG - def_bool y - depends on M486SX || M486 - config X86_ALIGNMENT_16 def_bool y depends on MCYRIXIII || MK6 || M586MMX || M586TSC || M586 || MVIAC3_2 || = MGEODEGX1 diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c index 0ca3912..52177bc 100644 --- a/arch/x86/kernel/traps.c +++ b/arch/x86/kernel/traps.c @@ -1475,13 +1475,6 @@ DEFINE_IDTENTRY(exc_coprocessor_error) =20 DEFINE_IDTENTRY(exc_simd_coprocessor_error) { - if (IS_ENABLED(CONFIG_X86_INVD_BUG)) { - /* AMD 486 bug: INVD in CPL 0 raises #XF instead of #GP */ - if (!static_cpu_has(X86_FEATURE_XMM)) { - __exc_general_protection(regs, 0); - return; - } - } math_error(regs, X86_TRAP_XF); } =20