<div class='slidealt'>Experience kvm <a title='virtualization for embedded heterogeneous arm core platforms' href='/en/products'>virtualization extensions</a></div> <div class='slidealt'>Benefit from custom <a title='kvm on arm services full virtualization' href='/en/services'>virtualization services</a></div> <div class='slidealt'>KVM on ARMv7 and ARMv8 <a title='kvm-on-arm open source smu extensions' href='/en/solutions/guides/vfio-on-arm/'>IOMMU full virtualization</a></div> <div class='slidealt'>Virtualization research projects <a title='ARM multicore kvm open source' href='/en/research'>in cloud and embedded systems</a></div> <div class='slidealt'>Virtualization solutions for heterogeneous <a title='ARMv7-ARMv8 virtualization open source solutions' href='/en/solutions'>ARM multicore systems</a></div>

Virtual Open Systems Scientific Publications

VOSySmonitoRV: a mixed-criticality solution on Linux-capable RISC-V platforms

vosysmonitorv - virtualization for risc-v embedded platforms - conference MECO 2021

Event

10th Mediterranean Conference on Embedded Computing 2021 (MECO 2021).

Keywords

Mixed criticality, RISC-V, embedded, virtualization, security virtualization.

Authors

Flavia Caforio, Michele Paolino, Pierpaolo Iannicelli and Daniel Raho (Virtual Open Systems SAS)

Abstract

Embedded systems are pervasively used in many fields nowadays. In mixed-criticality environments (automotive, industry 4.0, drones, etc.) they need to run real-time applications with certain time and safety constraints alongside a rich operating system (OS). This is usually possible thanks to virtualization techniques, that leverage on hardware virtualization extensions on the machine. However, these hardware extensions might not cope with the security and safety requirements of the specific use case, and additionally, they might not always be available. A notable example is the emerging RISC-V architecture, that is today gaining a lot of traction in the mixed criticality field, but that does not offer today hardware virtualization extensions. In this paper VOSySmonitoRV is proposed as a mixed-criticality solution for RISC-V systems. VOSySmonitoRV allows the co-execution of two or more operating systems in a secure and isolated manner by running in the highest privileged machine level. A specific benchmark, measuring the interrupt latency and context switch time is done to assess the system performance in mixed criticality systems.

Introduction

In the new era of industry 4.0, the importance of solutions to allow the co-execution of activities with different levels of criticality in common hardware platforms has become crucial. It is now a sought-after that in recent embedded systems there is the need to have at the same time features typical of generic operating systems (for connectivity, user interface, etc.) together with the ones of a real time operating systems (for interaction with critical sensors, rotors, motors, etc.). The most common solution to run multiple operating systems in a single platform is the use of virtualization. However, standard hypervisor solutions are designed and implemented focusing on the performance of the guests. This makes difficult to address the safety and security requirements of mixed criticality systems.

In this context, the RISC-V architecture is quickly gaining relevance in the industry and is bringing a new set of challenges and solutions regarding both safety and security. The use of standard virtualization solutions to implement mixed criticality solution is not possible today. In fact, instruction set extensions to support hypervisors have not yet reached the standard specification, and today there is no hardware platform in the market than can use them.

This paper proposes VOSySmonitoRV, a mixed-criticality solution for RISC-V platforms that does not need instruction set extensions to support hypervisors. VOSySmonitoRV is able to run multiple operating systems in a single platform partitioning the system resources and protecting the execution of real time/safety critical operating systems. Performance measurements related to interrupts and context switch operations, considered as key points for multi-operating systems performance, are presented to demonstrate the feasibility of such a design on RISC-V platform.

Access the full content of this publication

Login or register to access full information