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 X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 62462C4363A for ; Wed, 21 Oct 2020 09:21:56 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C1D6121D6C for ; Wed, 21 Oct 2020 09:21:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="QjsnBtsA"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="rtIa9spk" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C1D6121D6C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=HKu44EG/uaB1Rf/o+V7XUahKswPEofE+samnRhofqDM=; b=QjsnBtsA6l9IeM2UK9MfzoElE 17Z8Jq24WV5fsgv3Kp9p5C34cZmN+3PU7+2k5EhydCYG1s7CSGyT9G0PIdGYot3Orq3bV1Rj2EMK8 NiErgiMzYNngrmFDdz0wDVjQrrlTEgEXK6Lqi0PUxnwckaCuXRscARcU6NAxfa7NVe0B/4vQCgT2i GUIjyAqg+GOF7a84Rk/riKOKWTIeJ0ygGhXquqn5g2AMg9RbhsRChV0p31VNVho+qzVgFtqXFhbUu 4jL/0HeICNxX1D7onl/D6wa12q9wSBBZUFcakEkg492OSLIK5nYtWuh5GMtP/8EvcMT/Vrimpfdgx UyqslNrOw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kVAI5-0006FH-US; Wed, 21 Oct 2020 09:20:17 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kVAI3-0006Es-8N for linux-arm-kernel@merlin.infradead.org; Wed, 21 Oct 2020 09:20:15 +0000 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=eb1OL+P4JmUK1jhG+vTVWpbKbq0qkyHl8thry52FTQA=; b=rtIa9spk+eGaALa7gNwT0CJsKK NjlQ0TaZClui6FNLaSH6sH410ckUEAUgWngz6KlxlBPFXfRsleXkZnz6ehdTlmAjGEDZ54LCQKjzW mVkO6Qrz9t1ONh71M5vaOQ5etGEYUyqKkVWOoiOoxp1OWMTTQymeYA9Bq+58R1K92TY9eQDNJBhMo j3j5B91C/arUdOUsfw/WJeofsIebuUbqnXHmWhjxv5BqEQh/x/dq8CROgLXRvJ7hEs8U3WUEjTr3U sxRZjkXGtDIhLFLuspHPnxp/ilX5Zbg6Dkuh7PJ6uq/ocHYjHiAPX19862wtZObxjvIsngNw8WzZa ycCtxeZA==; 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.92.3 #3 (Red Hat Linux)) id 1kVA6W-00026P-MZ; Wed, 21 Oct 2020 09:08:21 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 7B5E2304BAE; Wed, 21 Oct 2020 11:08:17 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 6997B2BB99C35; Wed, 21 Oct 2020 11:08:17 +0200 (CEST) Date: Wed, 21 Oct 2020 11:08:17 +0200 From: Peter Zijlstra To: Sami Tolvanen Subject: Re: [PATCH v6 22/25] x86/asm: annotate indirect jumps Message-ID: <20201021090817.GU2651@hirez.programming.kicks-ass.net> References: <20201013003203.4168817-1-samitolvanen@google.com> <20201013003203.4168817-23-samitolvanen@google.com> <20201015102216.GB2611@hirez.programming.kicks-ass.net> <20201015203942.f3kwcohcwwa6lagd@treble> <20201020185217.ilg6w5l7ujau2246@treble> <20201021085606.GZ2628@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201021085606.GZ2628@hirez.programming.kicks-ass.net> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arch , Kees Cook , "Paul E. McKenney" , Jann Horn , linux-pci@vger.kernel.org, Greg Kroah-Hartman , Masahiro Yamada , the arch/x86 maintainers , Nick Desaulniers , kernel list , Steven Rostedt , linux-kbuild , clang-built-linux , Josh Poimboeuf , Kernel Hardening , Will Deacon , Linux ARM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Oct 21, 2020 at 10:56:06AM +0200, Peter Zijlstra wrote: > The "falls through to next function" seems to be limited to things like: > > warning: objtool: setup_vq() falls through to next function setup_vq.cold() > warning: objtool: e1000_xmit_frame() falls through to next function e1000_xmit_frame.cold() > > So something's weird with the .cold thing on vmlinux.o runs. Shiny, check this: $ nm defconfig-build/vmlinux.o | grep setup_vq 00000000004d33a0 t setup_vq 00000000004d4c20 t setup_vq 000000000001edcc t setup_vq.cold 000000000001ee31 t setup_vq.cold 00000000004d3dc0 t vp_setup_vq $ nm defconfig-build/vmlinux.o | grep e1000_xmit_frame 0000000000741490 t e1000_xmit_frame 0000000000763620 t e1000_xmit_frame 000000000002f579 t e1000_xmit_frame.cold 0000000000032b6e t e1000_xmit_frame.cold $ nm defconfig-build/vmlinux.o | grep e1000_diag_test 000000000074c220 t e1000_diag_test 000000000075eb70 t e1000_diag_test 000000000002fc2a t e1000_diag_test.cold 0000000000030880 t e1000_diag_test.cold I guess objtool goes sideways when there's multiple symbols with the same name in a single object file. This obvously never happens on single TU .o files. Not sure what to do about that. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel