Received: by 2002:ab2:7407:0:b0:1f4:b336:87c4 with SMTP id e7csp214119lqn; Thu, 11 Apr 2024 21:17:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWV6lhnCC8lb9CCkNIEO/rMS9gHYnPdbHj0PKoe1NWP93tvxB5VuQtVymKCOTQG/0yXuDkBYg2UGQBAP4x7lr3jOdGw8Usamp1Axr+zOA== X-Google-Smtp-Source: AGHT+IFlv5nfHC4swfmnJ1sGs8MBsxbzHo1jR0R0yTdXpcN31HLwuyXHjBgBz9lthUpvioWXXbdh X-Received: by 2002:a17:906:a394:b0:a46:ec44:477c with SMTP id k20-20020a170906a39400b00a46ec44477cmr791322ejz.41.1712895459459; Thu, 11 Apr 2024 21:17:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712895459; cv=pass; d=google.com; s=arc-20160816; b=SE9bl1U2aVl7TUUaR5dluXKh0Fi3n8OfUHdf5FwH0T1zzpZF3Cd1XyD6zjQ+4oFLZ9 rIzBbmjrTzQE/KlDSbwBHKjj6ZQnYFRq+uBQKODY90uWT69k3npI60M0CZdU8b1GZtug x556QS9ZiMF04yfT5pktwuWYgfpGw4Mr9uevHSuCRrB2yGF+3aiPUccOfrh7TGdXhXF6 o/BSVV6vTxwkg9J+TD/HIPjqtD6dS8NrL26zj9Oqsbn4Dmk1Ed/H1TIWlBjZ76XO8iqP c+3Vx+PFbrc0yFQlgdhR9tsZ29jLFHt4BIufkFx/XNVBfB2wnea0ixQ1Of/XPcSN46lp ui5A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=w1vTF0M2vm5WDnPBPskkVUiDvjpAkGLAsdTSNrWfGjQ=; fh=jjxox2ApYGnNf9rRI6s+LRyB2MUb1hTWlSsn5K1LkXA=; b=UvsOAdsBvD2k3fp4yXZsrQJYl64jP9MGRSPDov6Tz/EduXEHVACvMzSMpNvHr796En dW2Kul4pJMNZEDQa5h42jOHy+6hbcHnrYFVhUybXZn33fSePe49DnLTjL3XD+h9Zo0CC WtTrBbnNJtUZw+ajAFUiGbWTuu7h60PSciVGtx51d8kCLVKM5cmZr9zERLTDujG5YWBN fHFLqE0281ccITJdamunhkp7PhS6KbBJE67A7exX54zNkbI7tnHJZM4W5ehCZlhJzdh7 tvazNbKjPmsu9+m/5fe1/FfLnHmKpMFqSBSf/XJ99YNpFbLNqGvvfu9Y/lHtZbtPiRpj 1Chw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="PkZQvqf/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-141913-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141913-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id gn39-20020a1709070d2700b00a5239506978si129635ejc.387.2024.04.11.21.17.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 21:17:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-141913-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="PkZQvqf/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-141913-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141913-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 261E41F21D73 for ; Fri, 12 Apr 2024 04:17:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 529C718C1A; Fri, 12 Apr 2024 04:17:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PkZQvqf/" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 6DABE18633 for ; Fri, 12 Apr 2024 04:17:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712895447; cv=none; b=Y6CnodVtfXAeKc09f13umEwLdEaIpzhFm2icdDwi7crHP1DVMirOXKWMIW+ZbMlzYDQVXV/6hxXtO2LtSLJa1prtBHuZ73rSJYhZacyXdH41S/p+0Vi3QjFQQx0wEQJu615WvL0I7GotyGYwLxRC/7s10LE8ZsF4SSHms4NvJwc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712895447; c=relaxed/simple; bh=g28bGrM54so83tuq2ucH1HsXbdYucezVmfu+9i1+pKo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ExTxRAsZ4bn7cwUgVOsjrqxOsD4Jg3JdnW0uFSf7rMN+UJ9zSQr2Xqp8JapU6Y2cEHx4QOx9dICAiaWSp2ZAVlBPLOa8krJj7prCbG6SS5Myu8gMxDVw4XyGN9JOOHv2ZkDQOuWgzT5rM7lnelBFSSowzwjSeoqT+kW1pCx0qYk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PkZQvqf/; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65964C2BD10; Fri, 12 Apr 2024 04:17:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712895447; bh=g28bGrM54so83tuq2ucH1HsXbdYucezVmfu+9i1+pKo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PkZQvqf/cKXPoeVh7TOPpgxhOhlq4ngUJCvkHpyQn9JV75DvCvzJNHBGrIYohoQzt GwNcJTxglhWNqbynG807WY5/cp7d3x57WaGQqU8LbdwMuC8bORIKG4jMYrSMWbAdGn V9+DNjuCiq+1V0E2WWH/+omCXgTPZyozoU+uVSB5QPBMUsGm0uLKfYAhNDXncoCs+g SRfTbYV1xcFzFHIaRwvnxXlLBDhua92rVmMJtmcjzzqdqBPaowNuzOgYYkasqx81q2 z0Md2usDc4HORzfirrOFFsO1HV8KCIdq3cpKJvF1OmubI9lKrOGhR3L0/Ewutwiu1g 5fUqehNP9VN5w== Date: Thu, 11 Apr 2024 21:17:24 -0700 From: Josh Poimboeuf To: Pawan Gupta Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Linus Torvalds , Daniel Sneddon , Thomas Gleixner , Alexandre Chartre , Konrad Rzeszutek Wilk , Peter Zijlstra , Greg Kroah-Hartman , Sean Christopherson , Andrew Cooper , Dave Hansen , Nikolay Borisov , KP Singh , Waiman Long , Borislav Petkov Subject: Re: [PATCH 5/7] x86/bugs: Only harden syscalls when needed Message-ID: <20240412041724.gx6jtx7tpz2c7gbe@treble> References: <97befd7c1e008797734dee05181c49056ff6de57.1712813475.git.jpoimboe@kernel.org> <20240412001522.3zp2mzked4ksglkl@desk> <20240412035740.ojgvlqahqlm2umsx@treble> 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: <20240412035740.ojgvlqahqlm2umsx@treble> On Thu, Apr 11, 2024 at 08:57:42PM -0700, Josh Poimboeuf wrote: > For similar reasons I'm thinking we should also remove the non-eIBRS > version (SPECTRE_V2_LFENCE). Actually I guess that's still the default mitigation for AMD so I'll leave that one in. -- Josh