Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2291066pxp; Mon, 21 Mar 2022 16:03:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZ8pFTHCtv14dvj/kZpkL3v+QVmNO8DP5JT6RP1XLqQfQT0Yo+Uuw1ZMI3H4tGVum22Xu9 X-Received: by 2002:a17:90b:1d84:b0:1bf:674d:2db5 with SMTP id pf4-20020a17090b1d8400b001bf674d2db5mr1568776pjb.8.1647903809792; Mon, 21 Mar 2022 16:03:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647903809; cv=none; d=google.com; s=arc-20160816; b=o42FVz3rfnWYGirMG9pUx3KAadqk4zlPxduNZpLiqy4pRzxSAsSevZ9keQYdYXN78l s8xSGmLEHny+CaDEiqsogKaAK1AK94URcHm6msCz9gBkJF1WZ+UXjQEtCwhO7fJL/IH7 VWlV/lkixr2ELIxwTt0RDyDN2/IA6E14811022pxo5i5PcWp2JgUUvoZSUMuklt7XLD6 vYMFO55oSX0HTumghispI8gvm5i45f2PwtGBhtZ46AKxYR36TWTlCZ4i1J735KwVDIBk J/ETkwZSeBASeUOrotwNoEnKAfRdfOCyonnl220ePobwbuvJAR7mVO5vIXZLCE0aU3ia ZnWg== 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; bh=zjVW2BhEs9JPLMFpyXw/qAQ3dU4h4OAoQGmQ7MhdIOk=; b=0dvkeftCl/JJItPjk9R+GZ9Ap3tvvMbDfD3I8Tb0pawHCxiXedwpDfloTA/GEr2CNT fpWQQSoMW5WTtP4lS6hkYL1jiVWri4dSEpPV82FmR/nST5y7gAznh5P3glmGxdRwwIPJ 3Srf0bTeJICrwNL4GK03DWv8zDNxvEzP26HNJMazkt1w9+IEfiVU58ziMacRgOhAx1hQ Rk4HgIX9A7yh2Xm4fMk5mfMUfEGSPs+vMoA4Xqe6z/yyFXgZPiDr1SDYOsMS68KeeyHI efdbtegBECb5E+Aj/01TqP6SwvsmnD+Sh/elcKtM13nfo+OkGmdiA8moNwqgS2rK+hn4 6Juw== 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:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id o62-20020a625a41000000b004fa3a8e0008si8516699pfb.191.2022.03.21.16.03.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 16:03:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 712122CA47C; Mon, 21 Mar 2022 15:02:02 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349024AbiCUO3F (ORCPT + 99 others); Mon, 21 Mar 2022 10:29:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349182AbiCUO1S (ORCPT ); Mon, 21 Mar 2022 10:27:18 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8DB8D60FC; Mon, 21 Mar 2022 07:20:02 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6A2F01042; Mon, 21 Mar 2022 07:20:01 -0700 (PDT) Received: from FVFF77S0Q05N (unknown [10.57.92.118]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D798F3F73D; Mon, 21 Mar 2022 07:19:58 -0700 (PDT) Date: Mon, 21 Mar 2022 14:19:53 +0000 From: Mark Rutland To: Peter Zijlstra Cc: Stephen Rothwell , 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=-1.9 required=5.0 tests=BAYES_00, 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 02:45:16PM +0100, Peter Zijlstra wrote: > On Mon, Mar 21, 2022 at 02:08:23PM +0100, Peter Zijlstra wrote: > > On Mon, Mar 21, 2022 at 02:04:05PM +0100, Peter Zijlstra wrote: > > > 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, that x86 patch has never his x86@kernel.org and doesn't have an > > ACK from any x86 person :-((( > > Worse, it adds a 3rd return trampoline without replacing any of the > existing two :-( Likewise; I have the same complaints for the arm64 patch. I haven't had the chance to review/ack that, and I'm actively working on improving out unwinder and the way it interacts with the various *existing* trampolines, so adding yat another is *not* good. > Why was this merged? Likewise, same question for arm64? Thanks, Mark.