Skip to contentSkip to conversation

riscv: Kconfig: Add select ARM_AMBA to SOC_STARFIVE

PATCH Applied Jia Jie Ho 5 participants 10 messages May 25, 2023 – Dec 11, 2023 RISC-V

lore
Share & tools
lore

Jia Jie Ho

author
#0 lore raw

PATCH 1/1 riscv: Kconfig: Add select ARM_AMBA to SOC_STARFIVE

Selects ARM_AMBA platform support for StarFive SoCs required by spi and crypto dma engine.

---
 arch/riscv/Kconfig.socs | 1 +
 1 file changed, 1 insertion(+)
arch/riscv/Kconfig.socs +1 -0
index 1cf69f958f10..381cd46e6373 100644
@@ -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.
 
Signature · 1 line
2.25.1
#1 lore raw
Quoted 2 lines · Jia Jie Ho

Selects ARM_AMBA platform support for StarFive SoCs required by spi and crypto dma engine.

Thanks for sending this.
@Palmer, this depends on another commit not to introduce a build breakage. I'll assign it to myself on patchwork and grab it when it is okay to take.

Cheers,
Conor.

Quoted 20 lines
---
 arch/riscv/Kconfig.socs | 1 +
 1 file changed, 1 insertion(+)
arch/riscv/Kconfig.socs +1 -0
index 1cf69f958f10..381cd46e6373 100644
@@ -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.
 
Signature · 1 line
2.25.1
maintainer Acked-by
#2 lore raw
Quoted 29 lines · Conor Dooley
Quoted 2 lines · Jia Jie Ho

Selects ARM_AMBA platform support for StarFive SoCs required by spi and crypto dma engine.

Thanks for sending this.
@Palmer, this depends on another commit not to introduce a build breakage. I'll assign it to myself on patchwork and grab it when it is okay to take.

Cheers,
Conor.

Quoted 17 lines
---
 arch/riscv/Kconfig.socs | 1 +
 1 file changed, 1 insertion(+)
arch/riscv/Kconfig.socs +1 -0
index 1cf69f958f10..381cd46e6373 100644
@@ -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.
 
Quoted 3 lines
Quoted 3 lines
Signature · 1 line
2.25.1

Thanks!

#4 lore raw
Quoted 8 lines · Conor Dooley

From: Conor Dooley <[email protected]>

Quoted 4 lines · Jia Jie Ho

Selects ARM_AMBA platform support for StarFive SoCs required by spi and crypto dma engine.

Quoted 7 lines

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

#5 lore raw
Quoted 14 lines · Nam Cao
Quoted 13 lines · Conor Dooley

From: Conor Dooley <[email protected]>

Quoted 4 lines · Jia Jie Ho

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
Quoted 6 lines
Quoted 2 lines

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.

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv

#6 lore raw
In reply to Jia Jie Ho
Quoted 13 lines · Jia Jie Ho

Selects ARM_AMBA platform support for StarFive SoCs required by spi and crypto dma engine.

---
 arch/riscv/Kconfig.socs | 1 +
 1 file changed, 1 insertion(+)
arch/riscv/Kconfig.socs +0 -0
index 1cf69f958f10..381cd46e6373 100644

arch/riscv/Kconfig.socs config SOC_STARFIVE · line 34

Quoted 6 lines
arch/riscv/Kconfig.socs +1 -0
@@ -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

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv

#7 lore raw
Quoted 24 lines · Nam Cao
Quoted 13 lines · Jia Jie Ho

Selects ARM_AMBA platform support for StarFive SoCs required by spi and crypto dma engine.

---
 arch/riscv/Kconfig.socs | 1 +
 1 file changed, 1 insertion(+)
arch/riscv/Kconfig.socs +0 -0
index 1cf69f958f10..381cd46e6373 100644

arch/riscv/Kconfig.socs config SOC_STARFIVE · line 34

Quoted 6 lines
arch/riscv/Kconfig.socs +1 -0
@@ -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.

Quoted 2 lines

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.

#8 lore raw
Quoted 25 lines · On Tue, 28 Nov 2023 10:59:44 +0000 Conor Dooley <[email protected]>…
Quoted 24 lines · Nam Cao
Quoted 13 lines · Jia Jie Ho

Selects ARM_AMBA platform support for StarFive SoCs required by spi and crypto dma engine.

---
 arch/riscv/Kconfig.socs | 1 +
 1 file changed, 1 insertion(+)
arch/riscv/Kconfig.socs +0 -0
index 1cf69f958f10..381cd46e6373 100644

arch/riscv/Kconfig.socs config SOC_STARFIVE · line 34

Quoted 6 lines
arch/riscv/Kconfig.socs +1 -0
@@ -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.

Quoted 8 lines
Quoted 2 lines

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

#9 lore raw
Quoted 35 lines · Nam Cao
Quoted 25 lines · On Tue, 28 Nov 2023 10:59:44 +0000 Conor Dooley <[email protected]>…
Quoted 24 lines · Nam Cao
Quoted 13 lines · Jia Jie Ho

Selects ARM_AMBA platform support for StarFive SoCs required by spi and crypto dma engine.

---
 arch/riscv/Kconfig.socs | 1 +
 1 file changed, 1 insertion(+)
arch/riscv/Kconfig.socs +0 -0
index 1cf69f958f10..381cd46e6373 100644

arch/riscv/Kconfig.socs config SOC_STARFIVE · line 34

Quoted 6 lines
arch/riscv/Kconfig.socs +1 -0
@@ -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.

Quoted 8 lines
Quoted 2 lines

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.

Quoted 5 lines

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.