Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1013621rwb; Wed, 26 Jul 2023 06:27:41 -0700 (PDT) X-Google-Smtp-Source: APBJJlFtsfePikqL24s6bAU7P9+mpycrbnUXBVQSSznmvC4bBdutSXxArfwSQA/mCYEHCRSkRjAH X-Received: by 2002:a19:500b:0:b0:4f7:604f:f4c8 with SMTP id e11-20020a19500b000000b004f7604ff4c8mr1479552lfb.18.1690378060913; Wed, 26 Jul 2023 06:27:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690378060; cv=none; d=google.com; s=arc-20160816; b=BCGhx5h06/9BfNAVMJDYntUdsAiikgjbggbFmemQRk9pJND7Zsswsmo1+xSHGM2l7X zG3MKI5qA+MQAqBDdKK9Z4L8SveUN7Z5fSAIEbTwMtyjpfGpPaRRDv0wMJ3IjrBTlp2J mNYp2Cpk5aa/KLojCM3gnsN9SkduKAoqdR5vd1CmJZhfI6tqd8ksKeREipF/fFBnfNai JmRYvtUoMlp6K3CxkC/YmWqKqIouplmbUNqD2rBjdgG5l69aTBdD5pXqFumD3mrH8dnb q7sZXMUOL4nCuvjdq7HeLqN7TEZAQd6rBZVB1vKv0teKcznSjGgwOL1BGL7qy7PyqS0W Ywvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=xytvwAV0BU3B8ZVId1NpX2j1ZIQGa+bfPlc5rTSIhmg=; fh=IM+L80uJkVVO+ulAFzVs0WvfProKtaLfptY/KuHPR7w=; b=QPZV/6kklcZ/EUeukzvMEYrfaOmxY4oYwYbNBMjpJEJTth2HAZjQMOZHf81KycGjGu WQD8FxoU+BqtwnjUmZSfeNleLY+QAbDPN+FZh9J8hjPG5hzzcSyCJevafyPijcoKrEKH bp0o/bpDDjUyFGzNrds58RQPNgi4NtfVd2C4Qxt2stygrxMkQqcxm3gpq4hAS7rFPZ4s hOcJAoady8cM0zkzxn2gGAJoGE3h+Qdi/u73rQZjj7n9Ue7fP6qHeOp5b5JH92lru3yy DT9Xa6ugsoW3ZtHhJ6R8/y3/sF+G2Tig5cUiJxdImRURfbHi3gkSyPIefeeStK9TSRzX CuaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oTKgk6cv; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e13-20020a056402148d00b005224f5f0799si2280143edv.625.2023.07.26.06.27.15; Wed, 26 Jul 2023 06:27:40 -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=@linaro.org header.s=google header.b=oTKgk6cv; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233185AbjGZM1e (ORCPT + 99 others); Wed, 26 Jul 2023 08:27:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234010AbjGZM13 (ORCPT ); Wed, 26 Jul 2023 08:27:29 -0400 Received: from mail-yw1-x1129.google.com (mail-yw1-x1129.google.com [IPv6:2607:f8b0:4864:20::1129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5970326BE for ; Wed, 26 Jul 2023 05:27:26 -0700 (PDT) Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-583ae4818c8so58761357b3.3 for ; Wed, 26 Jul 2023 05:27:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690374445; x=1690979245; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=xytvwAV0BU3B8ZVId1NpX2j1ZIQGa+bfPlc5rTSIhmg=; b=oTKgk6cvDOz/jzdgKjaJ/cQ92upctsVgYslejhg9gbqdnrHGZchEpRr2h6TZdVnSVL 2CIiK8d5BoudJuVraCxOMWGow345fmPGb11JwNyD6w3V7FlUA+5vPpMc8aYgxLwzt51q 94AxY7jxE7cmlWOf4vdp0sq1VSF8Gp2eYS9/8F541mgnEzCG/yxqJsxsMSR8QPZEABH6 DxBerXsO99pRhgQgIgDS34ZUe7735VWt8CEfXe0qBk86t6jvehPK8aJiP8GldQYl8XB3 388monTXyn5bGHuR5nsKd6YiyghDoxTrJcdx45OnwjAJyUcspIhbijXlkoPnZT33LilO rnhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690374445; x=1690979245; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xytvwAV0BU3B8ZVId1NpX2j1ZIQGa+bfPlc5rTSIhmg=; b=Qqv4KQaXrne78ICxL3HiYTaHfptkeIAOn1SYtFgMEEfr+0sDSMhWn3rEYYsuZPEx6U qZDbJ8yQlK2cYThYHuDusrdHqradSuXvcWOMF683h8A4gCh+CaV4VFNvlaUPP5/5lnaC TAbgQqoFccQByUEwNXiZZ+fhIqQ++x2EqMkWNB6BXIHF57W5xJEmiA7dY/xWPJTcF1/n gEKK8VaNviQKEmQgFWYuXMY3X2Rc6I8cW+gQPPRSIiV5HKKpllae7QAGj+XLFVYz2lKy 1ys6CYX0CU6ZJFRx9bW5fVcOu6ethHF0PDgw0M+US7YHKG+4RLJkE85RSsb5DWBHNIW8 MC4g== X-Gm-Message-State: ABy/qLYHSu/LMKMof7yr0QKrfoK79UIWZft5UxTTc005LAaAAL+NegvJ 3bdiaHvgrsblPLLqJksMnQkghVMD3pojtZVney/OIw== X-Received: by 2002:a25:804f:0:b0:cb4:469e:3308 with SMTP id a15-20020a25804f000000b00cb4469e3308mr1464176ybn.6.1690374445384; Wed, 26 Jul 2023 05:27:25 -0700 (PDT) MIME-Version: 1.0 References: <20230726121724.3701240-1-arnd@kernel.org> <20230726121724.3701240-2-arnd@kernel.org> In-Reply-To: <20230726121724.3701240-2-arnd@kernel.org> From: Ulf Hansson Date: Wed, 26 Jul 2023 14:26:49 +0200 Message-ID: Subject: Re: [PATCH 2/2] genpd: move owl-sps-helper.c from drivers/soc To: Arnd Bergmann Cc: =?UTF-8?Q?Andreas_F=C3=A4rber?= , Manivannan Sadhasivam , Arnd Bergmann , Stephen Rothwell , Conor Dooley , Joel Stanley , Paul Menzel , Hal Feng , Yinbo Zhu , =?UTF-8?Q?Jonathan_Neusch=C3=A4fer?= , Emil Renner Berthing , Walker Chen , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-actions@lists.infradead.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Wed, 26 Jul 2023 at 14:17, Arnd Bergmann wrote: > > From: Arnd Bergmann > > Moving only one of the two files in drivers/soc/actions to drivers/genpd > caused a link failure in allmodconfig, as drivers/genpd is entered > for compile testing, but drivers/soc/actions accidentally got skipped: > > x86_64-linux-gnu-ld: vmlinux.o: in function `owl_sps_set_power': > owl-sps.c:(.text+0x16e259d): undefined reference to `owl_sps_set_pg' > > Move the other one as well to allow build testing to work correctly. > > Reported-by: Stephen Rothwell > Signed-off-by: Arnd Bergmann Thanks Arnd! I have added this to my immutable genpd branch too: git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm.git genpd_create_dir Kind regards Uffe > --- > drivers/genpd/actions/Makefile | 1 + > drivers/{soc => genpd}/actions/owl-sps-helper.c | 0 > drivers/soc/Makefile | 1 - > drivers/soc/actions/Makefile | 3 --- > 4 files changed, 1 insertion(+), 4 deletions(-) > rename drivers/{soc => genpd}/actions/owl-sps-helper.c (100%) > delete mode 100644 drivers/soc/actions/Makefile > > diff --git a/drivers/genpd/actions/Makefile b/drivers/genpd/actions/Makefile > index e78c420a24540..7e8aa473d12d1 100644 > --- a/drivers/genpd/actions/Makefile > +++ b/drivers/genpd/actions/Makefile > @@ -1,2 +1,3 @@ > # SPDX-License-Identifier: GPL-2.0+ > +obj-$(CONFIG_OWL_PM_DOMAINS_HELPER) += owl-sps-helper.o > obj-$(CONFIG_OWL_PM_DOMAINS) += owl-sps.o > diff --git a/drivers/soc/actions/owl-sps-helper.c b/drivers/genpd/actions/owl-sps-helper.c > similarity index 100% > rename from drivers/soc/actions/owl-sps-helper.c > rename to drivers/genpd/actions/owl-sps-helper.c > diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile > index efdcd42f68cb3..708eaad8f590d 100644 > --- a/drivers/soc/Makefile > +++ b/drivers/soc/Makefile > @@ -3,7 +3,6 @@ > # Makefile for the Linux Kernel SOC specific device drivers. > # > > -obj-$(CONFIG_ARCH_ACTIONS) += actions/ > obj-y += apple/ > obj-y += aspeed/ > obj-$(CONFIG_ARCH_AT91) += atmel/ > diff --git a/drivers/soc/actions/Makefile b/drivers/soc/actions/Makefile > deleted file mode 100644 > index 4ac88fec2050a..0000000000000 > --- a/drivers/soc/actions/Makefile > +++ /dev/null > @@ -1,3 +0,0 @@ > -# SPDX-License-Identifier: GPL-2.0+ > - > -obj-$(CONFIG_OWL_PM_DOMAINS_HELPER) += owl-sps-helper.o > -- > 2.39.2 >