Skip to contentSkip to conversation

Backport riscv kconfig for v6.6

PATCH New Nam Cao 2 participants 4 messages Dec 11, 2023

Subsystems (2)
lore
Share & tools
lore

Nam Cao

author
#0 lore raw

Hi,

Please backport 78a03b9f8e6b ("riscv: Kconfig: Add select ARM_AMBA to SOC_STARFIVE") to v6.6

Without this, it is not possible to configure the kernel with SPI drivers for the Visionfive 2 board.

This one depends a1a5f2c88725 ("dmaengine: pl330: rename _start to prevent build error"), which is already in stable.

It should be backported to v6.1 too, but it does not apply cleanly. So I will send a patch for that.

Best regards,
Nam

#1 lore raw
Quoted 2 lines · Nam Cao

Without this, it is not possible to configure the kernel with SPI drivers for the Visionfive 2 board.

Is it? There is nothing that stops you from just enabling it.

Signature · 3 lines
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
author
#2 lore raw
Quoted 6 lines · On Mon, 11 Dec 2023 15:10:02 +0100 Andreas Schwab <[email protected]> wrote:
Quoted 2 lines · Nam Cao

Without this, it is not possible to configure the kernel with SPI drivers for the Visionfive 2 board.

Is it? There is nothing that stops you from just enabling it.

config SPI_PL022
tristate "ARM AMBA PL022 SSP controller"
depends on ARM_AMBA

The "depends on" stops me.

Best regards,
Nam

author
#3 lore raw

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

In reply to Nam Cao

From: Jia Jie Ho <[email protected]>

[ Upstream commit 78a03b9f8e6b317f7c65738a3fc60e1e85106a64 ]

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

[ resolve conflict due to removal of "select SIFIVE_PLIC" ]
---
 arch/riscv/Kconfig.socs | 1 +
 1 file changed, 1 insertion(+)
arch/riscv/Kconfig.socs +1 -0
index 69774bb362d6..29d78eefc889 100644
@@ -23,6 +23,7 @@ config SOC_STARFIVE
 	select PINCTRL
 	select RESET_CONTROLLER
 	select SIFIVE_PLIC
+	select ARM_AMBA
 	help
 	  This enables support for StarFive SoC platform hardware.
 
Signature · 1 line
2.39.2