Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1276458rdb; Fri, 9 Feb 2024 16:49:15 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXkiWa7pu987L4Fno+0HoDEsa1rHXrgU3/s2glATRVLCLwg7LT/lEJakWkZxLCaFU7VAHi18mutXD/RWVdXQNnJ2TRfQVvFwVQVUHAYnQ== X-Google-Smtp-Source: AGHT+IEQcZLecQEwio6pxAy+1DQpiQFbsTFxP9I0lzKgPlU1BKLo9Atemoh5hvdIl8PiziOFOnHK X-Received: by 2002:a17:90a:2f64:b0:296:ee58:646a with SMTP id s91-20020a17090a2f6400b00296ee58646amr566367pjd.25.1707526155191; Fri, 09 Feb 2024 16:49:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707526155; cv=pass; d=google.com; s=arc-20160816; b=My/DYh5DGifTXhu0uos8kvr6Aht6PLDxNOoFa3K4oofOE43t22DhP+RP9XlXBkxHlm 3eZhKGHeeIUmcdHeScpcaOlv06Sjbpvnnmj/lc/WPT492mjxK5qsea/7+XGHaCvKUqqa PCk+tG5kkGZn/a38J4X38tP/t4a0cV7yY4Ec/U/Ly7rTVeea4W5ufr/n5JRIU9pWoPH+ 0XUTATZILOPK+ncxzSyMVJtSNgOiegPtv4DZMhthSKHO7nk6jirtLEAzNMRaYMGxu84Z TJW6bD7GrdB13jsd4yvdv61mpqlzzF7yXWjA6x2HCHvMrBuxouUxuLznijXmo6WTKQ/J ngLg== 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=nPIRR52V4gCoztuDZkIyetgt2SutAbGIqGTSzLEy+xw=; fh=9MTyfnhjIdFHqvmSAC+CDtfQMxrpNcnAiK+0jCh4F+M=; b=xonjPqBj3/0vjPbhsfLwVPrvEU54jCLt9T7/XAenpqUQqmXP+8EfSabL0Nwu4mBHax KKCpVs2WF9BSl8DcLu0bUju0Y6yC2ufNfe/lQhBCGTxBa9IFxIQ0TGqPjuiRkfcrkszz ZYLcx2g3/QIJud1BgF7v76n5AG7O8DU8BpKVQ7L0enQ+QbrknjgjVGcAkXSYmMjNCBa/ BeIB+zHyb5yD8ev4Rvw2kq5TWVIik7LyjwbeZ8fKA2s/Kt7Ip680DJShN/woMVjO5sbW LGQDwCmFFznuvCWxqfaNucF88zOOCg3F9DvdzWRIq0eyz5Ct+GwourTwnwwU8ng4ebVr eSSg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DTK3tS+4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-60197-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60197-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCUM2GQuoE3+7czp282paFYRhLx60y2NzneiU6q7I61xPJfK3ovgH+CuSIWAXOTgXjH73sleUOPntJsH3x5y/cPpdLUkKj+/s4dBYRGJVA== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id pg3-20020a17090b1e0300b002970d9a136asi1630652pjb.65.2024.02.09.16.49.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 16:49:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60197-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DTK3tS+4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-60197-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60197-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 5E7E328E29F for ; Sat, 10 Feb 2024 00:43:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4C4201FC8; Sat, 10 Feb 2024 00:43:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DTK3tS+4" 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 72CA063C for ; Sat, 10 Feb 2024 00:43:31 +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=1707525811; cv=none; b=BS2R4VW4V1/Ps36cFuMG4JaVtrBRWUei8zqK0juxhLchl+hpBl6Qh6q+RP7mcJk4iWSC2if8prL2znDYPnRmcH5e37VbkqS2m2YflatMPWXst0kiu0kcIIu53MK6dpHB6TvGJX4zp8qrzknqt86JY0Ns9H9+IWeGesNtRVgJp+c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707525811; c=relaxed/simple; bh=vneO9qhwWCzEpkKUOYOluMuEQWm5lUI2J3SjCud0dtI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JTN9t98NWGkdtUG88S89KJot5soUgu+n1Ic+RHcRTaDjFMPjisOk0M0a7VTJkf5E+BJ0kMKkvjh7xpTqZLAiUBDQ/zY4wNeyfoHDaDiYjzPKjr3bkiMNrRQaROEYd26E+if8xClq1JuXb28awHKxEzqvODNH+4UkiB6Yikjn+Wc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DTK3tS+4; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 55226C433F1; Sat, 10 Feb 2024 00:43:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707525810; bh=vneO9qhwWCzEpkKUOYOluMuEQWm5lUI2J3SjCud0dtI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DTK3tS+43IRwB1i6EEl82pbaR3A9W1XTQ1S73bOCO/yoPkloe60/NCDFw6pwuTqLd UWWZYkS5YavVqdfWnGuEzq9oc0FWWd3b4qx8hDtTIHpiQc8GdaEaTCkAFNVdChhHte DozcZkcXktjPfMxaI7virS7zOZSSAUpPi6COGk6OFBpJYm40LtONDxtq5lg0K+Lg7i veJBnyK7PbI90huW/wrb3RIZZF0FRCksCiawU0BYs2cj2IQQ51zKhd2+cXzLY/jdfB 5uArnLaQrqlrxdmtBAAUjqvwkfdKw9zk7MaEqbTSEYZ4JKqOvCmKRequcPZ9rnh1VT WsOqexaUj+24g== Date: Fri, 9 Feb 2024 16:43:28 -0800 From: Josh Poimboeuf To: Pawan Gupta Cc: Thomas Gleixner , Borislav Petkov , Peter Zijlstra , Ingo Molnar , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Daniel Sneddon , antonio.gomez.iglesias@linux.intel.com, alyssa.milburn@linux.intel.com, andrew.cooper3@citrix.com, linux-kernel@vger.kernel.org, Alyssa Milburn Subject: Re: [PATCH] x86/bugs: Default retbleed to =stuff when retpoline is auto enabled Message-ID: <20240210004328.n7uxevxfiqr3gsot@treble> References: <20240208-retbleed-auto-stuff-v1-1-6f12e513868f@linux.intel.com> 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: <20240208-retbleed-auto-stuff-v1-1-6f12e513868f@linux.intel.com> On Thu, Feb 08, 2024 at 05:12:15PM -0800, Pawan Gupta wrote: > - * The Intel mitigation (IBRS or eIBRS) was already selected in > + * If Intel mitigation (IBRS or eIBRS) was already selected in > * spectre_v2_select_mitigation(). 'retbleed_mitigation' will ^ should be a comma > * be set accordingly below. -- Josh