Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp672271rdb; Tue, 15 Aug 2023 08:34:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEgX+1ofnjo0jz2A+5goINuYX6JhTx8mYYJiQic7WDEDYRleznBvHacujrE6Ob+r435lvnC X-Received: by 2002:a05:6a21:3285:b0:140:f6c4:aa71 with SMTP id yt5-20020a056a21328500b00140f6c4aa71mr17781702pzb.8.1692113674853; Tue, 15 Aug 2023 08:34:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692113674; cv=none; d=google.com; s=arc-20160816; b=uCrmbLxBNd2pn6kofXoLZ8JbBWDiMR8HzYXZzsgdIDF83Blo9Zh+bN9ydnitjzOiMq Z0RCTKTa5AIsvqQnLh+NfcNC3vTmrEGuYt4vIIfuKIDaj5sCNJ2+vPBbIsIhIShxX27p m647JJaTsO39Gc3Rg5i1hlxlAZoZ39uAnkunx06FyjmGpzOF4XvaxfUkbv0Llv9FTv1J VYySIjlfo84r2cr0131KV0CIQPoHKxdB++I0j/5nsgxfVW2cZcx31rSI/D89KtZ/p9yF erMOJ9+DTyQdTWkoodeYypY0M2ePXgerpFjWeDKaOjGcfWUsBubSQS4gPoxbNrDLu+Ks LqQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=1ei19OiPpJWeYEvfPkPPYRuwxXx/bBbWO7mxhncwiwM=; fh=/sA5ooEYqNdfM4taEgdxefOPT6lYGiFjFvIiOIIzTys=; b=N4aRTghG9lox4qBFFzpCr4zPC4pfYUzg2kg//y+p4BxnX1TWNH2UUTxsdJB7+5j2bV rrctN5P1Tfln+G4ZzB+5WpJSxGirsuB1U4qhYUzBdJCxLlZSNteGTlCY8Ko6lOTyh9tX ScZFHULi8K/ZGjGYZOsdQWswLCT2rDYWMcvBfbcK54zgCVuw19Kw1amO6YjClSmAh0z7 /9126lPForh4qjRmn7IwGoEb5Fh7iyNVMZYQ9upq1NDGa3kSm5EMbSKDcwetc86ghpeR Otx09K89G6341Dt45v2mdPPDeJSlX9JSewkMhinwKbCCZve0IkG8ESmFwyc5w/ALBPAY SJKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XB+yj6dl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c4-20020a6566c4000000b0055c7da0216dsi9992415pgw.635.2023.08.15.08.34.21; Tue, 15 Aug 2023 08:34:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XB+yj6dl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232220AbjHNTmH (ORCPT + 99 others); Mon, 14 Aug 2023 15:42:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232269AbjHNTlq (ORCPT ); Mon, 14 Aug 2023 15:41:46 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74BC11703 for ; Mon, 14 Aug 2023 12:41:43 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0A61960B20 for ; Mon, 14 Aug 2023 19:41:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2EBD5C433C8; Mon, 14 Aug 2023 19:41:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692042102; bh=zl2aOJRJj+dpNouyUBlstVWJhNFR00w6HUQepUo3LMY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XB+yj6dlB9Qk23gj4kugltY4YQy2EidoUs9/GiEPgfKHj5zM1ZxbvsygeLYzpwo2I MUsxiYfLEIxBte4o3Ay5Ij+c4Rcoyu+px3iVF0WJKvpz4s3SN1syMJp14CJZqfTuEY naFJAoUsPVkuEt0T9q03olPmGqT1S4BU+pyI3JQj9e2+Tg5FYafFS1Hw1Rmjc+elHV JQF5eP5VQHQwWgmd0kQeaL5K4k3v9Kqnhdw9wBHbKwvIWMhtHZbbtt1HpvP2BrvCBI Y+HHBsfC9jprOyiOmjug5fHnR4NNl+jecbaHl1oozpaAQN947Yik8y4Sk8zJWp29YH svicVnDL2NsDw== Date: Mon, 14 Aug 2023 12:41:40 -0700 From: Josh Poimboeuf To: Peter Zijlstra Cc: x86@kernel.org, linux-kernel@vger.kernel.org, David.Kaplan@amd.com, Andrew.Cooper3@citrix.com, gregkh@linuxfoundation.org, nik.borisov@suse.com Subject: Re: [PATCH v2 06/11] x86/cpu: Rename original retbleed methods Message-ID: <20230814194140.xcehjmyt5bkzgeui@treble> References: <20230814114426.057251214@infradead.org> <20230814121148.909378169@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230814121148.909378169@infradead.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 14, 2023 at 01:44:32PM +0200, Peter Zijlstra wrote: > Rename the original retbleed return thunk and untrain_ret to > retbleed_return_thunk and retbleed_untrain_ret. > > Andrew wants to call this btc_*, do we have a poll? It should stay retbleed because: 1) It doesn't mitigate all possible manifestations of BTC. It only mitigates BTC-RET, aka AMD "retbleed". 2) It should match the naming of the user interfaces which aren't going to change at this point. -- Josh