[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8ca8192e-ccc1-41bb-a913-dd633d65ac54@gmail.com>
Date: Mon, 22 Sep 2025 16:55:57 -0700
From: Bo Gan <ganboing@...il.com>
To: Samuel Holland <samuel.holland@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>, linux-riscv@...ts.infradead.org,
Conor Dooley <conor@...nel.org>
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Alexandre Ghiti <alexghiti@...osinc.com>,
Lad Prabhakar <prabhakar.mahadev-lad.rj@...renesas.com>,
Emil Renner Berthing <kernel@...il.dk>, Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, uwu@...nowy.me
Subject: Re: [PATCH 00/11] riscv: Memory type control for platforms with
physical memory aliases
On 11/1/24 17:07, Samuel Holland wrote:
>
> On some RISC-V platforms, including StarFive JH7100 and ESWIN EIC7700,
> RAM is mapped to multiple physical address ranges, with each alias
> having a different set of statically-determined Physical Memory
> Attributes (PMAs). Software selects the PMAs for a page by choosing a
> PFN from the corresponding physical address range. On these platforms,
> this is the only way to allocate noncached memory for use with
> noncoherent DMA.
>
> - Patch 1 adds a new binding to describe physical memory regions in
> the devicetree.
> - Patches 2-6 refactor existing memory type support to be modeled as
> variants on top of Svpbmt.
> - Patches 7-10 add logic to transform the PFN to use the desired alias
> when reading/writing page tables.
> - Patch 11 enables this new method of memory type control on JH7100.
>
> I have boot-tested this series on platforms with each of the 4 ways to
> select a memory type: SiFive FU740 (none), QEMU (Svpbmt), Allwinner D1
> (XTheadMae), and ESWIN EIC7700 (aliases).
>
Hi Samuel,
Any update on this? I see ESWIN has started their EIC7700 upstreaming
effort, and it'll likely rely on this. Is there any follow up series?
BTW, Icenowy's working on upstreaming the Verisilicon DC8200 driver.
His work also depend on this patchset in order to test on JH7110/EIC7700
Thanks!
Powered by blists - more mailing lists