All of lore.kernel.org
 help / color / mirror / Atom feed
* Kendryte K210: state of MMU support?
@ 2020-06-28 15:54 Drew Fustini
  2020-06-28 19:56 ` Sean Anderson
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Fustini @ 2020-06-28 15:54 UTC (permalink / raw)
  To: linux-riscv, Atish Patra, Anup Patel, Damien Le Moal,
	Sean Anderson, Carlos Eduardo de Paula

Hello - as far as I know, the MMU in the K210 is still not supported by Linux.

Anyone know of progress that has been made?

Thanks,
Drew

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Kendryte K210: state of MMU support?
  2020-06-28 15:54 Kendryte K210: state of MMU support? Drew Fustini
@ 2020-06-28 19:56 ` Sean Anderson
  0 siblings, 0 replies; 2+ messages in thread
From: Sean Anderson @ 2020-06-28 19:56 UTC (permalink / raw)
  To: Drew Fustini, linux-riscv, Atish Patra, Anup Patel,
	Damien Le Moal, Carlos Eduardo de Paula

On 6/28/20 11:54 AM, Drew Fustini wrote:
> Hello - as far as I know, the MMU in the K210 is still not supported by Linux.
> 
> Anyone know of progress that has been made?
> 
> Thanks,
> Drew
> 

AFAIK support for the MMU is not planned, since it follows an older
version of the privilege-mode specs. For discussion, see [1], [2].

The CSRs to configure the MMU on the K210 can only be accessed via
M-mode, so the existing boot-chain with OpenSBI before Linux would not
work. In addition, as discussed in [1], there are some ties between
M-mode Linux and NOMMU on riscv. Aside from that, the only other major
differences are in the layout of some CSRs.

--Sean

[1] https://lore.kernel.org/linux-riscv/mhng-a9c74759-ab94-4270-a993-9df380811220@palmerdabbelt-glaptop1/T/#m56d9c49c53b104e282106005bf6d289cad4970a3
[2] https://lore.kernel.org/linux-riscv/20200312051107.1454880-1-damien.lemoal@wdc.com/T/#m137c2c073481f21207c92633550e6465ffc1c550


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-28 19:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-28 15:54 Kendryte K210: state of MMU support? Drew Fustini
2020-06-28 19:56 ` Sean Anderson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.