[PATCH 7/7] riscv: Kconfig.socs: Add ARCH_TENSTORRENT for Tenstorrent SoCs

Drew Fustini posted 7 patches 2 weeks, 4 days ago
[PATCH 7/7] riscv: Kconfig.socs: Add ARCH_TENSTORRENT for Tenstorrent SoCs
Posted by Drew Fustini 2 weeks, 4 days ago
From: Drew Fustini <dfustini@tenstorrent.com>

Add Kconfig option ARCH_TENSTORRENT to enable support for SoCs like the
Blackhole A0.

Signed-off-by: Drew Fustini <dfustini@tenstorrent.com>
---
 arch/riscv/Kconfig.socs | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
index 61ceae0aa27a6fa3a91da6a46becfd96da99fd09..ff733a998612d429e7b1e00276eb86290d8331a3 100644
--- a/arch/riscv/Kconfig.socs
+++ b/arch/riscv/Kconfig.socs
@@ -57,6 +57,14 @@ config ARCH_SUNXI
 	  This enables support for Allwinner sun20i platform hardware,
 	  including boards based on the D1 and D1s SoCs.
 
+config ARCH_TENSTORRENT
+	bool "Tenstorrent SoCs"
+	help
+	  This enables support for Tenstorrent SoC platforms.
+	  Current support is for Blackhole P100 and P150 PCIe cards.
+	  The Blackhole A0 SoC contains four RISC-V CPU tiles each
+	  consisting of 4x SiFive X280 cores.
+
 config ARCH_THEAD
 	bool "T-HEAD RISC-V SoCs"
 	depends on MMU && !XIP_KERNEL

-- 
2.34.1
Re: [PATCH 7/7] riscv: Kconfig.socs: Add ARCH_TENSTORRENT for Tenstorrent SoCs
Posted by Conor Dooley 2 weeks, 3 days ago
On Sat, Sep 13, 2025 at 02:31:06PM -0700, Drew Fustini wrote:
> From: Drew Fustini <dfustini@tenstorrent.com>
> 
> Add Kconfig option ARCH_TENSTORRENT to enable support for SoCs like the
> Blackhole A0.
> 
> Signed-off-by: Drew Fustini <dfustini@tenstorrent.com>
> ---
>  arch/riscv/Kconfig.socs | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
> index 61ceae0aa27a6fa3a91da6a46becfd96da99fd09..ff733a998612d429e7b1e00276eb86290d8331a3 100644
> --- a/arch/riscv/Kconfig.socs
> +++ b/arch/riscv/Kconfig.socs
> @@ -57,6 +57,14 @@ config ARCH_SUNXI
>  	  This enables support for Allwinner sun20i platform hardware,
>  	  including boards based on the D1 and D1s SoCs.
>  
> +config ARCH_TENSTORRENT
> +	bool "Tenstorrent SoCs"
> +	help
> +	  This enables support for Tenstorrent SoC platforms.
> +	  Current support is for Blackhole P100 and P150 PCIe cards.
> +	  The Blackhole A0 SoC contains four RISC-V CPU tiles each
> +	  consisting of 4x SiFive X280 cores.

Can you add this to defconfig too, so that it gets build by default in
that configuration?

> +
>  config ARCH_THEAD
>  	bool "T-HEAD RISC-V SoCs"
>  	depends on MMU && !XIP_KERNEL
> 
> -- 
> 2.34.1
> 
Re: [PATCH 7/7] riscv: Kconfig.socs: Add ARCH_TENSTORRENT for Tenstorrent SoCs
Posted by Drew Fustini 2 weeks, 2 days ago
On Mon, Sep 15, 2025 at 05:48:06PM +0100, Conor Dooley wrote:
> On Sat, Sep 13, 2025 at 02:31:06PM -0700, Drew Fustini wrote:
> > From: Drew Fustini <dfustini@tenstorrent.com>
> > 
> > Add Kconfig option ARCH_TENSTORRENT to enable support for SoCs like the
> > Blackhole A0.
> > 
> > Signed-off-by: Drew Fustini <dfustini@tenstorrent.com>
> > ---
> >  arch/riscv/Kconfig.socs | 8 ++++++++
> >  1 file changed, 8 insertions(+)
> > 
> > diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
> > index 61ceae0aa27a6fa3a91da6a46becfd96da99fd09..ff733a998612d429e7b1e00276eb86290d8331a3 100644
> > --- a/arch/riscv/Kconfig.socs
> > +++ b/arch/riscv/Kconfig.socs
> > @@ -57,6 +57,14 @@ config ARCH_SUNXI
> >  	  This enables support for Allwinner sun20i platform hardware,
> >  	  including boards based on the D1 and D1s SoCs.
> >  
> > +config ARCH_TENSTORRENT
> > +	bool "Tenstorrent SoCs"
> > +	help
> > +	  This enables support for Tenstorrent SoC platforms.
> > +	  Current support is for Blackhole P100 and P150 PCIe cards.
> > +	  The Blackhole A0 SoC contains four RISC-V CPU tiles each
> > +	  consisting of 4x SiFive X280 cores.
> 
> Can you add this to defconfig too, so that it gets build by default in
> that configuration?

Sure, will do.

Thanks,
Drew