Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2234822pxp; Mon, 21 Mar 2022 14:33:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFOlyJvfULIeWbLxxFVFKWF5VJ9DCfS9+XllpMSfdSPUERVHo12A08jVtCr2ElTkR34YN+ X-Received: by 2002:a63:7701:0:b0:382:7f20:5f83 with SMTP id s1-20020a637701000000b003827f205f83mr5754533pgc.163.1647898422997; Mon, 21 Mar 2022 14:33:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647898422; cv=none; d=google.com; s=arc-20160816; b=mW9be74F8ro9DSzdpoNqTobGsmUDA5u4UBgMpNozh/kn3F9XwoUy90sFfG7WoKJWrP tb+iSoFF6/bHANLemiGWpQqoIKWcYPJoNm1HolcdrEafyevmKRRWUVmtA6o8191iG+1R 5Lr+9Fsdo3fgGa+Qn5PlGB1+fHiAAphlBLu7p6TCXazIumerAki31ZASl5SCQpb5Uzf/ xim/unuX8qSHRZySJ5D309z2wj05Xa2c8KJ24YpFtM0u3E8cAoG2ySqg75ovBo09aFod mnSC0mwLgV+bhU7i2QFQ2pGgfi/bbEdhEcvrqGlENbe3PuRFTj2tJsMh009/BhAvCpl3 PQtw== 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=UyKGNPRJVlIvheq4jU1rLk5JNu+mEKTOtDjzTm/ZAJI=; b=TMpKJ6ng9EeawaPZozx9TrMcVKW0hfps2BH1k8q97FGSzgyJGiZdO69NX6qNnVdMKY T5lXBFvtgnxqkqaVcU9EFPBOXk8FYF83nPoQUxy0/fi9rl+CqOehfVCXFvCjS71/hNJp MioLkig+lH54wOE04xHUOyaWUA5LFnevzWoJBCe/BaWH7MJAQhpKie8wrMyPAl1PmA0G nIvK6FpP9NaFnMbyvz6HzGLId4zpryKlYQJchJdZ1zlXoMNKbmzBE6Xg3wq2XEf3R2Wt 9KpiKonDIIjdVzxcDNOOrUz5lPEoSJwrVtQHR893qCeXBMmusYD3hy2UZD+OjguX5ti0 zHmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=IqMbTkNP; 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 Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id f10-20020a170902ff0a00b00153b2d16407si11186408plj.15.2022.03.21.14.33.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 14:33:42 -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; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=IqMbTkNP; 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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 15DD2243724; Mon, 21 Mar 2022 14:12:25 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350235AbiCUPaK (ORCPT + 99 others); Mon, 21 Mar 2022 11:30:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238242AbiCUPaI (ORCPT ); Mon, 21 Mar 2022 11:30:08 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E12E1BEA8; Mon, 21 Mar 2022 08:28:39 -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=UyKGNPRJVlIvheq4jU1rLk5JNu+mEKTOtDjzTm/ZAJI=; b=IqMbTkNPmyDhOp01Kt71uKWkRG pTXa2lvC67MwA8fCnHFDUh23ZO8um8PQZrjGj8iJ7hheZ5pfagN0CWwZFezN+0WPouSHIyZ9IswxZ GS3IGKrQbooHa39gGIsfANvHEuVB6jHmq77PSzvIKHi2eVk2es7DX5Ao3DnkQ9yi+7FqwEzrWkeAy byunx7F3df7RXr+qj/6to68s3OFwMRsnfa2mEkfMYcpcPCC3rLAl+lfKAxU9IJqoIbu0+098cJX6U GF1w5NMXwTn1CYRzH+bWQ7WGkUJbpQszoy64K+EbNXXgSnDZ4m9jq8TdybvlIpb94Oha01g9c5H4D osVe41oQ==; 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 1nWJx4-00AhJS-Is; Mon, 21 Mar 2022 15:28:10 +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) server-digest SHA256) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 966373001CD; Mon, 21 Mar 2022 16:28:07 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 6FE3C203A88CA; Mon, 21 Mar 2022 16:28:06 +0100 (CET) Date: Mon, 21 Mar 2022 16:28: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 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 :-( > > Why was this merged? It additionally gets ret wrong: vmlinux.o: warning: objtool: arch_rethook_trampoline()+0x4a: missing int3 after ret and afaict regs->ss is garbage (much like kretprobes it appears). Can we please unmerge this stuff and try again later?