From: Drew Fustini <fustini@kernel.org>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Paul Walmsley <paul.walmsley@sifive.com>,
Palmer Dabbelt <palmer@dabbelt.com>,
Alexandre Ghiti <alex@ghiti.fr>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Samuel Holland <samuel.holland@sifive.com>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
Thomas Gleixner <tglx@linutronix.de>,
Anup Patel <anup@brainfault.org>, Arnd Bergmann <arnd@arndb.de>,
Joel Stanley <jms@oss.tenstorrent.com>,
Joel Stanley <joel@jms.id.au>,
Michael Neuling <mikey@neuling.org>,
Nicholas Piggin <npiggin@gmail.com>,
Michael Ellerman <mpe@kernel.org>, Andy Gross <agross@kernel.org>,
Anirudh Srinivasan <asrinivasan@tenstorrent.com>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-riscv@lists.infradead.org,
Drew Fustini <dfustini@oss.tenstorrent.com>
Subject: Re: [PATCH v2 6/8] riscv: dts: Add Tenstorrent Blackhole SoC PCIe cards
Date: Mon, 6 Oct 2025 20:38:08 -0700 [thread overview]
Message-ID: <aOSLICqS1Hxi9gBF@x1> (raw)
In-Reply-To: <a05be32b-dc8f-444f-8c1c-2d49eb19536d@kernel.org>
On Tue, Oct 07, 2025 at 10:20:43AM +0900, Krzysztof Kozlowski wrote:A
> On 07/10/2025 06:21, Drew Fustini wrote:
> > From: Drew Fustini <dfustini@oss.tenstorrent.com>
> >
> > Add device tree source describing the Tenstorrent Blackhole SoC and the
> > Blackhole P100 and P150 PCIe cards. There are no differences between
> > the P100 and P150 cards from the perspective of an OS kernel like Linux
> > running on the X280 cores.
> >
> > Link: https://github.com/tenstorrent/tt-isa-documentation/blob/main/BlackholeA0/
> > Signed-off-by: Drew Fustini <dfustini@oss.tenstorrent.com>
Thanks for the review.
[snip]
> > + cpus {
> > + #address-cells = <0x1>;
> > + #size-cells = <0x0>;
>
> Cells are not hex. Please use decimal everywhere.
Okay, I'll change.
> > + timebase-frequency = <50000000>;
> > +
> > + cpu@0 {
> > + compatible = "sifive,x280", "sifive,rocket0", "riscv";
> > + device_type = "cpu";
> > + reg = <0>;
> > + mmu-type = "riscv,sv57";
> > + riscv,isa-base = "rv64i";
> > + riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "v", "zicsr",
> > + "zifencei", "zfh", "zba", "zbb", "sscofpmf";
>
> Blank line
Ack.
[snip]
>
> You should have at least serial or any other interface, otherwise I
> don't see how this can be used at this stage.
The goal for upstreaming this minimal device tree is to make it possible
to boot mainline kernel builds. I attended the KernelCI workshop after
ELC-EU and learned there are not many RISC-V boards doing boot tests. We
already have Blackhole cards in servers that could be used for CI, so my
goal is to enable mainline to boot on Blackhole.
I had an explanation about the serial console in the cover letter but
I'll change the commit message in this patch for the next rev:
-------------------------------------------------
From: Drew Fustini <dfustini@oss.tenstorrent.com>
Add device tree source describing the Tenstorrent Blackhole SoC and the
Blackhole P100 and P150 PCIe cards. There are no differences between
the P100 and P150 cards from the perspective of an OS kernel like Linux
running on the X280 cores.
There is a virtual UART implemented in OpenSBI firmware that allows a
console program on the PCIe host to communicate through shared memory
with Linux running on the Blackhole card. CONFIG_HVC_RISCV_SBI needs to
be enabled. The boot script on the host adds 'console=hvc0' so that the
full boot output appears in the console program on the host.
Link: https://github.com/tenstorrent/opensbi/
Link: https://github.com/tenstorrent/tt-bh-linux
Signed-off-by: Drew Fustini <dfustini@oss.tenstorrent.com>
-------------------------------------------------
Thanks,
Drew
next prev parent reply other threads:[~2025-10-07 3:38 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-06 21:21 [PATCH v2 0/8] RISC-V: Add support for Tenstorrent Blackhole SoC Drew Fustini
2025-10-06 21:21 ` [PATCH v2 1/8] dt-bindings: vendor-prefixes: Add Tenstorrent AI ULC Drew Fustini
2025-10-06 21:21 ` [PATCH v2 2/8] dt-bindings: riscv: Add Tenstorrent Blackhole compatible Drew Fustini
2025-10-06 21:21 ` [PATCH v2 3/8] dt-bindings: riscv: cpus: Add SiFive X280 compatible Drew Fustini
2025-10-06 21:21 ` [PATCH v2 4/8] dt-bindings: timers: Add Tenstorrent Blackhole compatible Drew Fustini
2025-10-09 20:56 ` Rob Herring (Arm)
2025-10-06 21:21 ` [PATCH v2 5/8] dt-bindings: interrupt-controller: " Drew Fustini
2025-10-09 20:57 ` Rob Herring (Arm)
2025-10-06 21:21 ` [PATCH v2 6/8] riscv: dts: Add Tenstorrent Blackhole SoC PCIe cards Drew Fustini
2025-10-07 1:20 ` Krzysztof Kozlowski
2025-10-07 2:56 ` Joel Stanley
2025-10-07 3:02 ` Krzysztof Kozlowski
2025-10-07 3:38 ` Drew Fustini [this message]
2025-10-06 21:21 ` [PATCH v2 7/8] riscv: Kconfig.socs: Add ARCH_TENSTORRENT for Tenstorrent SoCs Drew Fustini
2025-10-06 21:21 ` [PATCH v2 8/8] riscv: defconfig: Enable " Drew Fustini
2025-10-07 1:02 ` [PATCH v2 0/8] RISC-V: Add support for Tenstorrent Blackhole SoC Joel Stanley
2025-10-07 3:00 ` Joel Stanley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aOSLICqS1Hxi9gBF@x1 \
--to=fustini@kernel.org \
--cc=agross@kernel.org \
--cc=alex@ghiti.fr \
--cc=anup@brainfault.org \
--cc=arnd@arndb.de \
--cc=asrinivasan@tenstorrent.com \
--cc=conor+dt@kernel.org \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=dfustini@oss.tenstorrent.com \
--cc=jms@oss.tenstorrent.com \
--cc=joel@jms.id.au \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=mikey@neuling.org \
--cc=mpe@kernel.org \
--cc=npiggin@gmail.com \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=robh@kernel.org \
--cc=samuel.holland@sifive.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).