Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2258020pxp; Mon, 21 Mar 2022 15:09:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxmg1ml0EaiVMnAGKm3Oi8adViNCx8nUejOMwZgQBVNPG/XR80l3A2W7LSNRFeXuBzMzAtP X-Received: by 2002:a05:6a00:a23:b0:4f6:72a8:20c7 with SMTP id p35-20020a056a000a2300b004f672a820c7mr25724745pfh.12.1647900579136; Mon, 21 Mar 2022 15:09:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647900579; cv=none; d=google.com; s=arc-20160816; b=FH4MJm7g+VoK3Xw4xCRYQwAsVxRKLybLR1UMvYFqO+5fNCRLOKNRIQj10IgBTnArns xUNxXMxJEgBrBYg4X4rYJ6KFWT6P3R76F6a4GasQPszptSVsGb5aDW1KruG/VOoL4BdY 7FEeq18xo7MoqfuHvqHmyHdsb8verET2L7pcD9BBvB2GoB7XNw9Iz3/LvWuk13lMVhff BD4YmTyG4xRiZxGAulNPCwhBQbqqt8eJBnuFzS95dGKLsxD63oT+pkH0Nqg262NivcHo 1z/KmmGv+0jHYXoLRG5KTRXXW6brgoH1wVMF2nnoLkAKMurq2BlxSPyhq62fuhyMQ+Ag lQDg== 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=NnKiq877eJoJdM0bW+oDBKydeQZ/gxkBgh4mUSGGJjc=; b=UZLbN+YdMMCEi4+DEfB2J2qScW+YkG71HY0GF/xfyuZarbtlfTYU2dyQNnfDqAE46u 1f0n7ysn32eLjj0X4Ymvax6U2ewj27EVfdodGR2qTEKnQUNvxlp+9heJ7f919O6YlhIb drgPC6uiy47I2SSsY1mZpwDxcNMirr2o/i6dD3zGcG/LIvk5ACUKGDUrzBIdLmf0DAOC 4d7JMyv8WIrMfconxiUOs3+tMvk2G4BBQek7UOBcT6KNSyKyC/v6qVt5twnPQnuVM3i1 eQQh6UQTxVM3EoSiCXG1Odex1ufFlqtOevuk12ttwAL2vA5xeZW1SKA6bsSH73cSJTWo vnfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=rITLnVXR; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id ba4-20020a170902720400b00153b2d16561si11184120plb.361.2022.03.21.15.09.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 15:09:39 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=rITLnVXR; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0CB1A31FBC6; Mon, 21 Mar 2022 14:29:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347737AbiCUNF7 (ORCPT + 99 others); Mon, 21 Mar 2022 09:05:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347733AbiCUNF6 (ORCPT ); Mon, 21 Mar 2022 09:05:58 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EA8C61A1D; Mon, 21 Mar 2022 06:04:32 -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=NnKiq877eJoJdM0bW+oDBKydeQZ/gxkBgh4mUSGGJjc=; b=rITLnVXR+nLCUAYEEuyWEOAmUK 9hZQKkkNZ6HFDhDHHhPTHvOgBAq88qtkCUqcbwr+l8sV6GMZpVcHhQf7M2gE0ks0bUJrh+s6HCjUu mqG/IU9A5RBQopza7dkwUJkOYcyWzB3T9xxzGyTBy9ndRruOkFUj4UAW1l6CZcQT4o1QLEONuP13v phbpc4uXdpL+qlqoZmO08K58fspwBmYxCChIYhvkagiKCwcdaK209gztVv9/4MfJvHJLfCfOVqKGE bf4cUAsQz1am4X1wIuugrpsZs+lTCjNIsMWR6d0p6rsle1JXpnN7xkovUgxpjf/lPZCtSF4EhfUPo iq6hjRkg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nWHhe-00AZy2-M2; Mon, 21 Mar 2022 13:04:06 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 9FA083002BE; Mon, 21 Mar 2022 14:04:05 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 842A220138DD4; Mon, 21 Mar 2022 14:04:05 +0100 (CET) Date: Mon, 21 Mar 2022 14:04:05 +0100 From: Peter Zijlstra To: Stephen Rothwell Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Linux Kernel Mailing List , Linux Next Mailing List , mhiramat@kernel.org, rostedt@goodmis.org, ast@kernel.org, hjl.tools@gmail.com, rick.p.edgecombe@intel.com, rppt@kernel.org, linux-toolchains@vger.kernel.org, Andrew.Cooper3@citrix.com, ndesaulniers@google.com Subject: Re: linux-next: build warnings after merge of the tip tree Message-ID: References: <20220321140327.777f9554@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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, Mar 21, 2022 at 01:55:49PM +0100, Peter Zijlstra wrote: > On Mon, Mar 21, 2022 at 02:03:27PM +1100, Stephen Rothwell wrote: > > Hi all, > > > > After merging the tip tree, today's linux-next build (x864 allmodconfig) > > produced these new warnings: > > > > vmlinux.o: warning: objtool: arch_rethook_prepare()+0x55: relocation to !ENDBR: arch_rethook_trampoline+0x0 > > vmlinux.o: warning: objtool: arch_rethook_trampoline_callback()+0x3e: relocation to !ENDBR: arch_rethook_trampoline+0x0 > > vmlinux.o: warning: objtool: unwind_next_frame()+0x93e: relocation to !ENDBR: arch_rethook_trampoline+0x0 > > vmlinux.o: warning: objtool: unwind_next_frame()+0x5f2: relocation to !ENDBR: arch_rethook_trampoline+0x0 > > vmlinux.o: warning: objtool: unwind_next_frame()+0x4a7: relocation to !ENDBR: arch_rethook_trampoline+0x0 > > vmlinux.o: warning: objtool: __rethook_find_ret_addr()+0x81: relocation to !ENDBR: arch_rethook_trampoline+0x0 > > vmlinux.o: warning: objtool: __rethook_find_ret_addr()+0x90: relocation to !ENDBR: arch_rethook_trampoline+0x0 > > vmlinux.o: warning: objtool: rethook_trampoline_handler()+0x8c: relocation to !ENDBR: arch_rethook_trampoline+0x0 > > vmlinux.o: warning: objtool: rethook_trampoline_handler()+0x9b: relocation to !ENDBR: arch_rethook_trampoline+0x0 > > Hurmph, lemme go figure out where that code comes from, I've not seen > those. Ahh, something tracing. I'll go do some patches on top of it. Also, folks, I'm thinking we should start to move to __fexit__, if CET SHSTK ever wants to come to kernel land return trampolines will insta-stop working. Hjl, do you think we could get -mfexit to go along with -mfentry ?