A First Look at RISC-V Virtualization from an Embedded Systems Perspective
- 8 November 2021
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Computers
- Vol. 71 (00189340) , 1
Abstract
This article describes the first public implementation and evaluation of the latest version of the RISC-V hypervisor extension (H-extension v0.6.1) specification in a Rocket chip core. To perform a meaningful evaluation for modern multi-core embedded and mixed-criticality systems, we have ported Bao, an open-source static partitioning hypervisor, to RISC-V. We have also extended the RISC-V platform-level interrupt controller (PLIC) to enable direct guest interrupt injection with low and deterministic latency and we have enhanced the timer infrastructure to avoid trap and emulation overheads. Experiments were carried out in FireSim, a cycle-accurate, FPGA-accelerated simulator, and the system was also successfully deployed and tested in a Zynq UltraScale+ MPSoC ZCU104. Our hardware implementation was open-sourced and is currently in use by the RISC-V community towards the ratification of the H-extension specification.Keywords
All Related Versions
Funding Information
- Fundao para a Cincia e a Tecnologia (SFRH/BD/138660/2018, UIDB/00319/2020)
This publication has 26 references indexed in Scilit:
- A survey of microarchitectural timing attacks and countermeasures on contemporary hardwareJournal of Cryptographic Engineering, 2016
- Exploring embedded systems virtualization using MIPS virtualization module2016
- Heracles2015
- Embedded Hypervisor Xvisor: A Comparative Analysis2015
- PALLOC: DRAM bank-aware memory allocator for performance isolation on multicore platforms2014
- KVM/ARM2014
- MemGuard: Memory bandwidth reservation system for efficient performance isolation in multi-core platforms2013
- Real-time cache management framework for multi-core architectures2013
- Chisel2012
- Formal requirements for virtualizable third generation architecturesCommunications of the ACM, 1974