From: Ben Dooks <ben.dooks@codethink.co.uk>
To: Conor Dooley <conor@kernel.org>,
Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
Cc: Emil Renner Berthing <emil.renner.berthing@canonical.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Thomas Gleixner <tglx@linutronix.de>,
Paul Walmsley <paul.walmsley@sifive.com>,
Samuel Holland <samuel.holland@sifive.com>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
Min Lin <linmin@eswincomputing.com>,
Pritesh Patel <pritesh.patel@einfochips.com>,
Yangyu Chen <cyy@cyyself.name>,
Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>,
Yu Chien Peter Lin <peterlin@andestech.com>,
Charlie Jenkins <charlie@rivosinc.com>,
Kanak Shilledar <kanakshilledar@gmail.com>,
Darshan Prajapati <darshan.prajapati@einfochips.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Heiko Stuebner <heiko@sntech.de>,
Aradhya Bhatia <a-bhatia1@ti.com>,
"rafal@milecki.pl" <rafal@milecki.pl>,
Anup Patel <anup@brainfault.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-riscv@lists.infradead.org"
<linux-riscv@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2 09/10] riscv: dts: add initial support for EIC7700 SoC
Date: Wed, 26 Mar 2025 18:13:21 +0000 [thread overview]
Message-ID: <f38e690b-2eaa-461c-87e6-72927a02bc9e@codethink.co.uk> (raw)
In-Reply-To: <20250326-headpiece-muskiness-dc167183018e@spud>
On 26/03/2025 17:55, Conor Dooley wrote:
> On Wed, Mar 26, 2025 at 02:20:55PM +0000, Pinkesh Vaghela wrote:
>> On Tue, Mar 25, 2025 at 7:06 PM, Emil Renner Berthing wrote:
>>> Pinkesh Vaghela wrote:
>>>> + soc {
>>>> + compatible = "simple-bus";
>>>> + ranges;
>>>> + interrupt-parent = <&plic>;
>>>> + #address-cells = <2>;
>>>> + #size-cells = <2>;
>>>
>>> Hi Pinkesh,
>>>
>>> Thank your for the patches!
>>>
>>> Should this not be marked dma-noncoherent to avoid having to mark each
>>> peripheral as such?
>>
>> Thanks for your feedback.
>>
>> We have not added "dma-noncoherent" because there are no DMA-capable
>> peripherals in the devicetree yet.
>> We planned to add this later when we add any DMA capable devices
>> i.e. sdhci, gmac, sata, pcie, spi.
>>
>> Do you recommend to add this property in current version?
>
> If the bus is not cache coherent, then it should be marked as such now.
If it was like any other P550, then the DMA has to go via the cache
coherent part of the interconnect which is a different address space
that maps into the same bus the P550 and cache controllers are on.
You just need to add the right node to map the DMA addresses and then
have the pain of what happens when there's no memory in the 32bit
address space.
--
Ben Dooks http://www.codethink.co.uk/
Senior Engineer Codethink - Providing Genius
https://www.codethink.co.uk/privacy.html
next prev parent reply other threads:[~2025-03-26 18:14 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-20 10:54 [PATCH v2 00/10] Basic device tree support for ESWIN EIC7700 RISC-V SoC Pinkesh Vaghela
2025-03-20 10:54 ` [PATCH v2 01/10] dt-bindings: riscv: Add SiFive P550 CPU compatible Pinkesh Vaghela
2025-03-20 10:54 ` [PATCH v2 02/10] riscv: Add Kconfig option for ESWIN platforms Pinkesh Vaghela
2025-03-20 10:54 ` [PATCH v2 03/10] dt-bindings: vendor-prefixes: add eswin Pinkesh Vaghela
2025-03-20 10:54 ` [PATCH v2 04/10] dt-bindings: riscv: Add SiFive HiFive Premier P550 board Pinkesh Vaghela
2025-03-21 21:54 ` Rob Herring (Arm)
2025-03-20 10:54 ` [PATCH v2 05/10] dt-bindings: cache: sifive,ccache0: Add ESWIN EIC7700 SoC compatibility Pinkesh Vaghela
2025-03-20 10:54 ` [PATCH v2 06/10] cache: sifive_ccache: Add ESWIN EIC7700 support Pinkesh Vaghela
2025-03-20 10:54 ` [PATCH v2 07/10] dt-bindings: interrupt-controller: Add ESWIN EIC7700 PLIC Pinkesh Vaghela
2025-03-20 10:54 ` [PATCH v2 08/10] dt-bindings: timer: Add ESWIN EIC7700 CLINT Pinkesh Vaghela
2025-03-20 10:54 ` [PATCH v2 09/10] riscv: dts: add initial support for EIC7700 SoC Pinkesh Vaghela
2025-03-25 13:35 ` Emil Renner Berthing
2025-03-26 14:20 ` Pinkesh Vaghela
2025-03-26 17:55 ` Conor Dooley
2025-03-26 18:13 ` Ben Dooks [this message]
2025-03-27 9:52 ` Emil Renner Berthing
2025-03-20 10:54 ` [PATCH v2 10/10] riscv: dts: eswin: add HiFive Premier P550 board device tree Pinkesh Vaghela
2025-03-21 16:21 ` (subset) [PATCH v2 00/10] Basic device tree support for ESWIN EIC7700 RISC-V SoC Conor Dooley
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=f38e690b-2eaa-461c-87e6-72927a02bc9e@codethink.co.uk \
--to=ben.dooks@codethink.co.uk \
--cc=a-bhatia1@ti.com \
--cc=anup@brainfault.org \
--cc=aou@eecs.berkeley.edu \
--cc=charlie@rivosinc.com \
--cc=conor@kernel.org \
--cc=cyy@cyyself.name \
--cc=daniel.lezcano@linaro.org \
--cc=darshan.prajapati@einfochips.com \
--cc=devicetree@vger.kernel.org \
--cc=emil.renner.berthing@canonical.com \
--cc=heiko@sntech.de \
--cc=kanakshilledar@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=linmin@eswincomputing.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=neil.armstrong@linaro.org \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=peterlin@andestech.com \
--cc=pinkesh.vaghela@einfochips.com \
--cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
--cc=pritesh.patel@einfochips.com \
--cc=rafal@milecki.pl \
--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