On 06:30-20201106, Liang Jingyan (M) wrote:
> Dear Jailhouse develop Team,
> 
> We are Marelli(Guangzhou) Team, We are now developing TI J7 board, as we 
> know, TI use the jailhouse hypervisor with their Cockpit Demo. Now Marelli 
> team want to know more detail about the jailhouse hypervisor, we have some 
> questions, Could you pls help to confirm? Thanks.
> 

Hello,
You can find answers to many of the questions in the Jailhouse source
README and Documentation. I recommend you to go through these


[1] README https://github.com/siemens/jailhouse/blob/master/README.md
[2] 

I will try to answer a few of the questions.

> Question:
> 
> 1.       Can the hypervisor allocation HW resource dynamically when 
> hypervisor running?
> 
No this is against the Jailhouse's design of partitioning the resources
statically.

> such as below resource, could be dynamically changed?
> 
> a.       CPU core (Adaptive cpu resource share)
> 
> b.       DDR size (Adaptive memory resource share)
> 
> c.       GPU core (Virtual GPU module share)
> 
> d.       GPIO/I2C/SPI/I2S etc.
> 
> 

> 
> 2.       if the hypervisor could not allocation HW resource dynamically, how 
> the design logic of  hypervisor allocate resource?
> 
> pls share some introduce documents if have.
> 
> 

Jailhouse does not and will not support dynamic allocation. For
deterministic performances, all the resources are statically
partitioned

> 
> 3.       Does the hypervisor have some KPI data?
> 
> such as below info
> 
> a.       How Fast boot time when OS mount filesystem;
> 
> b.       How Fast boot time to show first image?
> 
> c.       How Fast boot time to play audio?
> 
> d.       How Fast boot time to show RVC?
> 
> e.       How Fast boot time to run second OS filesystem and touch?
> 

This varies across different platforms.
There is no benchmarking data for the TI platform

> 
> 
> 4.       What’s the communication solutions between different OS?
> 
> Does it support sharemem, socket, or another fast/ large-capacity data 
> communicate method?
> 

Jailhouse supports following
* IVSHMEM demo - a simple application to send receive simple messages
* ivshmem-net - a networking device which allows to communicate different
VMs using sockets.

> 
> 5.       Does the hypervisor Support posix interface or not? have some method 
> that easy for porting Application from our former OS?
> 
> if do not support posix, have another method to port easy?
> 

OS can run unmodified on Jailhouse. It need not know about the
underlying hypervisor. Also, Jailhouse does not affect the application
binary interface and there won't be any application (user space) level porting.

> 
> 
> 6.       Pls list the hypervisor Support how much connectivity features;
> 
> such as BT/ BT LTE, Wi-Fi, ethernet stack pass TC8 test, USB Ethernet(NCM, 
> RNDIS),  ZigBee etc.
> 

These are features generally supported by the OS not hypervisor.
If the standalone Linux supports these features, it should continue to
support them with Jailhouse as well.

> 
> 7.       pls list how many Host OS does hypervisor support So far? (such as 
> Linux, Linux AGL, QNX for Cluster etc)
> 

Jailhouse is verified on ARM64 platforms with Linux, FreeRTOS, baremetal
code, etc

> 
> 
> 8.       Pls list how many Guest OS does hypervisor support So far? (such as 
> Linux, Android, Linux AGL, QNX for IVI etc)
> 

Same as above
> 
> 9.       Does the hypervisor had Supported 3rd party SW lib(such as DOIP, 
> SOMEIP, Adaptive Autosar, OTA solution) ?
> 

There is no official 3rd party software that Jailhouse recommends

> 
> 10.   what kind of program language(such as C, C++, Python, Java, etc.) can 
> support?
> 

What do you mean by this? Jailhouse is written in C and assembly if you want to 
know that.

> 
> 11.   Is the hypervisor open source ?
> 

Yes, you can find it at  https://github.com/siemens/jailhouse

> 
> 12.   What kind of development tool chain(such as Compile, Debug and analyze 
> tools) can support to develop bsp and application?
> 
> such as use the IDE could debug step by step?
> 
> such as use which Compile to compile application?  GCC or itself compile?
> 
> have tool to analyze hypervisor system performance(CPU load, GPU load, DDR 
> bandwidth)?
> 

For this, you can refer to the BSP of the board you are working on.

> 
> 
> 13.   What is the fault handing mechanism on the hypervisor(such as Ramdump, 
> VM crash, coredump)?
> 
> How does the hypervisor analyze the system crash?
> 
> 

Currently, the Jailhouse detects violations from the VM and parks the
CPU and provides the register dump on the console.
Note that there is no mechanism in place to detect a crash at EL1
(Kernel crash)

> 
> 14.   What the hypervisor have got Safety certification level?
> 
> if no safety certification, pls share some introduce how does it make safety?
> 
> 

I think the smaller code base, deterministic resource allocation and
other decisions are taken considering the usage of this hypervisor in
safety critical systems. This shoud ease in certification.

However, there is no certification done for Jailhouse

> 
> 15.   what is the hypervisor Maturity?
> 
> such as In J7 platform, how many bsp driver have release? how many project on 
> going and SOP?
> 
> 

The J7 platform support has been there in the Jailhouse upstream for at
least 8 months now. Regarding BSP release, please contact TI support team

> 
> 16.   What’s the security support of this hypervisor?
> 
> Does it support security boot, sandbox, MAC, security filesystem, SCM, DMM, 
> firewall, Security unpack, SRTC, TLS etc?
> 
> if the hypervisor have security feature list, pls share.
> 

This is too open ended question

> 
> 17.   How many resource usage when the hypervisor running? (such as Resource 
> usage: CPU, RAM, ROM)
> 

Currenly, for TI platform, 6MB RAM is reserved for hypervisor
There is some CPU usage when enabling hypervisor and using VM management
hypercalls.

At runtime, Jailhouse is involved only while handling the interrupt
injection part and IVshmem


> 
> 
> 18.   Does the hypervisor had  team support in China? or which side support 
> when Chinese GuangZhou have the hypervisor project?
> 

It's an open source project. If there is some issue with the upstream
supported platform and features, community can help.

> 
> 
> 19.   What kinds of HMI engine can this hypervisor support(such as QT, Kanzi, 
> Altia, CGI Studio, crank, html5 etc)?
> 

Again, Jailhouse is hypervisor. Not an operating system. These features
should be supported by an operating system, distro, and apps.
Which you can choose your own.

Only restrictions is that - Root cell has to be a Linux based OS

> 
> 
> 20.   Does the hypervisor have some technical document(user guide) are public?
> 
> if have website or link.
> 
> if no, how could we get these technical document?
> 
> 

You can find documentation at
https://github.com/siemens/jailhouse/tree/master/Documentation

> 
> 21.   Does the hypervisor had use in OEMs?
> 
> pls share some info.
> 
> 

I do not have answer to this.

> 
> 22.   How do we get the hypervisor license?  Is it free(no NRE, royalty) to 
> get license?
> 

Refer to https://github.com/siemens/jailhouse/blob/master/COPYING

> 
> 23.   Is is free(no NRE, royalty) to use the hypervisor and its hypervisor 
> modules, Customize Support Package, Tool Chain, Special function lib?
> 

Yes, it is free. There is no royalty and there is no warrenty from the
community as stated in the above license.

Go through the GPLv2 license for details on restrictions on
customization and distribution.

I recommend that you go through the source code, public documentation.
That will clarify most of the doubts.


Thanks
Nikhil Devshatwar

> Best Regards,
> _________________________
> Liang Jingyan 梁敬彦
> Cluster SW Engineer
> 
> Magneti Marelli Automotive Electronics (Guangzhou) Co,. Ltd
> No.2 Yongli Road, Xinya Street, Huadu District, Guangzhou, Guangdong, 
> P.R.China
> www.marelli.com<http://www.marelli.com/>
>  [cid:[email protected]]
>  Please note our web domain and email
> account have changed to marelli.com
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jailhouse" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jailhouse-dev/e2ab7c14fd244457a1faeb99ff0fe5be%40MXPO1FGAW.fgremc.it.


-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/20201106102901.i4qk35q4g6eqglhu%40NiksLab.

Reply via email to