Message ID | 20230525061836.79223-1-jiajie.ho@starfivetech.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp162245vqr; Wed, 24 May 2023 23:59:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5aECcmR9x1qFCpNsMMNhKii4ss7qyWCQuxY1cKVXAoNk0WGv4c8lAIvcB20mBXYtKrLFKC X-Received: by 2002:a05:6a20:12cb:b0:10e:d4fb:b034 with SMTP id v11-20020a056a2012cb00b0010ed4fbb034mr2918359pzg.28.1684997964319; Wed, 24 May 2023 23:59:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684997964; cv=none; d=google.com; s=arc-20160816; b=A/Vt3dduJB54pwtH8SjKH4d6y7TA54ltdklAF6Rp/A0IfxcdPG0e9E+hGf1OPAUf51 j7/37DIgixTEuS2DKesA6lKTaoaJHNy1vhf6A0/TND+2POSg3e7+JRGx1+UFY3jQ9sG/ QVmoxCnxmtetltUonD6FUPmk/4kJDLfCYwnBmyEHYv6cw1CehYSMCwWiNFpYgQ13nLx9 L0iDbNnCmKNgC6Cl41S09wDKiouHqFhdUWZkCFfdUpqT27ZU2pX9YHOn+SVCX8+tUwtC CgTdajYQfL5L4ZREqARH1ewkGC/FBgL7xpHLxObYW/QVhCDc4Y89WWVmR9ps2Q4u33h6 9GNQ== 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; bh=5ZuAVR6Tk+u5BC2u9T6dKXLDqkmeU3/KG0TzjMoxcsM=; b=rUCCKkgp86x+rnHRTJImq9OLibsMTrPyUDwpEO4SEdsk+J6VW7I0wbt1SlZKIu1T8M /6aiSDZof7iFLJlX+1BXOKrAK6fs+ztP8XbA7svjOtYskY8KIbSRVK3nBSpV7qYybrXt gpXzxfSszGgFHqDFGm/4X+YnsGSjSXtAStUs6Es5eSd8UlWXWHz4cPiWc+pqjCuYWTUY Clfe3Ny36HAY14kq50IJq4p1fn7GittCR8/NIdLUnPdo+xtiL0GOFSMXEwZcdk/lNo/b Z2Owk8+o6AEmHQO1PdNHsCYnABlEVEK24fb/iCOEX8iGxwawtJ/9HxoKPEqe/Xji+jf3 Fkog== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y25-20020a63b519000000b00535401db8d9si431382pge.674.2023.05.24.23.59.10; Wed, 24 May 2023 23:59:24 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232787AbjEYGS5 convert rfc822-to-8bit (ORCPT <rfc822;ahmedalshaiji.dev@gmail.com> + 99 others); Thu, 25 May 2023 02:18:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229657AbjEYGSy (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 25 May 2023 02:18:54 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8675E7 for <linux-kernel@vger.kernel.org>; Wed, 24 May 2023 23:18:49 -0700 (PDT) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 2F59517ED4; Thu, 25 May 2023 14:18:42 +0800 (CST) Received: from EXMBX168.cuchost.com (172.16.6.78) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 25 May 2023 14:18:42 +0800 Received: from ubuntu.localdomain (202.188.176.82) by EXMBX168.cuchost.com (172.16.6.78) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 25 May 2023 14:18:39 +0800 From: Jia Jie Ho <jiajie.ho@starfivetech.com> To: Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Conor Dooley <conor.dooley@microchip.com> CC: <linux-riscv@lists.infradead.org>, <linux-kernel@vger.kernel.org> Subject: [PATCH] riscv: Kconfig: Add select ARM_AMBA to SOC_STARFIVE Date: Thu, 25 May 2023 14:18:36 +0800 Message-ID: <20230525061836.79223-1-jiajie.ho@starfivetech.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [202.188.176.82] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX168.cuchost.com (172.16.6.78) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766847745135125685?= X-GMAIL-MSGID: =?utf-8?q?1766848425635622388?= |
Series |
riscv: Kconfig: Add select ARM_AMBA to SOC_STARFIVE
|
|
Commit Message
JiaJie Ho
May 25, 2023, 6:18 a.m. UTC
Selects ARM_AMBA platform support for StarFive SoCs required by spi and
crypto dma engine.
Signed-off-by: Jia Jie Ho <jiajie.ho@starfivetech.com>
---
arch/riscv/Kconfig.socs | 1 +
1 file changed, 1 insertion(+)
Comments
From: Conor Dooley <conor.dooley@microchip.com> On Thu, 25 May 2023 14:18:36 +0800, Jia Jie Ho wrote: > Selects ARM_AMBA platform support for StarFive SoCs required by spi and > crypto dma engine. > > Applied to riscv-soc-for-next, thanks! [1/1] riscv: Kconfig: Add select ARM_AMBA to SOC_STARFIVE https://git.kernel.org/conor/c/1fcaaa1d489c Thanks, Conor.
On Sun, Jul 09, 2023 at 11:10:47PM +0100, Conor Dooley wrote: > From: Conor Dooley <conor.dooley@microchip.com> > > On Thu, 25 May 2023 14:18:36 +0800, Jia Jie Ho wrote: > > Selects ARM_AMBA platform support for StarFive SoCs required by spi and > > crypto dma engine. > > > > > > Applied to riscv-soc-for-next, thanks! > > [1/1] riscv: Kconfig: Add select ARM_AMBA to SOC_STARFIVE > https://git.kernel.org/conor/c/1fcaaa1d489c > > Thanks, > Conor. Sorry if it's a stupid question, but did this patch get lost somehow? It hasn't made it to Linus's tree, and there is this message in your tree: "Notice: this object is not reachable from any branch." Best regards, Nam
On Mon, Oct 16, 2023 at 03:26:13PM +0200, Nam Cao wrote: > On Sun, Jul 09, 2023 at 11:10:47PM +0100, Conor Dooley wrote: > > From: Conor Dooley <conor.dooley@microchip.com> > > > > On Thu, 25 May 2023 14:18:36 +0800, Jia Jie Ho wrote: > > > Selects ARM_AMBA platform support for StarFive SoCs required by spi and > > > crypto dma engine. > > > > > > > > > > Applied to riscv-soc-for-next, thanks! > > > > [1/1] riscv: Kconfig: Add select ARM_AMBA to SOC_STARFIVE > > https://git.kernel.org/conor/c/1fcaaa1d489c > > > > Thanks, > > Conor. > > Sorry if it's a stupid question, but did this patch get lost somehow? It > hasn't made it to Linus's tree, and there is this message in your tree: > "Notice: this object is not reachable from any branch." No, it is not a stupid question sadly. I screwed up and forgot to send a PR for that branch to Arnd, only realising _after_ the merge window had closed already. It'll be in 6.7, the branch got rebased so the hash is no longer valid.
On Thu, May 25, 2023 at 02:18:36PM +0800, Jia Jie Ho wrote: > Selects ARM_AMBA platform support for StarFive SoCs required by spi and > crypto dma engine. > > Signed-off-by: Jia Jie Ho <jiajie.ho@starfivetech.com> > --- > arch/riscv/Kconfig.socs | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs > index 1cf69f958f10..381cd46e6373 100644 > --- a/arch/riscv/Kconfig.socs > +++ b/arch/riscv/Kconfig.socs > @@ -29,6 +29,7 @@ config SOC_STARFIVE > bool "StarFive SoCs" > select PINCTRL > select RESET_CONTROLLER > + select ARM_AMBA > help > This enables support for StarFive SoC platform hardware. I'm considering sending this to stable trees. Without this, it is not possible to configure the kernel with SPI driver for the starfive board. I just want to check with you first, in case I miss something obvious. Any objection to backporting this patch? Best regards, Nam
On Tue, Nov 28, 2023 at 11:27:22AM +0100, Nam Cao wrote: > On Thu, May 25, 2023 at 02:18:36PM +0800, Jia Jie Ho wrote: > > Selects ARM_AMBA platform support for StarFive SoCs required by spi and > > crypto dma engine. > > > > Signed-off-by: Jia Jie Ho <jiajie.ho@starfivetech.com> > > --- > > arch/riscv/Kconfig.socs | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs > > index 1cf69f958f10..381cd46e6373 100644 > > --- a/arch/riscv/Kconfig.socs > > +++ b/arch/riscv/Kconfig.socs > > @@ -29,6 +29,7 @@ config SOC_STARFIVE > > bool "StarFive SoCs" > > select PINCTRL > > select RESET_CONTROLLER > > + select ARM_AMBA > > help > > This enables support for StarFive SoC platform hardware. > > I'm considering sending this to stable trees. Without this, it is not > possible to configure the kernel with SPI driver for the starfive board. > > I just want to check with you first, in case I miss something obvious. > Any objection to backporting this patch? Personally I would be okay with that, otherwise the driver is dead code in those stable versions. Just be sure that the rename of some pl011 variables (I think that's what it was) that was a pre-req for this being merged is in said versions of stable. An allmodconfig should flag whether that has happened pretty quickly.
On Tue, 28 Nov 2023 10:59:44 +0000 Conor Dooley <conor.dooley@microchip.com> wrote: > On Tue, Nov 28, 2023 at 11:27:22AM +0100, Nam Cao wrote: > > On Thu, May 25, 2023 at 02:18:36PM +0800, Jia Jie Ho wrote: > > > Selects ARM_AMBA platform support for StarFive SoCs required by spi and > > > crypto dma engine. > > > > > > Signed-off-by: Jia Jie Ho <jiajie.ho@starfivetech.com> > > > --- > > > arch/riscv/Kconfig.socs | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs > > > index 1cf69f958f10..381cd46e6373 100644 > > > --- a/arch/riscv/Kconfig.socs > > > +++ b/arch/riscv/Kconfig.socs > > > @@ -29,6 +29,7 @@ config SOC_STARFIVE > > > bool "StarFive SoCs" > > > select PINCTRL > > > select RESET_CONTROLLER > > > + select ARM_AMBA > > > help > > > This enables support for StarFive SoC platform hardware. > > > > I'm considering sending this to stable trees. Without this, it is not > > possible to configure the kernel with SPI driver for the starfive board. > > > > I just want to check with you first, in case I miss something obvious. > > Any objection to backporting this patch? > > Personally I would be okay with that, otherwise the driver is dead code > in those stable versions. Just be sure that the rename of some pl011 > variables (I think that's what it was) that was a pre-req for this being > merged is in said versions of stable. An allmodconfig should flag > whether that has happened pretty quickly. Thanks for the info. I think I found what you are talking about: a1a5f2c88725 ("dmaengine: pl330: rename _start to prevent build error") It's been a while and no one else said anything, so I am going forward with this. Best regards, Nam
On Mon, Dec 11, 2023 at 02:36:11PM +0100, Nam Cao wrote: > On Tue, 28 Nov 2023 10:59:44 +0000 Conor Dooley <conor.dooley@microchip.com> wrote: > > On Tue, Nov 28, 2023 at 11:27:22AM +0100, Nam Cao wrote: > > > On Thu, May 25, 2023 at 02:18:36PM +0800, Jia Jie Ho wrote: > > > > Selects ARM_AMBA platform support for StarFive SoCs required by spi and > > > > crypto dma engine. > > > > > > > > Signed-off-by: Jia Jie Ho <jiajie.ho@starfivetech.com> > > > > --- > > > > arch/riscv/Kconfig.socs | 1 + > > > > 1 file changed, 1 insertion(+) > > > > > > > > diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs > > > > index 1cf69f958f10..381cd46e6373 100644 > > > > --- a/arch/riscv/Kconfig.socs > > > > +++ b/arch/riscv/Kconfig.socs > > > > @@ -29,6 +29,7 @@ config SOC_STARFIVE > > > > bool "StarFive SoCs" > > > > select PINCTRL > > > > select RESET_CONTROLLER > > > > + select ARM_AMBA > > > > help > > > > This enables support for StarFive SoC platform hardware. > > > > > > I'm considering sending this to stable trees. Without this, it is not > > > possible to configure the kernel with SPI driver for the starfive board. > > > > > > I just want to check with you first, in case I miss something obvious. > > > Any objection to backporting this patch? > > > > Personally I would be okay with that, otherwise the driver is dead code > > in those stable versions. Just be sure that the rename of some pl011 > > variables (I think that's what it was) that was a pre-req for this being > > merged is in said versions of stable. An allmodconfig should flag > > whether that has happened pretty quickly. > > Thanks for the info. I think I found what you are talking about: > a1a5f2c88725 ("dmaengine: pl330: rename _start to prevent build error") > > It's been a while and no one else said anything, so I am going forward with > this. Yeah, that's the one. Sorry that I did not recall correctly.
diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs index 1cf69f958f10..381cd46e6373 100644 --- a/arch/riscv/Kconfig.socs +++ b/arch/riscv/Kconfig.socs @@ -29,6 +29,7 @@ config SOC_STARFIVE bool "StarFive SoCs" select PINCTRL select RESET_CONTROLLER + select ARM_AMBA help This enables support for StarFive SoC platform hardware.