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=-8.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 217D9C433ED for ; Wed, 7 Apr 2021 19:44:00 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 8FDE16113C for ; Wed, 7 Apr 2021 19:43:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8FDE16113C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc: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=NXwMMsK/mZdgxpWy7h67I49yz0ijV369hB7hwFGcZAc=; b=HQNcZ96bLeRf8TQ56y+JSe3F/ 21/SNUO/eNNUQs3m4ALkhhHW/8fcC4HLlGfnykZcd2APwlgDy5klUKDQo68H81Xk8UIyQAkQWguQv 98kzR21ItWOQ+JAFj2og10cUkbeqyUtdu7CJjGB//8t36p6DMorqBvgBFFI/8JvY4mPFAKj4Birt1 x+P4FrasXB9/kfyKW0tPXsU6NBX21dkTKhMq2ReSzFcdSwZooQV0yn3dvxyJRMdlRKGxmIGMqWqox /+epIXDCGfGXVEdOclsV1WwupWzMfyTXPLLBmh4dgQKYObqEYSoQa81CF6RMTTG7yCJYs9cB8PP4C quNTWb76w==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lUE3o-005rRC-7I; Wed, 07 Apr 2021 19:41:56 +0000 Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lUE3i-005rQA-5g for linux-arm-kernel@lists.infradead.org; Wed, 07 Apr 2021 19:41:52 +0000 Received: by mail-pj1-x102d.google.com with SMTP id o18so271209pjs.4 for ; Wed, 07 Apr 2021 12:41:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=wjpLZJAP8ODkOI6RVsD0JKJ4FjWnlxV4QLszMGiVHq4=; b=QsjUlY5xevUJL2fig0Uj27ongzXDSYWEdRrCtN255vUmp5nzlGeZTRVFOzToOjCMI1 igt/QNjRwruaIY60+d9ahn3OAgeLDvOGqyzU0IrxBiheKCA8pf2Djr6HpvjUwpTcLrGM JSmXg6kQS4e31TIrsh4Mf5kmwAcKB45lwURzg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=wjpLZJAP8ODkOI6RVsD0JKJ4FjWnlxV4QLszMGiVHq4=; b=MA2X3HQGKh1sdH0zk2boZwcsPgq/90L6TTYu/J32jWGh/xSDLN1y79IGZpo/mgGoNp UOgkRiLPF6tXcf7byS5diNIA7RrOh6HRx2wq97taj4E14xiX5CG1GOWPxGGHJyfFmQk1 Mqo7gtOb15mcNkIxM8kSTn/+DKk51WqwnyeaRKgnAlN6W3B0TsW6oZH+98RJPnCfsbsm T4jXc63PMY9VR9KvO4qhhNfgRCdhHN4w+zyJYfpHyL9hr6+/JYUi1VXQHSq3QeWEJ2wj NCcpq3U/uRQpVU1HR4KwWlVbxbVCmw1yKS6BFRMnm1t1NjzRGYO+nsABGsoA80/op85x ujHg== X-Gm-Message-State: AOAM532Awk5xGyawl6I1qA1qbWTXUF6xS2na57U5v/nQDeOVs6OY6iv0 mZOKTZgYsYFhY/lsxtNrz2pejw== X-Google-Smtp-Source: ABdhPJy3YzHzlbtgHWUicyJIEw+XU2sO1OtxQtdU/87LiMH3Ry9/uvmuw5PuhceWShum7fd7hdFxSA== X-Received: by 2002:a17:90b:1490:: with SMTP id js16mr4638576pjb.131.1617824507237; Wed, 07 Apr 2021 12:41:47 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id q95sm6017353pjq.20.2021.04.07.12.41.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Apr 2021 12:41:46 -0700 (PDT) Date: Wed, 7 Apr 2021 12:41:45 -0700 From: Kees Cook To: Nick Desaulniers Cc: Arnd Bergmann , Masahiro Yamada , kbuild-all@lists.01.org, LKML , Ingo Molnar , kernel test robot , Linux ARM , Linux Kbuild mailing list , Miguel Ojeda Subject: Re: arm-linux-gnueabi-ld: warning: orphan section `__cpuidle_method_of_table' from `arch/arm/mach-omap2/pm33xx-core.o' being placed in section `__cpuidle_method_of_table' Message-ID: <202104071241.DDD60D1B49@keescook> References: <202104071815.lq85YO6c-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210407_204150_472461_7E88B940 X-CRM114-Status: GOOD ( 23.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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, Apr 07, 2021 at 11:28:08AM -0700, Nick Desaulniers wrote: > On Wed, Apr 7, 2021 at 11:23 AM Arnd Bergmann wrote: > > > > On Wed, Apr 7, 2021 at 8:07 PM Nick Desaulniers wrote: > > > > > > On Wed, Apr 7, 2021 at 3:52 AM kernel test robot wrote: > > > > > > > > Hi Kees, > > > > > > > > FYI, the error/warning still remains. > > > > > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > > > > head: 2d743660786ec51f5c1fefd5782bbdee7b227db0 > > > > commit: 5a17850e251a55bba6d65aefbfeacfa9888cd2cd arm/build: Warn on orphan section placement > > > > date: 7 months ago > > > > config: arm-randconfig-r033-20210407 (attached as .config) > > > > compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0 > > > > reproduce (this is a W=1 build): > > > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > > > > chmod +x ~/bin/make.cross > > > > # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5a17850e251a55bba6d65aefbfeacfa9888cd2cd > > > > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > > > git fetch --no-tags linus master > > > > git checkout 5a17850e251a55bba6d65aefbfeacfa9888cd2cd > > > > # save the attached .config to linux build tree > > > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm > > > > > > > > If you fix the issue, kindly add following tag as appropriate > > > > Reported-by: kernel test robot > > > > > > > > All warnings (new ones prefixed by >>): > > > > > > > > >> arm-linux-gnueabi-ld: warning: orphan section `__cpuidle_method_of_table' from `arch/arm/mach-omap2/pm33xx-core.o' being placed in section `__cpuidle_method_of_table' > > > > >> arm-linux-gnueabi-ld: warning: orphan section `__cpuidle_method_of_table' from `arch/arm/mach-omap2/pm33xx-core.o' being placed in section `__cpuidle_method_of_table' > > > > >> arm-linux-gnueabi-ld: warning: orphan section `__cpuidle_method_of_table' from `arch/arm/mach-omap2/pm33xx-core.o' being placed in section `__cpuidle_method_of_table' > > > > > > Looks like arch/arm/include/asm/cpuidle.h defines > > > `CPUIDLE_METHOD_OF_DECLARE` to create a static struct in such a > > > section. Only arch/arm/mach-omap2/pm33xx-core.c uses that macro. > > > > Nick, Kees, > > > > Should I resend my patch, or are you taking care of it? > > > > https://lore.kernel.org/lkml/20201230155506.1085689-1-arnd@kernel.org/T/#u > > Your patch looks like it has multiple reviewed-by tags, so it should > be ready to be submitted/merged? Waiting on anything else? Yeah, that looks ready to go. Does that go via SoC tree or arm32 tree? -- Kees Cook _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel