Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1592009rwr; Thu, 27 Apr 2023 21:52:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5n3zNdQ5WwJAymgstho4DYIwcaI0mCywB5uh+h2orrFGutOZnvr8wjPIuOJlS/MrJScHpm X-Received: by 2002:a17:902:ca0b:b0:1a6:4cbc:14dd with SMTP id w11-20020a170902ca0b00b001a64cbc14ddmr3229930pld.8.1682657547560; Thu, 27 Apr 2023 21:52:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682657547; cv=none; d=google.com; s=arc-20160816; b=HrHK4QlWvbZkyqtRof68iw6kt/5y0r4kHtPz2DOoH9ccIHDNPSkgJ/QP68Z7hvyhq/ YCVl1OO/qHu32xPu5aH5QhKyhryMd3KcDZTrStcSAG+ZONknRE4dpvZnEtxjYJiMPrHv TvCMWykiRYiglNQ6HgFyIxuxE3tf2cSf9QZY26Olm0RQTtm4UIO+ydh8eg89FnyIlRIx mbfHwmjReD/86NAidKtN43dE2zSu8kuJtKknODG6PyzygM4cyBJGcM5O3OpXvGGiTs+h mk+ui0PJK1yRzqyCvMDWAGVSu4QkcFY0H5P8sjMvRzLHuA2483VtJjxOVDSPj8rnDGnC zLyw== 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=9nTvlrOxTejwvobiyOb7Hyq3t7aPf9erfMJDjN39Emw=; b=zNubtnzMhlZn5Gz60mYvPoW++PCNnzaMtXmSVbqQMySO/bZJhtuZFHtKWA/3gB0rXt YOpSXsG2Lsbr4YIHEAK4waHkr+tAmUhKY6Nmn3N2pXCENrErPp6FTRrjQJ3o8tdHML/A POqO38QpkHfMV0AHD/NDQozWDUpdGB51mjP8yxz1Hbb5d1LlXQzcQzh1jXvXTFfVmHtS 1dSEBywRpeA0bWciOhUmYOGJT38UJJAsgbGU6y+FLrYmKTmXjfvBXFZdArKwCRjkhILF Y7ESs8K7FC/QDoKgIpcoDmsFKmTzGV8rbfSrM2Vb6Mpl0BOtD1SesVKLPqzOkBD/jmMY ig7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OclBgbQy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jw20-20020a170903279400b001a63bb1497dsi20277863plb.376.2023.04.27.21.52.13; Thu, 27 Apr 2023 21:52:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OclBgbQy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230350AbjD1EfY (ORCPT + 99 others); Fri, 28 Apr 2023 00:35:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229502AbjD1EfW (ORCPT ); Fri, 28 Apr 2023 00:35:22 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C5BC9E for ; Thu, 27 Apr 2023 21:35:20 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2E17463F67 for ; Fri, 28 Apr 2023 04:35:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64DB7C433EF; Fri, 28 Apr 2023 04:35:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682656519; bh=m7AjJFVjT3PRLk++klDfbqigGbfinbYBjJ+9H3wDadk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OclBgbQyPgCHFpC3i01kIq2JVk6KWU7mnrn6hYE1y+LYO4pHkNCqqPMEV6ijlqF+r UyxN+nNJ4c7gY0EDUK4JwySf8sWfoDgujprstmLMn/eS+EZpyn1a9A+BGslmC/nBjh o64PxswOBczyQr9D+EJqMJJj7t29i2V5UcxYkEVeWG3pLg0Ny48fqWB1ks8OBaaL87 I9Z82bKHuE58hEB4oXyOcoHnJV3b/L82PaXJj6sPI9jgTKP8LKCgupu8mcMBVx/TSV YbciP0hzR3sy0Gl4p+LEh8P8jDmyV5TkQwqfmeTVAS+nd1EonmPXNrgiiqWSE83OxA 6xjY5+puKbMXg== Date: Thu, 27 Apr 2023 21:35:17 -0700 From: Josh Poimboeuf To: "Paul E. McKenney" Cc: Borislav Petkov , peterz@infradead.org, linux-kernel@vger.kernel.org Subject: Re: An objtool warning from mainline Message-ID: <20230428043517.h5x4jkx2k26jyqoi@treble> References: <02bd36cf-b2b8-4634-a70b-1476420188c8@paulmck-laptop> <20230427091421.GAZEo87ezQPLwLKiPF@fat_crate.local> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Thu, Apr 27, 2023 at 09:55:41AM -0700, Paul E. McKenney wrote: > On Thu, Apr 27, 2023 at 11:14:21AM +0200, Borislav Petkov wrote: > > On Wed, Apr 26, 2023 at 04:50:49PM -0700, Paul E. McKenney wrote: > > > vmlinux.o: warning: objtool: exc_nmi+0x2b3: call to __const_udelay() leaves .noinstr.text section > > > > What does > > > > ./scripts/faddr2line vmlinux.o exc_nmi+0x2b3 > > > > say? > > $ ./scripts/faddr2line vmlinux.o exc_nmi+0x2b3 > exc_nmi+0x2b3/0x3c0: > exc_nmi at ??:? > > Which might mean something to you, but does not look all that helpful > to me. :-/ This means DWARF is missing. Can you enable one of the CONFIG_DEBUG_INFO_DWARF* options and try that again? And yes, we should improve the error message for faddr2line. -- Josh