Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1124538rda; Mon, 23 Oct 2023 03:28:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE3mFDpumhzO7e5TGBzd5h41tz93LP9I6NIhQPhXWDA6dB4PK+9u3KnCvRhTH4t0yJuXkWx X-Received: by 2002:a05:6a20:6d9e:b0:14c:4dfc:9766 with SMTP id gl30-20020a056a206d9e00b0014c4dfc9766mr5527839pzb.46.1698056916366; Mon, 23 Oct 2023 03:28:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698056916; cv=none; d=google.com; s=arc-20160816; b=nEdjiNJJrv1ImCB8mVaKpM94qk/a7CllrEhRRcC6UutvCayuDi3mTBH3L8p76MeDsJ 7VM6tS5iEmG9JZF4N/FbjkFoVd19WQ/9MBkLQxmjW5ruL6pxyO/02ZpZH4j4ep1KgU7O wWXhBye7EwlV62ovdp1ayYYOIpJUtoepCi4tXGjkUbTqQipdl/vuL9c9vCh7+D6j3R7e fL05P7n2W8x2aKr0NaKZPYD/JvaElv4epPzT1d58LONQlI0FSj4YyBd23Z/Ji9QibDG0 DOHJMZlvquwrtVMeRHS+iEJwlW+3qnQ2AeeL42GEqk2Jub7Za8DLBej++yXheqCbKvtq n1PQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=slJ4gsmLFLLG28yC7DauJDzx27bn8p/IiBTXbBZAE1A=; fh=rWt0H1pTFm6q7+sv8OV9YtiJgF83e8ZtpDXwzMRNJG0=; b=hX3bOfqXKhYLIjUHW9kB1BLrqg3KmWPIDc/qOlmasSs9+6R2Hlj2IzS6cI3hJkX8nm +/ox7qzCtntgfq5qxHtUgK5/0sm4pTcSzPXfHbwtRkJ28DWDt05bo4DplmLcAROFP5lX sYFQttaDobnaquwMru9IvUib0m3rfFNPs3WAzZ7WMTX2xfbXSDpZvwD570ImHqsmPi0V Ps1SeD58zpJH23h0QjIR7sqAui5E3Ed8FtiEx52+Cp3fqMmkIEx11/sVnPrVSyZZU4BF poeuJGk546bm0MF6wqeqlipf4vYfe+QnmX/9FDVJDOaSdAeEGpyBbHBopuxGRR9huwfh MAKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=WYniU+v0; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=sacQjNjj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id ij26-20020a170902ab5a00b001c9cc838d72si5964021plb.125.2023.10.23.03.28.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 03:28:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=WYniU+v0; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=sacQjNjj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 7D72B80B5A77; Mon, 23 Oct 2023 03:28:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229572AbjJWK22 (ORCPT + 99 others); Mon, 23 Oct 2023 06:28:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230388AbjJWK2Z (ORCPT ); Mon, 23 Oct 2023 06:28:25 -0400 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7590F188; Mon, 23 Oct 2023 03:28:23 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 431875C027F; Mon, 23 Oct 2023 06:28:20 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Mon, 23 Oct 2023 06:28:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1698056900; x=1698143300; bh=sl J4gsmLFLLG28yC7DauJDzx27bn8p/IiBTXbBZAE1A=; b=WYniU+v0LQ9c0HRur4 W10+/qiyVQOIdiVGnK1R2E9hrNKzDXTSU0hq8J4bC2cnYJcbRpRNlT3wl916l0K4 nLX4jRVrk496SlZ+bji5Yq5yeLalUVD2LQFfXoWEXLZ8LZOB3sWINDsnLL2sSQjb fm0lR5U5vj6M2clKJV0L3frCq/MbCPXHccMWGG7jYhnMDGH6T5+xHdisZ2EwQ33I K+FFjwgeGH0zl1BwLsxDV4O0X5oc3VArJB5pkCAUQ7QIgfcPmrJiOmsReHA6a/nW ifN+1Vi/bAS0Os93lQMoRhGy64uVeArjl+Pr6AroKuby3BvukV5QohvhRKvhjk30 95SQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1698056900; x=1698143300; bh=slJ4gsmLFLLG2 8yC7DauJDzx27bn8p/IiBTXbBZAE1A=; b=sacQjNjjZYyQ7+D6+xGCed3u3mK9m fYqOXgE9b8d8agnZbS8LXNv8upZhEMjYR10qc+lyTNZZPRUJjm6V0tG1SxKG4mPo TWJo3D5sXPCvqpn4ebNxF07vvoB1ee9MnD87npmBLRZIWWSF7xwjdglrsB3Rn67p 1iAHv9/xiVxV1ZWCw6zAckjMFCJh5gCQURLS0fA5QEnjRrvD2Ool9bVCyMWc7Hgf tMBUCzFiXQfJv4+VK9kF0r4O0ydFqEbThVcw+EnWzxHNanADToGvT49mmbv3+mRN U73AR3utLMJ9Uisf2jPacZh3IThl41en1CXROoxzDCsX9mMQp0mqfBKTA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrkeeigddvjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdetrhhn ugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrghtth gvrhhnpeffheeugeetiefhgeethfejgfdtuefggeejleehjeeutefhfeeggefhkedtkeet ffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrrh hnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id A5040B60089; Mon, 23 Oct 2023 06:28:19 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1048-g9229b632c5-fm-20231019.001-g9229b632 MIME-Version: 1.0 Message-Id: In-Reply-To: <1jmswds9dn.fsf@starbuckisacylon.baylibre.com> References: <20231020132036.1181762-1-arnd@kernel.org> <1jmswds9dn.fsf@starbuckisacylon.baylibre.com> Date: Mon, 23 Oct 2023 12:27:56 +0200 From: "Arnd Bergmann" To: "Jerome Brunet" , "Arnd Bergmann" , "Neil Armstrong" , "Michael Turquette" , "Stephen Boyd" , "Kevin Hilman" , "Yu Tu" Cc: "Martin Blumenstingl" , "Dmitry Rokosov" , "Jian Hu" , linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] clk: meson: S4: select CONFIG_COMMON_CLK_MESON_CLKC_UTILS Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 23 Oct 2023 03:28:35 -0700 (PDT) On Fri, Oct 20, 2023, at 15:35, Jerome Brunet wrote: > On Fri 20 Oct 2023 at 15:19, Arnd Bergmann wrote: > >> From: Arnd Bergmann >> >> Without this, the newly added driver fails to link: >> >> aarch64-linux-ld: drivers/clk/meson/s4-pll.o: in function `meson_s4_pll_probe': >> s4-pll.c:(.text+0x13c): undefined reference to `meson_clk_hw_get' >> >> Fixes: e787c9c55edad ("clk: meson: S4: add support for Amlogic S4 SoC PLL clock driver") >> Signed-off-by: Arnd Bergmann >> --- >> drivers/clk/meson/Kconfig | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/drivers/clk/meson/Kconfig b/drivers/clk/meson/Kconfig >> index c5303e4c16043..3c28560b0faba 100644 >> --- a/drivers/clk/meson/Kconfig >> +++ b/drivers/clk/meson/Kconfig >> @@ -149,6 +149,7 @@ config COMMON_CLK_S4_PLL >> tristate "S4 SoC PLL clock controllers support" >> depends on ARM64 >> default y >> + select COMMON_CLK_MESON_CLKC_UTILS >> select COMMON_CLK_MESON_MPLL >> select COMMON_CLK_MESON_PLL >> select COMMON_CLK_MESON_REGMAP > > Thx Arnd and sorry about this. > > Reviewed-by: Jerome Brunet > > Stephen, do you mind taking this directly ? I ran into the same bug with drivers/clk/meson/s4-peripherals.c, sending a v2 of my patch to fix both at the same time, assuming v1 has not been applied yet (it's not in today's linux-next). Arnd