Message ID | cover.1677250203.git.oleksii.kurochko@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | enable MMU for RISC-V | expand |
On Fri, 2023-02-24 at 17:06 +0200, Oleksii Kurochko wrote: > The patch series introduces the following things: > 1. Functionality to build the page tables for Xen that map the > following: > * The physical location of Xen (where the bootloader loaded it) > * The link-time location of Xen (where the linker expected Xen's > addresses to be. > 2. Load the built page table into the SATP > 3. Enables MMU. > 4. Updates smoke test to grep message which should be printed after > MMU is enabled. > > Oleksii Kurochko (3): > xen/riscv: introduce setup_initial_pages > xen/riscv: setup initial pagetables > automation: update RISC-V smoke test > > automation/scripts/qemu-smoke-riscv64.sh | 2 +- > xen/arch/riscv/Makefile | 1 + > xen/arch/riscv/include/asm/mm.h | 9 + > xen/arch/riscv/include/asm/page.h | 90 +++++++++ > xen/arch/riscv/mm.c | 223 > +++++++++++++++++++++++ > xen/arch/riscv/setup.c | 11 ++ > 6 files changed, 335 insertions(+), 1 deletion(-) > create mode 100644 xen/arch/riscv/include/asm/mm.h > create mode 100644 xen/arch/riscv/include/asm/page.h > create mode 100644 xen/arch/riscv/mm.c > I forgot to mention in cover letter that the patch series is based on top of 'introduce generic implementation of macros from bug.h' and 'RISCV basic exception handling implementation' patch series.