From nobody Sat May 30 12:36:04 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 9E66F381AFD; Fri, 8 May 2026 05:40:47 +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=1778218863; cv=none; b=fd3wPF742mU0tGe+L+k7VF5cNm50+ZVSBqL4QKxEDlS3saIbRTdGMgKGx9rp1liLXxKy6fArlX+s+K947SdiJ+sPV9B60zpoiTQijeUVEsoqDngml9oa6BQZ/L5+8rommHqPd6Ah4o6CI0jcKFxt35HNp/J2mikwETF+bEzNfrw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778218863; c=relaxed/simple; bh=06IwVTiLjKzxTImb+VKb7GiYFhGDDx8mw2Y2PYqWiOM=; h=Date:From:To:Subject:Cc:MIME-Version:Message-ID:Content-Type; b=i8vmWDSUJ9x5vCSvA8s6DeMWUPqlP/pWmNKntnT73Vag6rX5tYdcqspGj3pCSSh7y5lFJJFGQUcEsxhqEMx5InkokApDZZQNqiUCUBWOxKgaCelLac4ihv7wUGi01D0XO2/CT2NHc3dV5xdJ53WaKX44Id5Z9r0rXZ9LLkKSFlU= 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=y6J38bzb; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=DEejW4BC; 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="y6J38bzb"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="DEejW4BC" Date: Fri, 08 May 2026 05:40:39 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1778218840; 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=8uiQHLU0XifNnYVhaFDKxeV+Rnj6FHyScZF6p//Spn8=; b=y6J38bzb6p+Qf16wvL/7m1Li7R5to2qS4qJ//911Z8ai0Lb5cqiIdUgJhnK2qW64VsD3We jiGmlAMdysaBxRITwymRybe65Wo++ryIyQx8TvgkpCbuP702d9GImeOL3ddvbY//kIkbR5 kT86qs2aCQzpjJ+TUrddb92AfyFanGseZGs2kquUPAiMoqDcxrE230r4kqxdJuVxgs0pNH RBP4eC8+C1UEkj9ODSLuA3eDE1wyq+ZulChm4bIR8WtJ0As6Oq5Rg+p7YL9nVaiAx/gzUP uMeawoiKTS144a0kUW67tv1KCSPdytkxKYIFf41QcAzowd9uTdOeV4bDsGdWnw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1778218840; 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=8uiQHLU0XifNnYVhaFDKxeV+Rnj6FHyScZF6p//Spn8=; b=DEejW4BCnSGXB/2UMoaxTMBfWCdXBY3KGq2p0fwqdeoaeJwR0J9WgHMV9ffUZTnr2e2+jk a9jWPdbx+s+DfGAg== 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/fpu: Remove the 'no387' boot option Cc: Ingo Molnar , Arnd Bergmann , Dave Hansen , "Ahmed S. Darwish" , 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: <177821883933.864.16702043247522808482.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: d8b55ce0c9958243c0b69211b12185287750d81a Gitweb: https://git.kernel.org/tip/d8b55ce0c9958243c0b69211b12185287= 750d81a Author: Ingo Molnar AuthorDate: Fri, 25 Apr 2025 10:42:06 +02:00 Committer: Ingo Molnar CommitterDate: Fri, 08 May 2026 07:34:03 +02:00 x86/fpu: Remove the 'no387' boot option Without math emulation there's no point to this option. Signed-off-by: Ingo Molnar Reviewed-by: Arnd Bergmann Acked-by: Dave Hansen Cc: Ahmed S. Darwish Cc: Linus Torvalds Link: https://lore.kernel.org/r/20250425084216.3913608-10-mingo@kernel.org --- Documentation/admin-guide/kernel-parameters.txt | 4 +--- arch/x86/Kconfig | 20 +++++++--------- arch/x86/kernel/cpu/common.c | 7 +------ 3 files changed, 9 insertions(+), 22 deletions(-) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentatio= n/admin-guide/kernel-parameters.txt index 4d0f545..d48d175 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -4437,10 +4437,6 @@ Kernel parameters These settings can be accessed at runtime via the nmi_watchdog and hardlockup_panic sysctls. =20 - no387 [BUGS=3DX86-32] Tells the kernel to use the 387 maths - emulation library even if a 387 maths coprocessor - is present. - no4lvl [RISCV,EARLY] Disable 4-level and 5-level paging modes. Forces kernel to use 3-level paging instead. =20 diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index f67af15..34e92da 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -2742,18 +2742,16 @@ menuconfig APM 1) make sure that you have enough swap space and that it is enabled. 2) pass the "idle=3Dpoll" option to the kernel - 3) switch on floating point emulation in the kernel and pass - the "no387" option to the kernel - 4) pass the "floppy=3Dnodma" option to the kernel - 5) pass the "mem=3D4M" option to the kernel (thereby disabling + 3) pass the "floppy=3Dnodma" option to the kernel + 4) pass the "mem=3D4M" option to the kernel (thereby disabling all but the first 4 MB of RAM) - 6) make sure that the CPU is not over clocked. - 7) read the sig11 FAQ at - 8) disable the cache from your BIOS settings - 9) install a fan for the video card or exchange video RAM - 10) install a better fan for the CPU - 11) exchange RAM chips - 12) exchange the motherboard. + 5) make sure that the CPU is not over clocked. + 6) read the sig11 FAQ at + 7) disable the cache from your BIOS settings + 8) install a fan for the video card or exchange video RAM + 9) install a better fan for the CPU + 10) exchange RAM chips + 11) exchange the motherboard. =20 To compile this driver as a module, choose M here: the module will be called apm. diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index a4268c4..897145f 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c @@ -1737,13 +1737,6 @@ static void __init cpu_parse_early_param(void) int arglen; =20 #ifdef CONFIG_X86_32 - if (cmdline_find_option_bool(boot_command_line, "no387")) -#ifdef CONFIG_MATH_EMULATION - setup_clear_cpu_cap(X86_FEATURE_FPU); -#else - pr_err("Option 'no387' required CONFIG_MATH_EMULATION enabled.\n"); -#endif - if (cmdline_find_option_bool(boot_command_line, "nofxsr")) setup_clear_cpu_cap(X86_FEATURE_FXSR); #endif