SlideShare uma empresa Scribd logo
1 de 14
Baixar para ler offline
Xen Project Automotive
and Embedded Overview
April, 2018 (updated Nov 2018)
Lars Kurth
Chairman, Xen Project Advisory Booard
This work is licensed under a Creative Commons Attribution-Share Alike 4.0 (CC BY-SA 4.0)
GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries.
Copyright © GENIVI Alliance 2018.
Agenda
Ecosystem Overview
Xen Project Capabilities and Challenges
The Elephant in the Room: Safety Certification
Examples: Defense/Embedded
OpenXT
www.openxt.org
FOSS Platform for security research,
security applications and embedded
appliance integration building on
Xen & OpenEmbedded
Part fork of Xen Project, but significant
effort to un-fork has started in 2017.
Several key players: AIS, Apertus
Solutions, BAE Systems, U.S. Air Force
Research Laboratory
XenZynq
xilinx.com
Xen Zynq Distribution originally
developed by Dornerworks. Latest
product incarnation is called Virtuosity
Hypervisor.
Investing in Xen Functionality related
to power management and
managing heterogeneity in general.
Virtuosity
dornerworks.com
Consultancy with embedded/avionics/
medical focus. Maintains Virtuosity
Hypervisor with support for a XILINX
and NXP Arm SoCs.
Product variant of Virtuosity for
defence/avionics use-cases. 2nd
generation product (predecessor =
ARLX released in 2015).
• Certification packages for:
DO-178, IEC 62304, ISO 26262
• Standards: ARINC 653, Vehicular
Integration for C4ISR/EW
Interoperability (VICTORY),
Future Airborne Capability
Environment (FACE™)
Misc
Automotive vendors that occasionally
contribute to and engage with the Xen
Project.
Renesas
HW enablement in Xen.
Test Platforms for Xen Project CI.
Bosch Car GmbH
Code Contributions since 2015
LG, ADIT, Samsung
Not much information
Examples: Automotive
EPAM
epam.com
Product: Fusion
Scalable & secure software
deployment platform for distributed
(cloud+vehicle) automotive service
products. Uses isolated Xen VM in
vehicles to deploy service containers.
Ongoing Contributions:
• PV drivers: input, sound & DRM
• Xen OP-TEE support
• Co-processor (GPU) sharing framework
• Hard real-time support research
• Power Management & HMP
• RTOS Dom0 / Dom0-less system
• Safety certification
GlobalLogic
globallogic.com
Product: Nautilus
Pioneered Xen based automotive
solution. Used to be very active within
the Xen Project from 2013 - 2016, but
recently has been primarily product
focused.
Agenda
Ecosystem Overview
Xen Project Capabilities and Challenges
The Elephant in the Room: Safety Certification
Automotive Requirements vs. Xen Project
Compute Requirements Xen Project
C1: Static resource partitioning and flexible on-demand resource allocation (CPU, RAM, GPU and
IO)
Core functionality, multiple
schedulers, GPU/co-processor
sharing, memory ballooning, etc.
C2: Memory/IO bus bandwidth allocation and rebalancing WIP: Effort by several parties to
enable Hard RT support on Xen
Peripherals Requirements Xen Project
P1: GPU and displays shall be shared between execution environments supporting both fixed
(each one talks to its own display or to a specified area on a single display) and flexible
configurations (shape, z-order, position and assignment of surfaces from different execution
environments may change at run time).
Via GPU sharing (and WIP co-
processor sharing), PV Drivers (PV
DRM)
P2: Inputs shall be routed to one or multiple execution environments depending on current mode,
display configuration (for touchscreens), active application (for jog dials & buttons), etc.
Via PV Drivers (PV KBDFRONT)
P3: Audio shall be shared between execution environments. Sound complex mixing policies for
multiple audio streams and routing of dynamic source/sink devices (BT profiles, USB
speakers/microphones, etc.) shall be supported.
Via PV Drivers (PV SOUND)
P4: Network shall be shared between execution environments. Virtual networks with different
security characteristics shall be supported (e.g., traffic filtering and security mechanisms).
Via PV Drivers & Disaggregation
Xen Security Modules
P5: Storage shall support static or shared allocation, together with routing of dynamic storage
devices (USB mass storage).
Via PV Drivers
Automotive Requirements vs. Xen Project, continued
Security Requirements Xen Project
SE1: Root of Trust and Secure boot shall be supported for all execution environments. x86: TPM 2.0, Intel TXT, AMD SVM
Arm: supported with OPTEE
SE2: Trusted Computing (discrete TPM, Arm TrustZone or similar) shall be available and
configurable for all execution environments.
x86: in Xen; some extras in OpenXT
Arm: OPTEE (WIP: up streaming)
SE3: Hardware isolation shall be supported (cache, interrupts, IOMMUs, firewalls, etc.). Core functionality (except firewalls)
Safety Requirements Xen Project
SA1: System monitoring shall be supported to attest and verify that the system is correctly
running.
Can be implemented through VMI in
Hypervisor, agents outside or
through a hybrid
SA2: Restart shall be possible for each execution environment in case of failure. Core Functionality
SA3: Redundancy shall be supported for the highest level of fault tolerance with fall-back
solutions available to react in case of failure.
WIP: This has to be analysed in
scope of "safety certification"
initiative, as well as "dom0-less" Xen
and "minimal" Kbuild
SA4: Real time support shall be guaranteed together with predictive reaction time. Different scheduler options with
different trade-offs. WIP:
Benchmarks with recommendations
and Hard RT support.
Automotive Requirements vs. Xen Project, continued
Performance and Power Consumption Requirements Xen Project
PP1: Virtualization performance overhead shall be minimal: 1-2% on CPU/memory benchmarks,
up to 5% on GPU benchmarks.
Arm: fulfils requirements
x86: not verified
PP2: Predictability shall be guaranteed. Minimal performance requirements shall be met in any
condition (unexpected events, system overload, etc.).
Different scheduler options with
different trade-offs. Benchmarks with
recommendations in progress.
Possibly some code changes will be
up streamed.
PP3: Execution environments fast boot: Less than 2 seconds for safety critical applications, less
than 5 seconds for Instrument Cluster, and 10 seconds for IVI. Hibernate and Suspend to
RAM shall be supported.
Arm: Proven by both GlobalLogic
and EPAM
PP4: Execution environments startup order shall be predictable. Core functionality
PP5: Advanced power management shall be implemented with flexible policies for each execution
environment.
Arm: Partially implemented (not yet
up-streamed). Further work by
EPAM, XILINX and Aggios planned.
Agenda
Ecosystem Overview
Xen Project Capabilities and Challenges
The Elephant in the Room: Safety Certification
Stage 2:
Create shared certification artefacts under the guidance/with support from certification partner
Adapt development processes, where feasible.
4 Complete MISRA
compliance work for
majority of issues.
Our Approach for now:
Make it easier for down-streams to Safety Certify
MISRA Compliance
1 Identify compliance
partner that is willing to
work with the project ➜
Perforce
2 Formalize relationship
between vendor and the
project
3 Iteratively address
compliance issues within
the Xen Project
community: start with
potentially controversial
and high impact issues.
Certification Partners
1 WIP: Identify possible
certification partners and
understand the
framework they are
willing to work with.
Note: Dornerworks is a
possible partner given
past certification
experience on Xen
2 Formalize relationship
between vendor and the
project
Dom0
RTOS (e.g. FreeRTOS) as
Dom0, or Dom0-less stack
with minimal management
tools.
Lead Community Member
• EPAM
• Dornerworks as
collaborator
Minimal Xen
Create minimal Kbuild for
Xen as a reference, using
Renesas R-Car as starting
point
Lead Community Member
• Stefano Stabellini
• EPAM, Dornerworks,
XILINX and others as
collaborators
Reliable data about achievable minimal code size and
community challenges that need to be resolved
Note: Dom0 and Minimal Xen do not need to be
complete to get sufficient data
Arm
Full ARM 64 and 32 bit, with everything enabled.
Xen on ARM64 with ACPI (used in servers) and ARM32
disabled is ∼60K SLOC today.
Future:
A minimal Xen configuration for a small set of boards
should be in the order of 40K to 50K SLOC, smaller if
common code can be aggressively removed via Kconfig.
x86
On x86 Xen, there is little configurability today, but
However, the 128K SLOC figure includes most Intel
SKUs. Focusing on the latest hardware only should
reduce this significantly.
Code Size: Where are we starting from
Components K SLOC
/xen/common 33.4
/xen/arch/arm 19.8
/xen/drivers 16.0
Total 69.3
Calculation K SLOC
x86 with everything enabled 325
x86 PVH for Intel only, no server features 128
Cost Example: DO-178C, 45K SLOC
DAL E (0.11 h/SLOC): ∼2.4 man years … ASIL-A
DAL C (0.20 h/SLOC): ∼4.5 man years … ASIL-B/C
DAL A (0.67 h/SLOC): ∼15 man years … ASIL-D
Hours for vendor with certification experience
Perspective: Total Xen Community Dev Effort
2014 - 2017: ∼41 to ∼50 man years per year
Using conservative COCOMO model
Status Update: Nov 2018
MISRA Compliance
In collaboration with Perforce, EPAM and XILINX, the project started an initiative to make Xen MISRA compliant and safety
certifiable for automotive and industrial IoT deployments.
Key community members have access to Perforce's Helix QAC static code analysis solution and are working through MISRA
compliance issues.
Minimal Arm Configuration
The first step of code size reduction is available in xen.git master and will be released with Xen 4.12
Code size has been reduced from 70K SLOC to 46K SLOC. Additional code size reduction should be possible
Dom0-less
First phase patches for Dom0-less have been up-streamed into xen.git master and will be released with Xen 4.12. This will
enable Xen to boot multiple domains in parallel, in addition to dom0, from information found in the device tree.
Other
OP-TEE support for xen and within OP-Tee are currently under review, but look on track to be released with Xen 4.12
PSCI / EEMI based suspend-to-RAM in Xen 4.12: see https://www.linux.com/blog/2018/7/xen-project-hypervisor-power-
management-suspend-ram-arm-architectures & https://www.linux.com/blog/2018/7/xen-project-hypervisor-virtualization-and-
power-management-are-coalescing
Prototyping and evaluation virtio-based IO for automotive based systems (which may become a requirement)
Thank you!
Visit GENIVI at http://www.genivi.org or http://projects.genivi.org
Contact us: help@genivi.org
This work is licensed under a Creative Commons Attribution-Share Alike 4.0 (CC BY-SA 4.0)
GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries.
Copyright © GENIVI Alliance 2018.

Mais conteúdo relacionado

Mais procurados

Hibernation in Linux 2.6.29
Hibernation in Linux 2.6.29Hibernation in Linux 2.6.29
Hibernation in Linux 2.6.29
Varun Mahajan
 
Fosdem 18: Securing embedded Systems using Virtualization
Fosdem 18: Securing embedded Systems using VirtualizationFosdem 18: Securing embedded Systems using Virtualization
Fosdem 18: Securing embedded Systems using Virtualization
The Linux Foundation
 

Mais procurados (20)

ISSCC 2018: "Zeppelin": an SoC for Multi-chip Architectures
ISSCC 2018: "Zeppelin": an SoC for Multi-chip ArchitecturesISSCC 2018: "Zeppelin": an SoC for Multi-chip Architectures
ISSCC 2018: "Zeppelin": an SoC for Multi-chip Architectures
 
LFCollab14: Xen vs Xen Automotive
LFCollab14: Xen vs Xen AutomotiveLFCollab14: Xen vs Xen Automotive
LFCollab14: Xen vs Xen Automotive
 
Embedded Hypervisor for ARM
Embedded Hypervisor for ARMEmbedded Hypervisor for ARM
Embedded Hypervisor for ARM
 
Xen on ARM for embedded and IoT: from secure containers to dom0less systems
Xen on ARM for embedded and IoT: from secure containers to dom0less systemsXen on ARM for embedded and IoT: from secure containers to dom0less systems
Xen on ARM for embedded and IoT: from secure containers to dom0less systems
 
Hyper-Converged Infrastructure Vx Rail
Hyper-Converged Infrastructure Vx Rail Hyper-Converged Infrastructure Vx Rail
Hyper-Converged Infrastructure Vx Rail
 
SR-IOV+KVM on Debian/Stable
SR-IOV+KVM on Debian/StableSR-IOV+KVM on Debian/Stable
SR-IOV+KVM on Debian/Stable
 
Xen Memory Management
Xen Memory ManagementXen Memory Management
Xen Memory Management
 
Xvisor: embedded and lightweight hypervisor
Xvisor: embedded and lightweight hypervisorXvisor: embedded and lightweight hypervisor
Xvisor: embedded and lightweight hypervisor
 
3D V-Cache
3D V-Cache 3D V-Cache
3D V-Cache
 
Power Management from Linux Kernel to Android
Power Management from Linux Kernel to AndroidPower Management from Linux Kernel to Android
Power Management from Linux Kernel to Android
 
Hibernation in Linux 2.6.29
Hibernation in Linux 2.6.29Hibernation in Linux 2.6.29
Hibernation in Linux 2.6.29
 
Linux Internals - Kernel/Core
Linux Internals - Kernel/CoreLinux Internals - Kernel/Core
Linux Internals - Kernel/Core
 
OSSJP/ALS19: The Road to Safety Certification: Overcoming Community Challeng...
OSSJP/ALS19:  The Road to Safety Certification: Overcoming Community Challeng...OSSJP/ALS19:  The Road to Safety Certification: Overcoming Community Challeng...
OSSJP/ALS19: The Road to Safety Certification: Overcoming Community Challeng...
 
Managing ESXi - Tools and Techniques
Managing ESXi - Tools and TechniquesManaging ESXi - Tools and Techniques
Managing ESXi - Tools and Techniques
 
The Power of HPC with Next Generation Supermicro Systems
The Power of HPC with Next Generation Supermicro Systems The Power of HPC with Next Generation Supermicro Systems
The Power of HPC with Next Generation Supermicro Systems
 
ALSF13: Xen on ARM - Virtualization for the Automotive Industry - Stefano Sta...
ALSF13: Xen on ARM - Virtualization for the Automotive Industry - Stefano Sta...ALSF13: Xen on ARM - Virtualization for the Automotive Industry - Stefano Sta...
ALSF13: Xen on ARM - Virtualization for the Automotive Industry - Stefano Sta...
 
Fosdem 18: Securing embedded Systems using Virtualization
Fosdem 18: Securing embedded Systems using VirtualizationFosdem 18: Securing embedded Systems using Virtualization
Fosdem 18: Securing embedded Systems using Virtualization
 
Storage Virtualization
Storage VirtualizationStorage Virtualization
Storage Virtualization
 
Process Scheduler and Balancer in Linux Kernel
Process Scheduler and Balancer in Linux KernelProcess Scheduler and Balancer in Linux Kernel
Process Scheduler and Balancer in Linux Kernel
 
Technical Introduction to RHEL8
Technical Introduction to RHEL8Technical Introduction to RHEL8
Technical Introduction to RHEL8
 

Semelhante a 2018 Genivi Xen Overview Nov Update

“Khronos Group Standards: Powering the Future of Embedded Vision,” a Presenta...
“Khronos Group Standards: Powering the Future of Embedded Vision,” a Presenta...“Khronos Group Standards: Powering the Future of Embedded Vision,” a Presenta...
“Khronos Group Standards: Powering the Future of Embedded Vision,” a Presenta...
Edge AI and Vision Alliance
 
"APIs for Accelerating Vision and Inferencing: Options and Trade-offs," a Pre...
"APIs for Accelerating Vision and Inferencing: Options and Trade-offs," a Pre..."APIs for Accelerating Vision and Inferencing: Options and Trade-offs," a Pre...
"APIs for Accelerating Vision and Inferencing: Options and Trade-offs," a Pre...
Edge AI and Vision Alliance
 

Semelhante a 2018 Genivi Xen Overview Nov Update (20)

LCC17 - Securing Embedded Systems with the Hypervisor - Lars Kurth, Citrix
LCC17 - Securing Embedded Systems with the Hypervisor - Lars Kurth, CitrixLCC17 - Securing Embedded Systems with the Hypervisor - Lars Kurth, Citrix
LCC17 - Securing Embedded Systems with the Hypervisor - Lars Kurth, Citrix
 
LCNA14: Why Use Xen for Large Scale Enterprise Deployments? - Konrad Rzeszute...
LCNA14: Why Use Xen for Large Scale Enterprise Deployments? - Konrad Rzeszute...LCNA14: Why Use Xen for Large Scale Enterprise Deployments? - Konrad Rzeszute...
LCNA14: Why Use Xen for Large Scale Enterprise Deployments? - Konrad Rzeszute...
 
Satyam_Singh_cv
Satyam_Singh_cvSatyam_Singh_cv
Satyam_Singh_cv
 
Platform Security Summit 18: Xen Security Weather Report 2018
Platform Security Summit 18: Xen Security Weather Report 2018Platform Security Summit 18: Xen Security Weather Report 2018
Platform Security Summit 18: Xen Security Weather Report 2018
 
“Khronos Group Standards: Powering the Future of Embedded Vision,” a Presenta...
“Khronos Group Standards: Powering the Future of Embedded Vision,” a Presenta...“Khronos Group Standards: Powering the Future of Embedded Vision,” a Presenta...
“Khronos Group Standards: Powering the Future of Embedded Vision,” a Presenta...
 
"APIs for Accelerating Vision and Inferencing: Options and Trade-offs," a Pre...
"APIs for Accelerating Vision and Inferencing: Options and Trade-offs," a Pre..."APIs for Accelerating Vision and Inferencing: Options and Trade-offs," a Pre...
"APIs for Accelerating Vision and Inferencing: Options and Trade-offs," a Pre...
 
Purnima
PurnimaPurnima
Purnima
 
Locationless data science on a modern secure edge
Locationless data science on a modern secure edgeLocationless data science on a modern secure edge
Locationless data science on a modern secure edge
 
Seminar Accelerating Business Using Microservices Architecture in Digital Age...
Seminar Accelerating Business Using Microservices Architecture in Digital Age...Seminar Accelerating Business Using Microservices Architecture in Digital Age...
Seminar Accelerating Business Using Microservices Architecture in Digital Age...
 
Eclipse RT Day
Eclipse RT DayEclipse RT Day
Eclipse RT Day
 
ERTS 2008 - Using Linux for industrial projects
ERTS 2008 - Using Linux for industrial projectsERTS 2008 - Using Linux for industrial projects
ERTS 2008 - Using Linux for industrial projects
 
XPDDS18: CPUFreq in Xen on ARM - Oleksandr Tyshchenko, EPAM Systems
XPDDS18: CPUFreq in Xen on ARM - Oleksandr Tyshchenko, EPAM SystemsXPDDS18: CPUFreq in Xen on ARM - Oleksandr Tyshchenko, EPAM Systems
XPDDS18: CPUFreq in Xen on ARM - Oleksandr Tyshchenko, EPAM Systems
 
Developing Real-Time Systems on Application Processors
Developing Real-Time Systems on Application ProcessorsDeveloping Real-Time Systems on Application Processors
Developing Real-Time Systems on Application Processors
 
CoreOS and cloud provider integration: simple cloud-init example at Exoscale
CoreOS and cloud provider integration: simple cloud-init example at ExoscaleCoreOS and cloud provider integration: simple cloud-init example at Exoscale
CoreOS and cloud provider integration: simple cloud-init example at Exoscale
 
Scale17x: Thinking outside of the conceived tech comfort zone
Scale17x: Thinking outside of the conceived tech comfort zoneScale17x: Thinking outside of the conceived tech comfort zone
Scale17x: Thinking outside of the conceived tech comfort zone
 
OSGi: Best Tool In Your Embedded Systems Toolbox
OSGi: Best Tool In Your Embedded Systems ToolboxOSGi: Best Tool In Your Embedded Systems Toolbox
OSGi: Best Tool In Your Embedded Systems Toolbox
 
HOW Series: Knights Landing
HOW Series: Knights LandingHOW Series: Knights Landing
HOW Series: Knights Landing
 
EclipseEmbeddedDay2009-OSGi: Best Tool In Your Embedded Systems Toolbox
EclipseEmbeddedDay2009-OSGi: Best Tool In Your Embedded Systems ToolboxEclipseEmbeddedDay2009-OSGi: Best Tool In Your Embedded Systems Toolbox
EclipseEmbeddedDay2009-OSGi: Best Tool In Your Embedded Systems Toolbox
 
“Khronos Standard APIs for Accelerating Vision and Inferencing,” a Presentati...
“Khronos Standard APIs for Accelerating Vision and Inferencing,” a Presentati...“Khronos Standard APIs for Accelerating Vision and Inferencing,” a Presentati...
“Khronos Standard APIs for Accelerating Vision and Inferencing,” a Presentati...
 
Using Embedded Linux for Infrastructure Systems
Using Embedded Linux for Infrastructure SystemsUsing Embedded Linux for Infrastructure Systems
Using Embedded Linux for Infrastructure Systems
 

Mais de The Linux Foundation

Mais de The Linux Foundation (20)

ELC2019: Static Partitioning Made Simple
ELC2019: Static Partitioning Made SimpleELC2019: Static Partitioning Made Simple
ELC2019: Static Partitioning Made Simple
 
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...
 
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...
 
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...
 
XPDDS19 Keynote: Unikraft Weather Report
XPDDS19 Keynote:  Unikraft Weather ReportXPDDS19 Keynote:  Unikraft Weather Report
XPDDS19 Keynote: Unikraft Weather Report
 
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...
 
XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...
XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...
XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...
 
XPDDS19: Memories of a VM Funk - Mihai Donțu, Bitdefender
XPDDS19: Memories of a VM Funk - Mihai Donțu, BitdefenderXPDDS19: Memories of a VM Funk - Mihai Donțu, Bitdefender
XPDDS19: Memories of a VM Funk - Mihai Donțu, Bitdefender
 
OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making...
 OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making... OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making...
OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making...
 
XPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, Citrix
XPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, CitrixXPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, Citrix
XPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, Citrix
 
XPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltd
XPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltdXPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltd
XPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltd
 
XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...
XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...
XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...
 
XPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&D
XPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&DXPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&D
XPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&D
 
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM SystemsXPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
 
XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...
XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...
XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...
 
XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...
XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...
XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...
 
XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...
XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...
XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...
 
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSE
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSEXPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSE
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSE
 
XPDDS19: Implementing AMD MxGPU - Jonathan Farrell, Assured Information Security
XPDDS19: Implementing AMD MxGPU - Jonathan Farrell, Assured Information SecurityXPDDS19: Implementing AMD MxGPU - Jonathan Farrell, Assured Information Security
XPDDS19: Implementing AMD MxGPU - Jonathan Farrell, Assured Information Security
 
XPDDS19: Support of PV Devices in Nested Xen - Jürgen Groß, SUSE
XPDDS19: Support of PV Devices in Nested Xen - Jürgen Groß, SUSEXPDDS19: Support of PV Devices in Nested Xen - Jürgen Groß, SUSE
XPDDS19: Support of PV Devices in Nested Xen - Jürgen Groß, SUSE
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 

2018 Genivi Xen Overview Nov Update

  • 1. Xen Project Automotive and Embedded Overview April, 2018 (updated Nov 2018) Lars Kurth Chairman, Xen Project Advisory Booard This work is licensed under a Creative Commons Attribution-Share Alike 4.0 (CC BY-SA 4.0) GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries. Copyright © GENIVI Alliance 2018.
  • 2. Agenda Ecosystem Overview Xen Project Capabilities and Challenges The Elephant in the Room: Safety Certification
  • 3.
  • 4. Examples: Defense/Embedded OpenXT www.openxt.org FOSS Platform for security research, security applications and embedded appliance integration building on Xen & OpenEmbedded Part fork of Xen Project, but significant effort to un-fork has started in 2017. Several key players: AIS, Apertus Solutions, BAE Systems, U.S. Air Force Research Laboratory XenZynq xilinx.com Xen Zynq Distribution originally developed by Dornerworks. Latest product incarnation is called Virtuosity Hypervisor. Investing in Xen Functionality related to power management and managing heterogeneity in general. Virtuosity dornerworks.com Consultancy with embedded/avionics/ medical focus. Maintains Virtuosity Hypervisor with support for a XILINX and NXP Arm SoCs. Product variant of Virtuosity for defence/avionics use-cases. 2nd generation product (predecessor = ARLX released in 2015). • Certification packages for: DO-178, IEC 62304, ISO 26262 • Standards: ARINC 653, Vehicular Integration for C4ISR/EW Interoperability (VICTORY), Future Airborne Capability Environment (FACE™)
  • 5. Misc Automotive vendors that occasionally contribute to and engage with the Xen Project. Renesas HW enablement in Xen. Test Platforms for Xen Project CI. Bosch Car GmbH Code Contributions since 2015 LG, ADIT, Samsung Not much information Examples: Automotive EPAM epam.com Product: Fusion Scalable & secure software deployment platform for distributed (cloud+vehicle) automotive service products. Uses isolated Xen VM in vehicles to deploy service containers. Ongoing Contributions: • PV drivers: input, sound & DRM • Xen OP-TEE support • Co-processor (GPU) sharing framework • Hard real-time support research • Power Management & HMP • RTOS Dom0 / Dom0-less system • Safety certification GlobalLogic globallogic.com Product: Nautilus Pioneered Xen based automotive solution. Used to be very active within the Xen Project from 2013 - 2016, but recently has been primarily product focused.
  • 6. Agenda Ecosystem Overview Xen Project Capabilities and Challenges The Elephant in the Room: Safety Certification
  • 7. Automotive Requirements vs. Xen Project Compute Requirements Xen Project C1: Static resource partitioning and flexible on-demand resource allocation (CPU, RAM, GPU and IO) Core functionality, multiple schedulers, GPU/co-processor sharing, memory ballooning, etc. C2: Memory/IO bus bandwidth allocation and rebalancing WIP: Effort by several parties to enable Hard RT support on Xen Peripherals Requirements Xen Project P1: GPU and displays shall be shared between execution environments supporting both fixed (each one talks to its own display or to a specified area on a single display) and flexible configurations (shape, z-order, position and assignment of surfaces from different execution environments may change at run time). Via GPU sharing (and WIP co- processor sharing), PV Drivers (PV DRM) P2: Inputs shall be routed to one or multiple execution environments depending on current mode, display configuration (for touchscreens), active application (for jog dials & buttons), etc. Via PV Drivers (PV KBDFRONT) P3: Audio shall be shared between execution environments. Sound complex mixing policies for multiple audio streams and routing of dynamic source/sink devices (BT profiles, USB speakers/microphones, etc.) shall be supported. Via PV Drivers (PV SOUND) P4: Network shall be shared between execution environments. Virtual networks with different security characteristics shall be supported (e.g., traffic filtering and security mechanisms). Via PV Drivers & Disaggregation Xen Security Modules P5: Storage shall support static or shared allocation, together with routing of dynamic storage devices (USB mass storage). Via PV Drivers
  • 8. Automotive Requirements vs. Xen Project, continued Security Requirements Xen Project SE1: Root of Trust and Secure boot shall be supported for all execution environments. x86: TPM 2.0, Intel TXT, AMD SVM Arm: supported with OPTEE SE2: Trusted Computing (discrete TPM, Arm TrustZone or similar) shall be available and configurable for all execution environments. x86: in Xen; some extras in OpenXT Arm: OPTEE (WIP: up streaming) SE3: Hardware isolation shall be supported (cache, interrupts, IOMMUs, firewalls, etc.). Core functionality (except firewalls) Safety Requirements Xen Project SA1: System monitoring shall be supported to attest and verify that the system is correctly running. Can be implemented through VMI in Hypervisor, agents outside or through a hybrid SA2: Restart shall be possible for each execution environment in case of failure. Core Functionality SA3: Redundancy shall be supported for the highest level of fault tolerance with fall-back solutions available to react in case of failure. WIP: This has to be analysed in scope of "safety certification" initiative, as well as "dom0-less" Xen and "minimal" Kbuild SA4: Real time support shall be guaranteed together with predictive reaction time. Different scheduler options with different trade-offs. WIP: Benchmarks with recommendations and Hard RT support.
  • 9. Automotive Requirements vs. Xen Project, continued Performance and Power Consumption Requirements Xen Project PP1: Virtualization performance overhead shall be minimal: 1-2% on CPU/memory benchmarks, up to 5% on GPU benchmarks. Arm: fulfils requirements x86: not verified PP2: Predictability shall be guaranteed. Minimal performance requirements shall be met in any condition (unexpected events, system overload, etc.). Different scheduler options with different trade-offs. Benchmarks with recommendations in progress. Possibly some code changes will be up streamed. PP3: Execution environments fast boot: Less than 2 seconds for safety critical applications, less than 5 seconds for Instrument Cluster, and 10 seconds for IVI. Hibernate and Suspend to RAM shall be supported. Arm: Proven by both GlobalLogic and EPAM PP4: Execution environments startup order shall be predictable. Core functionality PP5: Advanced power management shall be implemented with flexible policies for each execution environment. Arm: Partially implemented (not yet up-streamed). Further work by EPAM, XILINX and Aggios planned.
  • 10. Agenda Ecosystem Overview Xen Project Capabilities and Challenges The Elephant in the Room: Safety Certification
  • 11. Stage 2: Create shared certification artefacts under the guidance/with support from certification partner Adapt development processes, where feasible. 4 Complete MISRA compliance work for majority of issues. Our Approach for now: Make it easier for down-streams to Safety Certify MISRA Compliance 1 Identify compliance partner that is willing to work with the project ➜ Perforce 2 Formalize relationship between vendor and the project 3 Iteratively address compliance issues within the Xen Project community: start with potentially controversial and high impact issues. Certification Partners 1 WIP: Identify possible certification partners and understand the framework they are willing to work with. Note: Dornerworks is a possible partner given past certification experience on Xen 2 Formalize relationship between vendor and the project Dom0 RTOS (e.g. FreeRTOS) as Dom0, or Dom0-less stack with minimal management tools. Lead Community Member • EPAM • Dornerworks as collaborator Minimal Xen Create minimal Kbuild for Xen as a reference, using Renesas R-Car as starting point Lead Community Member • Stefano Stabellini • EPAM, Dornerworks, XILINX and others as collaborators Reliable data about achievable minimal code size and community challenges that need to be resolved Note: Dom0 and Minimal Xen do not need to be complete to get sufficient data
  • 12. Arm Full ARM 64 and 32 bit, with everything enabled. Xen on ARM64 with ACPI (used in servers) and ARM32 disabled is ∼60K SLOC today. Future: A minimal Xen configuration for a small set of boards should be in the order of 40K to 50K SLOC, smaller if common code can be aggressively removed via Kconfig. x86 On x86 Xen, there is little configurability today, but However, the 128K SLOC figure includes most Intel SKUs. Focusing on the latest hardware only should reduce this significantly. Code Size: Where are we starting from Components K SLOC /xen/common 33.4 /xen/arch/arm 19.8 /xen/drivers 16.0 Total 69.3 Calculation K SLOC x86 with everything enabled 325 x86 PVH for Intel only, no server features 128 Cost Example: DO-178C, 45K SLOC DAL E (0.11 h/SLOC): ∼2.4 man years … ASIL-A DAL C (0.20 h/SLOC): ∼4.5 man years … ASIL-B/C DAL A (0.67 h/SLOC): ∼15 man years … ASIL-D Hours for vendor with certification experience Perspective: Total Xen Community Dev Effort 2014 - 2017: ∼41 to ∼50 man years per year Using conservative COCOMO model
  • 13. Status Update: Nov 2018 MISRA Compliance In collaboration with Perforce, EPAM and XILINX, the project started an initiative to make Xen MISRA compliant and safety certifiable for automotive and industrial IoT deployments. Key community members have access to Perforce's Helix QAC static code analysis solution and are working through MISRA compliance issues. Minimal Arm Configuration The first step of code size reduction is available in xen.git master and will be released with Xen 4.12 Code size has been reduced from 70K SLOC to 46K SLOC. Additional code size reduction should be possible Dom0-less First phase patches for Dom0-less have been up-streamed into xen.git master and will be released with Xen 4.12. This will enable Xen to boot multiple domains in parallel, in addition to dom0, from information found in the device tree. Other OP-TEE support for xen and within OP-Tee are currently under review, but look on track to be released with Xen 4.12 PSCI / EEMI based suspend-to-RAM in Xen 4.12: see https://www.linux.com/blog/2018/7/xen-project-hypervisor-power- management-suspend-ram-arm-architectures & https://www.linux.com/blog/2018/7/xen-project-hypervisor-virtualization-and- power-management-are-coalescing Prototyping and evaluation virtio-based IO for automotive based systems (which may become a requirement)
  • 14. Thank you! Visit GENIVI at http://www.genivi.org or http://projects.genivi.org Contact us: help@genivi.org This work is licensed under a Creative Commons Attribution-Share Alike 4.0 (CC BY-SA 4.0) GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries. Copyright © GENIVI Alliance 2018.