Libre RISC-V Mailing list Archives (accessible via public-inbox)
 help / color / Atom feed
* [libre-riscv-dev] MMU + TLB idea
@ 2020-05-07 23:39 Michael Nolan
  2020-05-08  0:40 ` Luke Kenneth Casson Leighton
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Nolan @ 2020-05-07 23:39 UTC (permalink / raw)
  To: Libre-RISCV General Development

I remember some time ago working on a powerpc core that (I think) had a 
partly software MMU. It got me thinking: we could have a TLB and the 
machinery to look up entries in it and translate the addresses in 
hardware, and implement the page table walking and such in software (via 
a trap). This would I think cut down the work in implementing the MMU by 
making it so we don't need to implement the page table walking machinery 
in hardware, and make it a bit easier to test. The downside of course 
would be that TLB misses would be slower, but I think it might be a 
decent trade-off for our first attempt at the MMU.

Thoughts?

--Michael


_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev

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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-07 23:39 [libre-riscv-dev] MMU + TLB idea Michael Nolan
2020-05-08  0:40 ` Luke Kenneth Casson Leighton

Libre RISC-V Mailing list Archives (accessible via public-inbox)

Archives are clonable: git clone --mirror https://inbox.libre-soc.org/libre-riscv-dev

Example config snippet for mirrors


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git