Received: by 2002:ab2:7407:0:b0:1f4:b336:87c4 with SMTP id e7csp232693lqn; Thu, 11 Apr 2024 22:21:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVoy10HqsNEWbfpBRnX06hZc3DY8SBDHOrZI7WpnGTkSOXbs6fRYGI1Iy516BwX7SHSNKhpWXMNTceMl7KQ1FGpsDtjaegfU/Ihzm9uDA== X-Google-Smtp-Source: AGHT+IFFWmaiYBOb5YU67LvuWCRh+Y+yAE3PrUKyissinicmIheBSMjK3uHlXsy95TX9jMLwCYdM X-Received: by 2002:a17:906:138a:b0:a4e:7b8e:35ae with SMTP id f10-20020a170906138a00b00a4e7b8e35aemr1166253ejc.38.1712899268382; Thu, 11 Apr 2024 22:21:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712899268; cv=pass; d=google.com; s=arc-20160816; b=khaNFDacxbgA5fgEWc12e3a0VJA7AeX1sK9ECh1h+M+Q65+02FZQ29+J7qkdOPwaJR br4bu0jsYAwyJRfmiFA12tXyZueOi5DboYE2AgR/NH8KCXp9NO4yGSBrG34sks6BLVWv nvjqV0otnhOGxxnepJ5EUMIvvO8y52oahdsvkqjkoF+EjW69Km/0q5QXH9p+a/+gwPr+ XvVDMg3prjWYODCVp8FjykgtMFI1UU3wN86P0uR3VyE4Qfb3TV9lkUsm1wOTAffP8/3B Gzh0Hs9ojhrPFPdOUxVrCRY8rnmEZPlsZyXiPl5U622fR1jrj4bFpwjOt92NNHN8rQge pyTg== 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=nSm0qO7uzshuXGmaJDaj+dDd+Jfc+Lbbbt/adeQYHJo=; fh=jjxox2ApYGnNf9rRI6s+LRyB2MUb1hTWlSsn5K1LkXA=; b=D7mXzYm/rBpPIcqMa266Jjmxlr9b0bmivVBkP7UcnQdlqb/AjoZj9tJFr0W1uFpAUE kfIwduimO5Nh5N/2Q5vg6/5Et62r8yNwaZycoibqt7FWd/pZApGxieTOKgCZnGtGjy0B UVnPNiDTBrrm0XM6c/42UDlOGVNS1xXIRhWPrDjIKHwWW4iblpILremvqjJOObiLi1BY lBSTm1A4mb7QAHA2Q3YaSecY/yUA8sQw69kxHpk6iU7K6AUwl3CsDp77qZaKWPWehch/ XQrzbZ6VIlZ9YdglMtINjqik8Wffl7NyxuO179zPkZuwXDEg4Xkgu14NePXN+vIzrvSl 5V2Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sNEFY4OB; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-141972-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141972-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id hq19-20020a1709073f1300b00a522e9dadd0si624667ejc.671.2024.04.11.22.21.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 22:21:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-141972-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sNEFY4OB; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-141972-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141972-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 20D661F22C06 for ; Fri, 12 Apr 2024 05:21:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9019C1B974; Fri, 12 Apr 2024 05:20:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="sNEFY4OB" 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 B3EB0DDA9 for ; Fri, 12 Apr 2024 05:20:58 +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=1712899258; cv=none; b=XOA5MzdoXTeXH4VptRRTrHJJik64woH3rTeGoMh+BlKgF7aFdl7//eQIvN9LxsnTCs8IHGOFnI67533K4dDJ4DH6JUCCy0laCcTSLEajcuGjcp2u1UMC4MmVy3dZZ9mPGCcUTr9N1xbKa9DuuPldLlpn7RpaQaisvJU7tJ75FwQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712899258; c=relaxed/simple; bh=Yw/ki6ObOoZJpn0+pDz0oORbjMgC/ROYym/KZ4/+H68=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=s2HuQ4X0/tNj5CI6DuybymRI+aXv3YZmpuYMSmtFRICV7IgwB3AkVBUykEl0xQzj6DcDiW3/wapc5zEf3mz8geEpaJVH0krRfRHvcsbPyI45B0QsPWr5GRk65WeZqP3s9/WhCAKONdt1dFVb8RQRdgWjpwXcYMvdh3bBeu7rQLc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=sNEFY4OB; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 96225C2BBFC; Fri, 12 Apr 2024 05:20:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712899258; bh=Yw/ki6ObOoZJpn0+pDz0oORbjMgC/ROYym/KZ4/+H68=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sNEFY4OBCk8Wb0yLWpOcJSuAO7tUTXt8s/Lvql20Y26hKvqU5oAip6QR85Fgkf7U4 XLm1dhjGbWJhuK28wheUQP/oDJHldb+CxFB92Jr8RJtFrbmu6Qkp7Uzd4tedULczfh 6p9b5F7x+KVqgew91TswPJeQLPwDYVzKEztGwKIWklnoEexza+bt81ZLNm09qmUvoI 6m9f2uHK+BVjiI0BCIHzspqJRZPwZ9AShuMTiWlg8Mweb4nXeSZY+ZnT9CcAOgtUNI yQedbZr8YOOn8k/JLaGMou7hIsIc3vXwjau+sTxIT7Ojv8CaOHjbJOXPHmere4R4us DkSUJj7AZFMDw== Date: Thu, 11 Apr 2024 22:20:55 -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: <20240412052055.wpr3zs5l4qjc62vu@treble> References: <97befd7c1e008797734dee05181c49056ff6de57.1712813475.git.jpoimboe@kernel.org> <20240412001522.3zp2mzked4ksglkl@desk> <20240412035740.ojgvlqahqlm2umsx@treble> <20240412041724.gx6jtx7tpz2c7gbe@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: <20240412041724.gx6jtx7tpz2c7gbe@treble> On Thu, Apr 11, 2024 at 09:17:27PM -0700, Josh Poimboeuf wrote: > 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. Never mind, I forgot that got deprecated for AMD. -- Josh