Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3953578imw; Mon, 18 Jul 2022 18:17:53 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ueBzNfU0y0U9LPKnDWBJQVjmoWv1LHUkWKjno5UGn4W24svPPEJs/TxwMmgZzH05ApXdRm X-Received: by 2002:a17:907:971a:b0:72b:6bab:abc2 with SMTP id jg26-20020a170907971a00b0072b6bababc2mr28249638ejc.551.1658193472763; Mon, 18 Jul 2022 18:17:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658193472; cv=none; d=google.com; s=arc-20160816; b=hlu+pogyAyX6S/7gDEBu71HgvAEC/KxZV44pYpCAUfRSxlZCwotUgqWvKlKcFgiZXB 0RiprQM1y2fOlllhpI1JC6QgopWWakHFBiHq8ZqbHzmTE2SRzRmUP3w7krIj8X4d2iHM hPIPNzNL7YJzC5yPUOc2RIt1KpeWTK9iw2y8UcphG7gpj7qNBj2GSVmvwVJhb6wxSsAP liNcuK9l14i/iMk3Ty+Di23Ph1vUQC2bMIyBE71Yu8Pilz/9LKegTVqwOGe1VKFU05TG /UwkShRvRcDpLC910HUgimH/YLfrdJ6Cn3Sj/tAw6f77dHWhte4/GOt0qHejH7cMQzfN jqHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:references :in-reply-to:subject:cc:to:from:date:mime-version; bh=Hqai0paVM5V+gNv6op27NNAj0PXrUZkaolU6G2fuons=; b=VGEJuGdmOcNUPH/qsK1hG4onmE38hgFIbgYpJUrx9QQEdJzuVnxbveE2U3UA/zmEzp I+THlqEJocHzrLykmPLSYMjLbxP+NuhyR067eLLZzg3m0avu5lly85126HphxWT5j/bw 6ZUHt6kdDhcGpFDFQcqxyOWmYkvCMZj1I80ImdgDYuc69cMlnC2S5pdp2rq9V+jSNzka 8ORf1c6uBe9sJdg2geG/UEiTvL8TIC4nf7N7/qCCjtqURNMC5VxXbdYfRdK6DlrTZLCc EF3Rvd3KGR6OJDHgWcPvM6w7GRiDsD34arF0d35mPmeFBJHCrJ3EEX5+CxQv3Jvy47+T PUdw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id zc4-20020a170906988400b0072677faec75si16637563ejb.872.2022.07.18.18.17.28; Mon, 18 Jul 2022 18:17:52 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229884AbiGSATY (ORCPT + 99 others); Mon, 18 Jul 2022 20:19:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236835AbiGSATX (ORCPT ); Mon, 18 Jul 2022 20:19:23 -0400 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::223]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BE6433348 for ; Mon, 18 Jul 2022 17:19:22 -0700 (PDT) Received: (Authenticated sender: joao@overdrivepizza.com) by mail.gandi.net (Postfix) with ESMTPA id 2FE6560007; Tue, 19 Jul 2022 00:19:13 +0000 (UTC) MIME-Version: 1.0 Date: Mon, 18 Jul 2022 17:19:13 -0700 From: Joao Moreira To: Linus Torvalds Cc: Thomas Gleixner , Sami Tolvanen , Peter Zijlstra , LKML , the arch/x86 maintainers , Tim Chen , Josh Poimboeuf , "Cooper, Andrew" , Pawan Gupta , Johannes Wikner , Alyssa Milburn , Jann Horn , "H.J. Lu" , "Moreira, Joao" , "Nuzman, Joseph" , Steven Rostedt , "Gross, Jurgen" , Masami Hiramatsu , Alexei Starovoitov , Daniel Borkmann , Peter Collingbourne Subject: Re: [patch 00/38] x86/retbleed: Call depth tracking mitigation In-Reply-To: References: <20220716230344.239749011@linutronix.de> <87wncauslw.ffs@tglx> <87tu7euska.ffs@tglx> <87o7xmup5t.ffs@tglx> <87lesqukm5.ffs@tglx> <2f7f899cb75b79b08b0662ff4d2cb877@overdrivepizza.com> <87fsiyuhyz.ffs@tglx> Message-ID: X-Sender: joao@overdrivepizza.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, 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 > The extra instruction is likely less of a problem than the extra > register used. > FWIIW, per-ABI, R11 is a scratch-reg and should be usable without hard consequences in this scenario. Joao