From: Michael Nolan <mtnolan2640@gmail.com>
To: Libre-RISCV General Development <libre-riscv-dev@lists.libre-riscv.org>
Subject: [libre-riscv-dev] MMU + TLB idea
Date: Thu, 7 May 2020 19:39:08 -0400
Message-ID: <6a63afa2-f425-9490-be9f-a05e34cadc9c@gmail.com> (raw)
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
next reply index
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-07 23:39 Michael Nolan [this message]
2020-05-08 0:40 ` Luke Kenneth Casson Leighton
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=6a63afa2-f425-9490-be9f-a05e34cadc9c@gmail.com \
--to=mtnolan2640@gmail.com \
--cc=libre-riscv-dev@lists.libre-riscv.org \
/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
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