Message ID | 20231009114514.120130-1-arnd@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp1807789vqo; Mon, 9 Oct 2023 04:46:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IETXv0Xomu91X4RSg4E2cdHdtcgBrx8LgfelsCdkjI4JriIZtMW7AkvwsmWi6ChPJBsL51Z X-Received: by 2002:a17:902:ceca:b0:1c5:9c73:c91c with SMTP id d10-20020a170902ceca00b001c59c73c91cmr15718414plg.48.1696851998910; Mon, 09 Oct 2023 04:46:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696851998; cv=none; d=google.com; s=arc-20160816; b=dlbpQBQnEkfInsLHDI9JBqFgXpLf/Z/bjG9x16ACxpCWVknsD55bEGdERs2xnlIMrY 7jQQ9+EpUYYgB72fb11VrfDGWtrDhNPNdSguAjACBMK+K+BXNXwdO+6Pg6po1K7BhmRg qXqmQryeTEHPJTcGqhXqIvWhopGTVRcpIeknFhFHifjZYg3U8h8nlrXYPZLhTtjv1RH/ iXC+ayOkY1vSisr0VhMXH7F2VW2E5OBVARZAs/0cN8fnlhIsglCPb8/XTO1Xm5EH+Ndh BPlQw00sPygAfWC273UcCNhdP6UEWSX2dGCUlsnzMcgDNRukDMgGQpLwGVBHVeJGQkJj TMtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=avoKgsCpSMoWZZWPwoIUSf2/s3vbqd2GF2DAxLAstOA=; fh=JscFRf1Qs9L8iYmbkHo+vc5uJhe3OJGMLvpT8FRATmc=; b=bzdcqgGxPENQyw0tQOqNJI7/ZhTxuvFvkeQ9wtMaap4g2+4wJvIcRwm60D5dgiNmWx 6FTBavDZWL/KG2LGNeQJxqrW0kehN1t7+p5doygJwxwXjwqcL4MfNZqm6+5QorqC4pM9 JR8Biwcw8dVMNnWg1OpjwSfQZvP2Qlt9IZwzkj9IkWjHMlI0jjf2vTxBh6Jx3r6eI4JD fSYuuYKLwXjBcATYGSwHE3meQEsYrk6wZ2feIsKkboQ8wZO1zVbiyDTpUtG3qTeUv4Qu lpmt0wgRAVCm8HrKewcmk/Sl1wm9DFiTAOP+01MhX0C+loUnDdUUoTSC/gh291v1HY4F hTyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ai0LMv0j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id y7-20020a17090322c700b001c610ae885bsi10379960plg.59.2023.10.09.04.46.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 04:46:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ai0LMv0j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 70A2B80841C3; Mon, 9 Oct 2023 04:45:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232860AbjJILpY (ORCPT <rfc822;ezelljr.billy@gmail.com> + 18 others); Mon, 9 Oct 2023 07:45:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234520AbjJILpW (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 9 Oct 2023 07:45:22 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A02C99D; Mon, 9 Oct 2023 04:45:21 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D6AC5C433C7; Mon, 9 Oct 2023 11:45:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696851921; bh=WPdXTwjWi190AVE7Dk2PtRgMTnRydiLjuDujX9IPRlY=; h=From:To:Cc:Subject:Date:From; b=ai0LMv0jndIxr74+Cv+/UrlGO49b6EjSb+8UZLRPyYzEo+KtoUy/dqukddZAmC8cu wdv1f4MxogpmA+ZXlmir/GcfUNom7OeY5hzMHHmQxMpQx2Co7g3B3d7tiTa7tlhJ8n 7edLkDFEv53N4171JXEv1f24Wyg/aGxLWu4SkbVTReqtujppTeARwRuyr+zvRdReeU ifZGfwJCsoYvK7snnXmvlVWNxU57prBba4usMqW/XA6c0jMCHjGmquZuAucGRuYTzn mqoG546KIhFxWEh6hvKqIM+mIemrupeRyQfDbDkJMsvutcq2zxrYjhAEEpcTUOTFlk pD1yCbFSz/CRw== From: Arnd Bergmann <arnd@kernel.org> To: Abel Vesa <abelvesa@kernel.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org> Cc: Arnd Bergmann <arnd@arndb.de>, Peng Fan <peng.fan@nxp.com>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, NXP Linux Team <linux-imx@nxp.com>, Randy Dunlap <rdunlap@infradead.org>, Jesse Taube <Mr.Bossman075@gmail.com>, Shengjiu Wang <shengjiu.wang@nxp.com>, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] clk: imx: imx8: build base support for scu clk Date: Mon, 9 Oct 2023 13:44:55 +0200 Message-Id: <20231009114514.120130-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 09 Oct 2023 04:45:41 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779278281509268125 X-GMAIL-MSGID: 1779278281509268125 |
Series |
clk: imx: imx8: build base support for scu clk
|
|
Commit Message
Arnd Bergmann
Oct. 9, 2023, 11:44 a.m. UTC
From: Arnd Bergmann <arnd@arndb.de> There is now a dependency on a function from the clk.c file, so this also needs to be built: aarch64-linux-ld: Unexpected GOT/PLT entries detected! aarch64-linux-ld: Unexpected run-time procedure linkages detected! aarch64-linux-ld: drivers/clk/imx/clk-imx8-acm.o: in function `imx8_acm_clk_probe': clk-imx8-acm.c:(.text+0xbf0): undefined reference to `imx_check_clk_hws' Fixes: d3a0946d7ac9a ("clk: imx: imx8: add audio clock mux driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- drivers/clk/imx/Kconfig | 1 + 1 file changed, 1 insertion(+)
Comments
> Subject: [PATCH] clk: imx: imx8: build base support for scu clk > > From: Arnd Bergmann <arnd@arndb.de> > > There is now a dependency on a function from the clk.c file, so this also needs > to be built: > > aarch64-linux-ld: Unexpected GOT/PLT entries detected! > aarch64-linux-ld: Unexpected run-time procedure linkages detected! > aarch64-linux-ld: drivers/clk/imx/clk-imx8-acm.o: in function > `imx8_acm_clk_probe': > clk-imx8-acm.c:(.text+0xbf0): undefined reference to `imx_check_clk_hws' > > Fixes: d3a0946d7ac9a ("clk: imx: imx8: add audio clock mux driver") > Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Peng Fan <peng.fan@nxp.com>
Quoting Arnd Bergmann (2023-10-09 04:44:55) > From: Arnd Bergmann <arnd@arndb.de> > > There is now a dependency on a function from the clk.c file, so > this also needs to be built: > > aarch64-linux-ld: Unexpected GOT/PLT entries detected! > aarch64-linux-ld: Unexpected run-time procedure linkages detected! > aarch64-linux-ld: drivers/clk/imx/clk-imx8-acm.o: in function `imx8_acm_clk_probe': > clk-imx8-acm.c:(.text+0xbf0): undefined reference to `imx_check_clk_hws' > > Fixes: d3a0946d7ac9a ("clk: imx: imx8: add audio clock mux driver") > Signed-off-by: Arnd Bergmann <arnd@arndb.de> > --- Is this another https://lore.kernel.org/r/20230921093647.3901752-1-abel.vesa@linaro.org
On Tue, Oct 10, 2023, at 20:56, Stephen Boyd wrote: > Quoting Arnd Bergmann (2023-10-09 04:44:55) >> From: Arnd Bergmann <arnd@arndb.de> >> >> There is now a dependency on a function from the clk.c file, so >> this also needs to be built: >> >> aarch64-linux-ld: Unexpected GOT/PLT entries detected! >> aarch64-linux-ld: Unexpected run-time procedure linkages detected! >> aarch64-linux-ld: drivers/clk/imx/clk-imx8-acm.o: in function `imx8_acm_clk_probe': >> clk-imx8-acm.c:(.text+0xbf0): undefined reference to `imx_check_clk_hws' >> >> Fixes: d3a0946d7ac9a ("clk: imx: imx8: add audio clock mux driver") >> Signed-off-by: Arnd Bergmann <arnd@arndb.de> >> --- > > Is this another > https://lore.kernel.org/r/20230921093647.3901752-1-abel.vesa@linaro.org I think that's correct and my patch is not needed any more now. It looks like it was already obsolete when I sent it, but I can't find out why that is. I'll let you know if it comes back. Arnd
diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig index db3bca5f4ec9c..c6d3fda330341 100644 --- a/drivers/clk/imx/Kconfig +++ b/drivers/clk/imx/Kconfig @@ -6,6 +6,7 @@ config MXC_CLK config MXC_CLK_SCU tristate + select MXC_CLK config CLK_IMX1 def_bool SOC_IMX1