Re: [PATCH] riscv: Add RISC-V svpbmt extension

From: Guo Ren
Date: Thu Sep 23 2021 - 08:06:23 EST


On Thu, Sep 23, 2021 at 6:09 PM Nick Kossifidis <mick@xxxxxxxxxxxx> wrote:
>
> Στις 2021-09-23 13:04, Philipp Tomsich έγραψε:
> >
> > How if we expand this to a mmu subnode in cpu@x and add a booleans for
> > adornments like svnapot and svpbmt?
> > The older mmu-type could then treated to indicate a mmu w/o any
> > adornments specified. I am aware that this generates an additional
> > parsing-path that will be maintained, but it will allow future
> > properties to be grouped.
> >
> > cpu@0 {
> > ...
> > mmu {
> > type = "riscv,sv39";
> > supports-svpbmt;
> > }
> > ...
> > }
>
> I was about to propose the same thing, we can do this now without
> breaking backwards compatibility, we don't really use mmu-type property
> at this point, we are either sv39 or nommu.

It should be another patch.

--
Best Regards
Guo Ren

ML: https://lore.kernel.org/linux-csky/