Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3894788rdb; Thu, 14 Sep 2023 06:10:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEfSPknzc4EFLb7VT3R/wlSIWF/PJAGVApWmP5lFsBfChuaW9E7NdEGDIZwVHb0RPSbBxU1 X-Received: by 2002:a05:6a21:624:b0:131:f3a:4020 with SMTP id ll36-20020a056a21062400b001310f3a4020mr4615148pzb.33.1694697020550; Thu, 14 Sep 2023 06:10:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694697020; cv=none; d=google.com; s=arc-20160816; b=Zl6p6mt65r9e7GpMqxVpicuBirb6xAfDMDFsNeUHL/coBwJBvmOY97wEBaHbEhYhiZ 2o75eHo4A0ZmB4RZBR1ZIYds0AuiekK/UABSTiFySZsCU1+x0UOq2yi6AX2fwFhLkw4V 7nSCG6ENiqoy29u+YRP07fzJhXBL0yJ8eOashI5ou10g5R0HXojZ1IQr2YlSTx5VzatP KE8s29frgN9+07jNuXSWpslrJ99lwg3NsD3z766FoWK15VzNw4xKMTkGngcX6AxNbmMH G468zTo2JomifjxrSOH4xVNV83Ccm/qSsaj4r7Slogc6NTs6Cqb24VWfDs/b6kg06vrU Ad5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=QGullhVJMPvf2Th3fZeR0j94RYy/ZoSUpW+4gQQLpBM=; fh=FaF1oHUTPcPYv/4jOsPARN36630Xx3qEvIcxOOF8ZIM=; b=DrVpcqz30OtjL410G92x2yMy0maO+iyJwzcLneHBJlZNw6cZBZY8zVSvFn7es98kA4 mCcFWExPpLVK4WJQFzVEGGU/4vLJI9sxN+M8dTd+BjlZXDR5gpjAFV+x/HP8J0kBhViW u5UayTsm6uxwNeuT2yVgYPkMRcMqT4BOQZo9hvot8efevefVDlky4N1EaHVk02NlHlGb uoo5zODISHzLiQxv4z6V600UFlHOqGSYUgvwpL58WuxAT1h2dQbAVVooP3pXctC7RuxN OEACIjy/W9aVFh+gAe55r3tK0E7X8bdfQ/CvrtnuuDaubbx20BY5gjr4mSIrB/N/4y+V h/KQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id m7-20020a632607000000b00563e15edb8fsi1524993pgm.544.2023.09.14.06.10.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 06:10:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id 1650E82A9AEB; Thu, 14 Sep 2023 06:04:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238641AbjINNEh (ORCPT + 99 others); Thu, 14 Sep 2023 09:04:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238525AbjINNEg (ORCPT ); Thu, 14 Sep 2023 09:04:36 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F1E61FD5; Thu, 14 Sep 2023 06:04:32 -0700 (PDT) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 672F724E1D4; Thu, 14 Sep 2023 21:04:17 +0800 (CST) Received: from EXMBX168.cuchost.com (172.16.6.78) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 14 Sep 2023 21:04:17 +0800 Received: from [192.168.125.113] (113.72.145.181) by EXMBX168.cuchost.com (172.16.6.78) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 14 Sep 2023 21:04:16 +0800 Message-ID: <1a9d2905-b0e8-1775-e44f-39d3693a1dad@starfivetech.com> Date: Thu, 14 Sep 2023 21:04:16 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [PATCH 13/17] pmdomain: starfive: Move Kconfig file to the pmdomain subsystem To: Conor Dooley , Ulf Hansson CC: Arnd Bergmann , Olof Johansson , , , , Conor Dooley References: <20230914111904.586744-1-ulf.hansson@linaro.org> <20230914-delegator-dimple-51b9414caa28@wendy> Content-Language: en-US From: Walker Chen In-Reply-To: <20230914-delegator-dimple-51b9414caa28@wendy> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [113.72.145.181] X-ClientProxiedBy: EXCAS064.cuchost.com (172.16.6.24) To EXMBX168.cuchost.com (172.16.6.78) X-YovoleRuleAgent: yovoleflag 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 (agentk.vger.email [0.0.0.0]); Thu, 14 Sep 2023 06:04:45 -0700 (PDT) X-Spam-Status: No, score=-2.2 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email On 2023/9/14 19:59, Conor Dooley wrote: > Hey, > > > On Thu, Sep 14, 2023 at 01:19:04PM +0200, Ulf Hansson wrote: >> The Kconfig belongs closer to the corresponding implementation, hence let's >> move it from the soc subsystem to the pmdomain subsystem. >> >> Cc: Walker Chen >> Cc: Conor Dooley >> Signed-off-by: Ulf Hansson > > Thanks for doing this, saved me having to! > The series appears to have broken threading though, which can be seen > pretty easily on lore: > https://lore.kernel.org/all/20230914111904.586744-1-ulf.hansson@linaro.org/ > Dunno if something is borked with your process while sending patches to > only a subset of the total recipient list. > >> --- >> MAINTAINERS | 2 +- >> drivers/pmdomain/Kconfig | 1 + >> drivers/{soc => pmdomain}/starfive/Kconfig | 0 >> drivers/soc/Kconfig | 1 - >> 4 files changed, 2 insertions(+), 2 deletions(-) >> rename drivers/{soc => pmdomain}/starfive/Kconfig (100%) >> >> diff --git a/MAINTAINERS b/MAINTAINERS >> index 6b491ebcf790..b8eae18f0fb1 100644 >> --- a/MAINTAINERS >> +++ b/MAINTAINERS >> @@ -20523,7 +20523,7 @@ M: Conor Dooley >> S: Maintained >> T: git https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/ >> F: Documentation/devicetree/bindings/soc/starfive/ >> -F: drivers/soc/starfive/ >> +F: drivers/pmdomain/starfive/ > > This isn't the correct change, just remove the drivers/soc/starfive > bit entirely from this entry. > I've just been doing some review & sending PRs to Arnd for this stuff > (or failing to send the PRs as you saw), I don't have particular > interest in this driver other than helping out the starfive people with > actually getting the code merged. > Instead I think you should generalise the existing entry for the driver > to cover the whole directory, so that it includes the Kconfig bits too: > > diff --git a/MAINTAINERS b/MAINTAINERS > index fa7487b7729b..22c1a5e5b130 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -20564,7 +20564,7 @@ M: Walker Chen > M: Changhuang Liang > S: Supported > F: Documentation/devicetree/bindings/power/starfive* > -F: drivers/pmdomain/starfive/jh71xx-pmu.c > +F: drivers/pmdomain/starfive/ > F: include/dt-bindings/power/starfive,jh7110-pmu.h > > STARFIVE SOC DRIVERS > Hi Conor, Anyway, thank you for helping maintain this driver as starfive people lack of experience in this area. You have indeed helped us a lot during this period. Best regards, Walker > Thanks, > Conor. > >> >> STARFIVE TRNG DRIVER >> M: Jia Jie Ho >> diff --git a/drivers/pmdomain/Kconfig b/drivers/pmdomain/Kconfig >> index cfe9ea754062..67049ebf7265 100644 >> --- a/drivers/pmdomain/Kconfig >> +++ b/drivers/pmdomain/Kconfig >> @@ -12,5 +12,6 @@ source "drivers/pmdomain/renesas/Kconfig" >> source "drivers/pmdomain/rockchip/Kconfig" >> source "drivers/pmdomain/samsung/Kconfig" >> source "drivers/pmdomain/st/Kconfig" >> +source "drivers/pmdomain/starfive/Kconfig" >> >> endmenu >> diff --git a/drivers/soc/starfive/Kconfig b/drivers/pmdomain/starfive/Kconfig >> similarity index 100% >> rename from drivers/soc/starfive/Kconfig >> rename to drivers/pmdomain/starfive/Kconfig >> diff --git a/drivers/soc/Kconfig b/drivers/soc/Kconfig >> index 8b46da40f107..10a9ff84ff41 100644 >> --- a/drivers/soc/Kconfig >> +++ b/drivers/soc/Kconfig >> @@ -23,7 +23,6 @@ source "drivers/soc/renesas/Kconfig" >> source "drivers/soc/rockchip/Kconfig" >> source "drivers/soc/samsung/Kconfig" >> source "drivers/soc/sifive/Kconfig" >> -source "drivers/soc/starfive/Kconfig" >> source "drivers/soc/sunxi/Kconfig" >> source "drivers/soc/tegra/Kconfig" >> source "drivers/soc/ti/Kconfig" >> -- >> 2.34.1 >>