From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BBF1DC433EF for ; Mon, 18 Jul 2022 23:58:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233597AbiGRX6Q (ORCPT ); Mon, 18 Jul 2022 19:58:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235462AbiGRX6N (ORCPT ); Mon, 18 Jul 2022 19:58:13 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3B94220D1 for ; Mon, 18 Jul 2022 16:58:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=GLfIakM+1H7yYZALUgtMRVUgjJKW/GHjExdnRUryNsk=; b=W8azMje/ymwKQQcaOs1qLxG9lB XoEG93DrIVvQQHupL/dVdSnBanvR7r8VBgqfEhobiqsmrhdkBu9/dG4UvTGP9H1wkW29VBCwl/+si sV+NE77f5e4Vu5He2ePnNb97S459VEAlVz2ektdemo5vv1940WTYylk4veZybmVO2ttvLRivPfdYF LpIEzMLvLLEVH4zsrbsKPSD4EdHCOlKL0MRhsfTUzCndCecCWaqGTRzMZuWjG9gjGJiRrZSKcHL4L 6daYYLFidCPZIKjK6qygDBIVgnT/EjHDnbaNT+EuCcQWj0VERStKAtm6Ar82E6araspVvM8y9Y+02 iwjJYWXA==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=worktop.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDacc-00D9wQ-AP; Mon, 18 Jul 2022 23:57:54 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id D573F9802A7; Tue, 19 Jul 2022 01:57:53 +0200 (CEST) Date: Tue, 19 Jul 2022 01:57:53 +0200 From: Peter Zijlstra To: Linus Torvalds Cc: Thomas Gleixner , Sami Tolvanen , Joao Moreira , 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 Message-ID: References: <87tu7euska.ffs@tglx> <87o7xmup5t.ffs@tglx> <87lesqukm5.ffs@tglx> <2f7f899cb75b79b08b0662ff4d2cb877@overdrivepizza.com> <87fsiyuhyz.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 18, 2022 at 04:52:09PM -0700, Linus Torvalds wrote: > I also happen to believe that the kCFI code should have entirely > different targets for direct jumps and for indirect jumps, but that's > a separate issue. Maybe it already does that? kCFI is purely about indirect calls.