From nobody Fri Jun 19 11:02:50 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 997C6C4743F for ; Mon, 4 Apr 2022 21:23:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381814AbiDDVYF (ORCPT ); Mon, 4 Apr 2022 17:24:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379938AbiDDSYT (ORCPT ); Mon, 4 Apr 2022 14:24:19 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4FE222B20; Mon, 4 Apr 2022 11:22:22 -0700 (PDT) Date: Mon, 04 Apr 2022 18:22:20 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1649096541; 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: in-reply-to:in-reply-to:references:references; bh=7T7M9w/3/K8SrwEK+r7mwxcGiwdDvdtwtN5lFOD/4Kc=; b=jTOdvDqTvofidZ3q2ZPWuFRlsB6NFhDzKnZdcbNM3957zWRByBxJsZRGB49zeWlt58uH53 17tsrH7a7UmVee4SisWm22fu0TyDdIJxip15q5GVrJBXyzWnImG0pfR+G0LagaCSKHGp/3 5mGRMBt4Mseuh9CUd7PWK38X8q5HHTOrDVslsYnJatJAzhJHt0aiLg/80WqaHAJOMc7YIv SxM8d5zlu9ppxup4tyEOMFJOuDxH7guGSirpES4FAYMxGn60MbgJWH7ViRr4y37Q60M4W7 a29NHeV10Euw9SXkbJn6WZX1i0tSkWaceaVXurQR4abTPA8Sug7QehgRQLXctw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1649096541; 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: in-reply-to:in-reply-to:references:references; bh=7T7M9w/3/K8SrwEK+r7mwxcGiwdDvdtwtN5lFOD/4Kc=; b=pnZW6t/0r9AwS8xEfGBq2p1lYfgi0izg4FoxCdI4yyxBcMevVR0z1TV8vb0XCpbO9RfTrg c56ScR2+q3e7NkDQ== From: "tip-bot2 for Borislav Petkov" 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 "nosep" Cc: Borislav Petkov , Kees Cook , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20220127115626.14179-3-bp@alien8.de> References: <20220127115626.14179-3-bp@alien8.de> MIME-Version: 1.0 Message-ID: <164909654054.389.299918398253472131.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the x86/cpu branch of tip: Commit-ID: c949110ef4e31cb5d3387bd8273fd5de66b5227b Gitweb: https://git.kernel.org/tip/c949110ef4e31cb5d3387bd8273fd5de6= 6b5227b Author: Borislav Petkov AuthorDate: Thu, 27 Jan 2022 12:56:22 +01:00 Committer: Borislav Petkov CommitterDate: Mon, 04 Apr 2022 10:16:55 +02:00 x86/cpu: Remove "nosep" That chicken bit was added by 4f88651125e2 ("[PATCH] i386: allow disabling X86_FEATURE_SEP at boot") but measuring int80 vsyscall performance on 32-bit doesn't matter anymore. If still needed, one can boot with clearcpuid=3Dsep to disable that feature for testing. Signed-off-by: Borislav Petkov Reviewed-by: Kees Cook Link: https://lore.kernel.org/r/20220127115626.14179-3-bp@alien8.de --- Documentation/admin-guide/kernel-parameters.txt | 2 -- arch/x86/kernel/cpu/common.c | 7 ------- 2 files changed, 9 deletions(-) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentatio= n/admin-guide/kernel-parameters.txt index 0ea1786..a9f3d31 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -3665,8 +3665,6 @@ =20 nosbagart [IA-64] =20 - nosep [BUGS=3DX86-32] Disables x86 SYSENTER/SYSEXIT support. - nosgx [X86-64,SGX] Disables Intel SGX kernel support. =20 nosmp [SMP] Tells an SMP kernel to act as a UP kernel, diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index 69c7ea8..c71d107 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c @@ -298,13 +298,6 @@ static int __init cachesize_setup(char *str) } __setup("cachesize=3D", cachesize_setup); =20 -static int __init x86_sep_setup(char *s) -{ - setup_clear_cpu_cap(X86_FEATURE_SEP); - return 1; -} -__setup("nosep", x86_sep_setup); - /* Standard macro to see if a specific flag is changeable */ static inline int flag_is_changeable_p(u32 flag) {