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=-14.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 EAC03C4743C for ; Fri, 4 Jun 2021 18:02:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D03A461402 for ; Fri, 4 Jun 2021 18:02:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230316AbhFDSEi (ORCPT ); Fri, 4 Jun 2021 14:04:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230254AbhFDSEf (ORCPT ); Fri, 4 Jun 2021 14:04:35 -0400 Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6652FC061789 for ; Fri, 4 Jun 2021 11:02:49 -0700 (PDT) Received: by mail-pg1-x529.google.com with SMTP id o9so5663310pgd.2 for ; Fri, 04 Jun 2021 11:02:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7U248OZHmRHfE56ap11uOYWLh2Oj9oUs8HhAokr7948=; b=YqtsSNRVN80ZtmaX+D/vu9uMnL9o6GGfOD67EFhHjxE6EHoxE0MuiU2GasmARJkKun 2Uc49rKEatd4mg/VtG3R4vcWcJzdwoDxLK5dT0rD4JtlT7EMrUNykqG4mzplsKDlXPSc 4KVkQKuovqTBGcu3vasC7Ht/TAKfoq1pQ0zFw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7U248OZHmRHfE56ap11uOYWLh2Oj9oUs8HhAokr7948=; b=L08X2c/9AUJf1hMddXnqIHow4voN5z1YYECCi3LMgzzBDRP2eDdEvtGziKk5b1Bi2u LAMh0TIXmfGuRRxoYRAjHds27NJRZgXGYSIjyeMXA0mDVB8AWTf8gRew9xart1/A0qV5 yvy1SGPPa0UTjXcu8hYBT2e/ZUNqEsNofyEVdtccgfkHCZ+rQgqf8P+l+eZNqDQtfZPB VORZ9VUMYvGkRNWfAs9HNL6kGxEFHHHvLzO89o2Sz3Gm35wvqK5fBhPX5oD82xML8Oe3 hC65mfPUS/V2VOiW5/08A+I2JZcQ2rtdh3ETFXk2o0TasPfd9Y0cNoH4qG0QoBgopDbd WYEA== X-Gm-Message-State: AOAM532CftEU0IrOoGQY/ZpZwV5yg2REX5tQqhZlYDJlKJMZaV0jhN7V yEDY9M8EyCxjtpf2LHb3QYn2bA== X-Google-Smtp-Source: ABdhPJy3qCOhOZJm6ROVr7YN2yWzAXjLH9mrb6EYJbimkOTij6MmFUd61XSroTtrCCeAtGwpFPagUQ== X-Received: by 2002:a62:e102:0:b029:2e9:fc9f:1199 with SMTP id q2-20020a62e1020000b02902e9fc9f1199mr5556909pfh.33.1622829768891; Fri, 04 Jun 2021 11:02:48 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id x22sm2303487pfn.10.2021.06.04.11.02.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Jun 2021 11:02:47 -0700 (PDT) From: Kees Cook To: Russell King , Tony Lindgren , Dave Gerlach , Santosh Shilimkar , Arnd Bergmann Cc: Kees Cook , linux-arm-kernel@lists.infradead.org, Joe Perches , linux-kernel@vger.kernel.org, Miguel Ojeda , Arnd Bergmann , Nick Desaulniers Subject: Re: [PATCH] ARM: avoid cpuidle link warning Date: Fri, 4 Jun 2021 11:02:37 -0700 Message-Id: <162282975447.3081447.17719954433562444000.b4-ty@chromium.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201230155506.1085689-1-arnd@kernel.org> References: <20201230155506.1085689-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 30 Dec 2020 16:54:56 +0100, Arnd Bergmann wrote: > Since commit 83109d5d5fba ("x86/build: Warn on orphan section placement"), > we get a warning for objects in orphan sections. The cpuidle implementation > for OMAP causes this when CONFIG_CPU_IDLE is disabled: > > 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' > > [...] Applied to for-next/orphans, thanks! [1/1] ARM: cpuidle: Avoid orphan section warning https://git.kernel.org/kees/c/d94b93a91015 -- Kees Cook 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=-12.1 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,USER_AGENT_GIT autolearn=ham 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 52933C4743C for ; Fri, 4 Jun 2021 18:05:42 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 18FF2613FA for ; Fri, 4 Jun 2021 18:05:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 18FF2613FA 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=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=TQr8AmQpaHTPfRt6ReG+mJ6/lK+/0cxnB4pfPhV239k=; b=VukheCqWTZGwPs AVQQqIAzw6i4lxx2KmfdNVRB1QKo2Qj+Mm+fycZDDmAk20GqFzhrqXeKwJWaDen56YeK72tNP6NLP TuoAKOaFECJYwpCqbD1xAGqQ+3WhH4t3VexwGT/bZGiemFjNwXjsWV7UsUSKt8atnZJWGFRjuPTdt w0WVsVclvfkqVGYOgdTPO6noKc4dhoXFTKTVIXBp6RgAvBtYZ/I8JYbyNXN29QMCzTUGZnqOBHIyh tgFHgrceK+4rbF2zyc6MN1CDRTk7+49ZevRrXrv6jYUQ/cgR1wm7kAIgNgKwoyLV+4YsS7iGU521X 7BIL7bu/qY1in3IANDgg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lpEAn-00EnPl-Rb; Fri, 04 Jun 2021 18:03:58 +0000 Received: from mail-pf1-f169.google.com ([209.85.210.169]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lpEAh-00EnO8-G1 for linux-arm-kernel@lists.infradead.org; Fri, 04 Jun 2021 18:03:55 +0000 Received: by mail-pf1-f169.google.com with SMTP id u126so4032913pfu.13 for ; Fri, 04 Jun 2021 11:03:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7U248OZHmRHfE56ap11uOYWLh2Oj9oUs8HhAokr7948=; b=YqtsSNRVN80ZtmaX+D/vu9uMnL9o6GGfOD67EFhHjxE6EHoxE0MuiU2GasmARJkKun 2Uc49rKEatd4mg/VtG3R4vcWcJzdwoDxLK5dT0rD4JtlT7EMrUNykqG4mzplsKDlXPSc 4KVkQKuovqTBGcu3vasC7Ht/TAKfoq1pQ0zFw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7U248OZHmRHfE56ap11uOYWLh2Oj9oUs8HhAokr7948=; b=iXz5eaNNMAeJ7xU9v5A6pKYYvpEknBAEtK7zUE3QTRdrIwcpeBfTdm2u8O0Z+s2WQ6 9HyzDYpW2hSMRZXyXTbEykXZ4TjBWAr7MM9hWa20EOo6HVT75fw5kaWw7FYpyT2R3/Jq MguyFxyttryCnbN1UIv7jqOYPiZdVnHO6m/7tX1J/0MXwy9fqnOBlNyyYW5wTE149TtB 6CV1Tau2/3ubcNnrueLMpTMPLSPd15n5Pp8hrjz/63/90aR9QDlK+E4UpPN+NP+xvm4J DMjcH+DsN2K9oWXesAlfd2PkSTPkBFGhhYWwLxJabaTTc71dgFIPYjn21BrjGKmFgyje 5J3A== X-Gm-Message-State: AOAM5325YyKOX7p/mPVYxX0h92R5JXQK8jewZMpf5gvv1zorgXFFIpYD rneULm0HSHZEEZPVKKFTOmbbAA== X-Google-Smtp-Source: ABdhPJy3qCOhOZJm6ROVr7YN2yWzAXjLH9mrb6EYJbimkOTij6MmFUd61XSroTtrCCeAtGwpFPagUQ== X-Received: by 2002:a62:e102:0:b029:2e9:fc9f:1199 with SMTP id q2-20020a62e1020000b02902e9fc9f1199mr5556909pfh.33.1622829768891; Fri, 04 Jun 2021 11:02:48 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id x22sm2303487pfn.10.2021.06.04.11.02.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Jun 2021 11:02:47 -0700 (PDT) From: Kees Cook To: Russell King , Tony Lindgren , Dave Gerlach , Santosh Shilimkar , Arnd Bergmann Cc: Kees Cook , linux-arm-kernel@lists.infradead.org, Joe Perches , linux-kernel@vger.kernel.org, Miguel Ojeda , Arnd Bergmann , Nick Desaulniers Subject: Re: [PATCH] ARM: avoid cpuidle link warning Date: Fri, 4 Jun 2021 11:02:37 -0700 Message-Id: <162282975447.3081447.17719954433562444000.b4-ty@chromium.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201230155506.1085689-1-arnd@kernel.org> References: <20201230155506.1085689-1-arnd@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210604_110351_558018_EDA13F49 X-CRM114-Status: GOOD ( 10.69 ) 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, 30 Dec 2020 16:54:56 +0100, Arnd Bergmann wrote: > Since commit 83109d5d5fba ("x86/build: Warn on orphan section placement"), > we get a warning for objects in orphan sections. The cpuidle implementation > for OMAP causes this when CONFIG_CPU_IDLE is disabled: > > 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' > > [...] Applied to for-next/orphans, thanks! [1/1] ARM: cpuidle: Avoid orphan section warning https://git.kernel.org/kees/c/d94b93a91015 -- Kees Cook _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel