* Backport riscv kconfig for v6.6
@ 2023-12-11 13:57 Nam Cao
2023-12-11 14:10 ` Andreas Schwab
2023-12-11 14:15 ` [PATCH v6.1] riscv: Kconfig: Add select ARM_AMBA to SOC_STARFIVE Nam Cao
0 siblings, 2 replies; 4+ messages in thread
From: Nam Cao @ 2023-12-11 13:57 UTC (permalink / raw)
To: stable; +Cc: jiajie.ho, palmer, conor.dooley, linux-riscv, linux-kernel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Backport riscv kconfig for v6.6
2023-12-11 13:57 Backport riscv kconfig for v6.6 Nam Cao
@ 2023-12-11 14:10 ` Andreas Schwab
2023-12-11 14:11 ` Nam Cao
2023-12-11 14:15 ` [PATCH v6.1] riscv: Kconfig: Add select ARM_AMBA to SOC_STARFIVE Nam Cao
1 sibling, 1 reply; 4+ messages in thread
From: Andreas Schwab @ 2023-12-11 14:10 UTC (permalink / raw)
To: Nam Cao; +Cc: stable, jiajie.ho, palmer, conor.dooley, linux-riscv,
linux-kernel
On Dez 11 2023, Nam Cao wrote:
> 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.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Backport riscv kconfig for v6.6
2023-12-11 14:10 ` Andreas Schwab
@ 2023-12-11 14:11 ` Nam Cao
0 siblings, 0 replies; 4+ messages in thread
From: Nam Cao @ 2023-12-11 14:11 UTC (permalink / raw)
To: Andreas Schwab
Cc: stable, jiajie.ho, palmer, conor.dooley, linux-riscv,
linux-kernel
On Mon, 11 Dec 2023 15:10:02 +0100 Andreas Schwab <schwab@suse.de> wrote:
> On Dez 11 2023, Nam Cao wrote:
>
> > 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v6.1] riscv: Kconfig: Add select ARM_AMBA to SOC_STARFIVE
2023-12-11 13:57 Backport riscv kconfig for v6.6 Nam Cao
2023-12-11 14:10 ` Andreas Schwab
@ 2023-12-11 14:15 ` Nam Cao
1 sibling, 0 replies; 4+ messages in thread
From: Nam Cao @ 2023-12-11 14:15 UTC (permalink / raw)
To: stable; +Cc: jiajie.ho, palmer, conor.dooley, linux-riscv, linux-kernel,
Nam Cao
From: Jia Jie Ho <jiajie.ho@starfivetech.com>
[ Upstream commit 78a03b9f8e6b317f7c65738a3fc60e1e85106a64 ]
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>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
[ resolve conflict due to removal of "select SIFIVE_PLIC" ]
Signed-off-by: Nam Cao <namcao@linutronix.de>
---
arch/riscv/Kconfig.socs | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
index 69774bb362d6..29d78eefc889 100644
--- a/arch/riscv/Kconfig.socs
+++ b/arch/riscv/Kconfig.socs
@@ -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.
--
2.39.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-12-11 14:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-11 13:57 Backport riscv kconfig for v6.6 Nam Cao
2023-12-11 14:10 ` Andreas Schwab
2023-12-11 14:11 ` Nam Cao
2023-12-11 14:15 ` [PATCH v6.1] riscv: Kconfig: Add select ARM_AMBA to SOC_STARFIVE Nam Cao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox