...
Based among other things on the idea presented at GENIVI AMM in Munich regarding VIRTIO use both with and without hypervisor, to communicate between multiple OSes, the need has been identified to describe the complexity of system design on modern heterogeneous multi-core SoCs, running several different Operating System kernel instances.
Anchor | ||||
---|---|---|---|---|
|
Proposed Document Outline
Focus: "What HV technology can do for future automotive systems."
1 Motivation: Why to use HV:
- Use of legacy systems with minor modifications,
- address what kind of modifications we expect,
- address problem of open source firmware and driver (MCAL) qualification when running virtualized drivers (see also section 3). HV helps with this by
- isolating critical devices from non-critical ones, allows one to build systems with mixed-criticality w.r.t. safety-relevance.
- qualified driver needs to come with the driver host or even the HV provider
- Use of special purpose Guest/OS for isolating a specific functionality, i.e., building safety and security island
- Sharing of HW in the presence of parallel system executions
- Isolation properties in the presence of parallel systems executions:
- Spatial isolation, hiding of secrets
- Temporal isolation, implicit and explicit shared resources…
2 What does the HW need to fulfill to support unmodified execution of complete SW stacks.
This is directed towards the HV vendor to avoid the problems we have seen in the past.
3 Isolation and Partitioning
multiOS vs. HV
Timing and Spatial isolation
Different types of HV to support partitioning (see Gunnars list)
4 Inter-core communication
VM2VM
HV2VM
And HV-off partition to VMs
5 Sharing of physical devices
What does a HV need to do, to make its usage agnostic to Guest/OS:
Here we place the story on Virtio and generic interfaces
...
Title candidates
(depend on actual content)
Next Generation Multi-OS System Design
Multi-OS System Design on Multicore SoCs
What HV technology can do for future automotive systems.
...
Content Brainstorm
Intro. Why ? Motivation
-- consolidation of systems, "mixed criticality" requirements, e.g. security, safety, real-timedness.
This background is well know... Previous AGL white paper intro should cover this quite well, for example.
Generally try reuse, don't redo, and complement with what is missing.
...
- System Architects - system design guidance
- Guiding purchasing of ECU systems... requirements on the hardware and software stacks
- HW / SoC designers (for the needed HW features)
- IP-vendors (ARM, Synopsys, Imagination Technologies, Cadence)
...
EARLIER/OTHER outline proposal
and some other details ...
Not agreed to be in scope?
1. Introduction
Intro: Need for multi-OS design. Possibilities given by modern hardware, hypervisors and other techniques
2. Isolation and Partitioning
Partitioning Technologies
- Full-scale Hypervisors
- MCU Hypervisors
- Dedicated Core partitioning
- Operating System process partitioning / containers
- Peripheral partitioning (or is this in later HW chapter)
4. Designing for Functional Safety
Describe specific features (hardware and software) supporting Functional Safety Goals
Design process
5. Designing for Cyber-security
Describe specific features (hardware and software) supporting Functional Safety Goals
TrustZone but also others
Design process
6. Hardware sharing
Hardware Device sharing - is the main purpose of Hypervisors.
However device sharing can be set up with other means?
Yes, examples:
- h/w display layers
- GPU virtualisation with OS ID support
Specific Hardware Support
- GPU virtualization features
- GPU OS isolation
- Separate input ports
- GPU scheduler ensuring pipeline for each OS is serviced
- Memory separation
- Drawing isolation
- Dedicated functional safety drawing paths, e.g. separate 2D rendering path for cluster telltales
- Other HW features
- Bus Master / IP / Memory access isolation
- Independent security and safety groups control access of IP on bus and memory protection
- Multi-level security isolation outside of common IP such as TrustZone
- e.g. Implementation in real time R7 CPU
- Lifecycle Management
- e.g. control of security at different stages of its life
← which chapter does this fit in?
- e.g. control of security at different stages of its life
- Bus Master / IP / Memory access isolation
--> Some architectures can guarantee QoS on internal interconnects and caches, etc. (what else?) controlled by VM configuration or h/w controls.
7. Selecting a Design
- Describe typical constraints and input that drives design decisions.
- Walk through the main characteristics of each method, and any other consequences of choosing one method or other.
- Guide the reader through the selection process, (comparing constraints to consequences of each choice)
(Look at the "How to choose graphics sharing technology" presentation for inspiration)
8. Future outlook (?)
--> build something out of the "wish list"?
To be sorted
System-level quality of service. What is this and where to fit in?