Skip to content
beshleman edited this page Oct 17, 2019 · 4 revisions

For right now, this is just a place to track todos.

For anything that absolutely must be done before sending the initial patchset to the mailing list for feedback the TODO item is tagged with [RFC].

Current RFC target is: enable hypervisor dynamic memory and UART

TODO

  • Support Device Tree and fix drivers/passthrough/riscv/iommu.c usage of device tree
  • Change riscv/mm.c and friend to use pte_t instead of unsigned long [RFC]
  • Discover ranges of memory via device tree parsing instead of hardcoded [RFC]
  • Cleanup _setup_initial_pagetables to reduced reproduced variables [RFC]
  • Refactor page table entry routines into functions/macros [RFC]
  • Debate the naming of link_ and load_ variable names. Are they clear?
  • Properly implement guest atomics guest_atomics.h
  • Implement EARLY_PRINTK
  • Determine a way to not stomp over OpenSBI (causing a PMP fault) when finding an address space for the heaps [RFC]
    • There are some ideas in the works using the FDT to pass OpenSBI's protected space to the hypervisor, further investigation needed...
  • Implement a scheme to prevent re-mapping already used pages with map_domain_page() in mm.c, the scheme ARM uses will not work for RISC-V sv39.
  • Setup trap vector (currently there is no IRQ handling)
Clone this wiki locally