From patchwork Wed Jul 26 12:17:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 126328 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a985:0:b0:3e4:2afc:c1 with SMTP id t5csp373130vqo; Wed, 26 Jul 2023 05:41:11 -0700 (PDT) X-Google-Smtp-Source: APBJJlH4+UuWTRNWciJE+UzBZHBiVnhZZgM+dhMV8nWZwRdyT1xr+FHocYdejuND9gjf7AQSMgOU X-Received: by 2002:a05:6a00:190d:b0:686:7d14:3b88 with SMTP id y13-20020a056a00190d00b006867d143b88mr1850893pfi.14.1690375271112; Wed, 26 Jul 2023 05:41:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690375271; cv=none; d=google.com; s=arc-20160816; b=N5450LoySI+yORZoYyex80szZjA8JwpHpgxu+DW/6dYMMJSV7Wob5DwCjoIBLuhqtA mqxqhL6J0umOZCwPkM1Qfuix0khAi5luc+t8nXXkG9y2AM8q5pabz5p7FahdrT++tWqj Ks/9Lp6uj9/y7Js4GF3RA8sXLyZVd46JODcMFEyqLL8An2bZx8ZAqQqmM0jIhCQJ02NN RnYgRTwmCfpwU4RdbnOLzpeLyWhXtXXx/YpUrSND4b2xsnrn0fYXUzP1jPFb5PWsjV9x AisM/jhEzKf6LUBMe/8kKu1+JbO8kxmCRwSwdrty2KStVuezYPiHYRLaBJlqIMCdYI8E fgfA== 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=DOVcP2ssCnE3htsdGSh9KzQTNFzZhXm1ImrV52yKzRc=; fh=ly9ZqmnEP/vXHhv6RUIYIu/Q0AWRTNaAILc+bDsWBPc=; b=RqCDfAUgQsON/kGCJroBSyvyML1a9qt2aerqxal3t+LXy72jCLZ+8MTWuQHp64EyB/ JXWGSCCaIrUQH9Qcdc9UmEwOsvRmY21iAk8YMF5qx1RhFGBSTaN+m4JXXRgUJwXBmR2L 15Yw2tHmi6l2RTNMwSEu1taaSM9Qy/JTaa6AZSELz/fKqti01sPTiNontrT44Y2CoVxh stmy/NlJCIe90GNVuFRiVProU18aw+fJk0GwZLezKPYvAtABGqXLItPDxl9dnYlrzCe0 8TYZVvcKignncujXuY4AuS4b2UxFQEcXdm5HDQEnFYcC5pZZ+tYChSR8DRu5406H132T pwkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nX3hvYP1; 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=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a25-20020a056a001d1900b00668717a964fsi12420320pfx.33.2023.07.26.05.40.57; Wed, 26 Jul 2023 05:41:11 -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=@kernel.org header.s=k20201202 header.b=nX3hvYP1; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232091AbjGZMRi (ORCPT + 99 others); Wed, 26 Jul 2023 08:17:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232067AbjGZMRe (ORCPT ); Wed, 26 Jul 2023 08:17:34 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C0FC1FEF for ; Wed, 26 Jul 2023 05:17:32 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2027961A46 for ; Wed, 26 Jul 2023 12:17:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51418C433C8; Wed, 26 Jul 2023 12:17:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690373851; bh=WorFpKy9ikPAh/VITbnnCumYdCQIEKOASIpf7VOhCpI=; h=From:To:Cc:Subject:Date:From; b=nX3hvYP1ZyUCO+DVn5TL4RpkWpN+wuNQAZGZAtY/44njl1yBr/5qgnvJGAYUW3G0i T9HvvF/bt4oLrEVU9Sv0y5Q2FVAWM5zOnqZ+kccemul6L1Qi55IY7R/Tj4uHeyOahu QhRNi6NGo4Y/XTZaE/Zg1DwRPjm9Hg7nZ8ml7RS29WbCY+0LCUFQau10oOfbk3n5bH 65dCEstoHwLfch1tMIOPajRDl3fo8byKDYbzARuZcZLaLjjqtECv/26S/CsJdTVe7i ZwseJDShKyf99d5nisLxf45mJM1kB0myPN98OUWrRjZyJFf2rRA8h+8pBqqs9FK4VW 22NANVIyU+mPg== From: Arnd Bergmann To: Conor Dooley , Ulf Hansson Cc: Arnd Bergmann , Joel Stanley , Walker Chen , Paul Menzel , Yinbo Zhu , =?utf-8?q?Jonathan_Neusch=C3=A4fer?= , Emil Renner Berthing , linux-kernel@vger.kernel.org Subject: [PATCH 1/2] soc: starfive: remove stale Makefile entry Date: Wed, 26 Jul 2023 14:17:14 +0200 Message-Id: <20230726121724.3701240-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772486940160781150 X-GMAIL-MSGID: 1772486940160781150 From: Arnd Bergmann After the only starfive driver was moved out to the genpd subsystem, we get a build failure: scripts/Makefile.build:41: drivers/soc/starfive/Makefile: No such file or directory Fixes: f3fb16291f486 ("soc: starfive: Move the power-domain driver to the genpd dir") Reported=by: kernel test robot Acked-by: Conor Dooley --- drivers/soc/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile index 3b0f9fb3b5c84..efdcd42f68cb3 100644 --- a/drivers/soc/Makefile +++ b/drivers/soc/Makefile @@ -29,7 +29,6 @@ obj-y += renesas/ obj-y += rockchip/ obj-$(CONFIG_SOC_SAMSUNG) += samsung/ obj-y += sifive/ -obj-$(CONFIG_SOC_STARFIVE) += starfive/ obj-y += sunxi/ obj-$(CONFIG_ARCH_TEGRA) += tegra/ obj-y += ti/ From patchwork Wed Jul 26 12:17:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 126331 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a985:0:b0:3e4:2afc:c1 with SMTP id t5csp377364vqo; Wed, 26 Jul 2023 05:49:27 -0700 (PDT) X-Google-Smtp-Source: APBJJlGHQ0XMhLqcyyzPxrgOnvheW0+sKTXha3uJl9CFXK4XwTmjotewt7vEJZtKNzPoKS6UdtDy X-Received: by 2002:aa7:c706:0:b0:522:296f:9082 with SMTP id i6-20020aa7c706000000b00522296f9082mr1312486edq.10.1690375767555; Wed, 26 Jul 2023 05:49:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690375767; cv=none; d=google.com; s=arc-20160816; b=Vm94wdZSkxHSSwIGaQr98Jm+gGF2hFP626QC84d2Nr5Qmhq3g/1oZMuSyCoghcUvxx WLf8EXPss5+RplCE+1lHiRHq2HvI7wUbmFZ2dZKWOYHulCD32QIEnuy/j0IZIXpsY/SG e2qwSBZw0tSbKKjwn2RL3KZDfsNrfidpvtmmkyXYrEBAdmbFza0hp4MHZ8dmvOSXRbAc 7DUHcnAwXCZrXd8V1FOMeM9RSezy6tpJfmwyJwTbFFtzJvHJdq9FaYMNDTy0pwNIbQHy Pw73SRU/qGOj/QvxCktK7H0dZV5LW2sYLn9ouQByOAiHVZYMzUICKs24Vwva0P19BJf+ 9YZw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=oz83DBzKGdI2nKXUzWpxwmAceOtyBDbqK6io3v5A4Q0=; fh=zfavv4OimO46SoUyk3Q4IbmIWoWrUBPy+99/6XwpWrk=; b=e71wsZoLFCGnJqJv8C/QY3ZBZsdmzl/2nZGPR/wYf5zA3qUIEiGgBjzrhX+H7RlRt4 fv5X61c/jCEF4JYSWI9nvU38q4n4RAZ9lMTezGU5AXr61tyek3xfmYhbM13BF1lpw7LM wCwo5CHdPPMBPrkR0dnPxv5a7atmGSwYtK04lArK0i1Sq1r9d9aE2DqkRXiAvgB1j/bo zK/t/ZpGfJCcWoEqDS7xVdmFxNs9Dz38mECTXaT4gQEKCuk8pGueV3Jqb6A4khySskac 6idFf1Bxg3XgQYCCtUlOmPpVvBRhuUhgMQq0Uq/BwMIYgmY7b6UgMW02EaNg2RmLmrED VAXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pzJ2nQcM; 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=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ay25-20020a056402203900b005221e24afadsi6178471edb.83.2023.07.26.05.49.03; Wed, 26 Jul 2023 05:49:27 -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=@kernel.org header.s=k20201202 header.b=pzJ2nQcM; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232290AbjGZMSI (ORCPT + 99 others); Wed, 26 Jul 2023 08:18:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233655AbjGZMR7 (ORCPT ); Wed, 26 Jul 2023 08:17:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D05D61BC6; Wed, 26 Jul 2023 05:17:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4E3F261ACF; Wed, 26 Jul 2023 12:17:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2D6ADC433C8; Wed, 26 Jul 2023 12:17:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690373871; bh=MJ3VIkhQnMh5rNijTgWqzXJXA8gGbxk68w2PW2c6Pkw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pzJ2nQcMu3Af2DEDqCGLRiELzCmojsPQvlIEvOS0YSr7vv5hCw/Z+BbxlK9Q4Qvrn s/QzQ8fudtXr0fNIv0rw6CZcO1jpN6WtHBhbZHfxnh+t+H904/yIEZ2ftOjG9aSarE zhc+1u/XbLYoeRVBDoEho9IBZCI53bSVNDUHTuNMAKI1+xRkhpskUNZ4Q3H+MTQTYI yXGEHlHI6/uNMJ7037RircF1nF1XV9mmCo2ax/j0QDMHuUlXEtGV7QKBFHIVqmIGLd fEPiN55RLGB/gJitKRgdm8VZC3bW1+FqFGv+VOL6HCzQ4mho7G1EhoIgvI/13msSiS SwOpcbHXwVhBA== From: Arnd Bergmann To: Ulf Hansson , =?utf-8?q?Andreas_F=C3=A4rber?= , Manivannan Sadhasivam Cc: 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 Subject: [PATCH 2/2] genpd: move owl-sps-helper.c from drivers/soc Date: Wed, 26 Jul 2023 14:17:15 +0200 Message-Id: <20230726121724.3701240-2-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230726121724.3701240-1-arnd@kernel.org> References: <20230726121724.3701240-1-arnd@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772487460481272254 X-GMAIL-MSGID: 1772487460481272254 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 --- 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