Skip to contentSkip to conversation

Xen Community Call 21/06/17 meeting minutes

DISCUSSION Julien Grall 3 participants 7 messages Jul 4, 2017 – Jul 5, 2017

lore
Share & tools
lore
#0 lore raw

Hi all,

Sorry, I forgot to write the list of attendees. I only wrote down the company name. Feel free to forward the e-mail to any people interested.

During the previous community call, we discussed about potential embedded/automative boards. Stefano Stabellini brought up 3 names:

- Renases R-Car
- NXP IMX.8
- Qualcomm Snapdragon 820

He requested feedback from the attendees.

* Renesas R-Car *

There are a page on Xen wiki how on to use Xen on the Salvator-X:

https://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/Salvator-X

EPAM is looking at supporting the IPMMU-VMSA in Xen:

https://lists.xen.org/archives/html/xen-devel/2017-05/msg00959.html

The support of the IOMMU require to unshare the page tables between the processor and IOMMU because the descriptors are incompatibles.

It was mentioned there are missing patches in Xen to support the serial console. I am wasn't able to find which one. Can someone give a pointer to any missing patches for the R-Car?

* IMX.8 *

Dornerworks is working on a support for Xen. Work is been done in private at the moment.

Issue with the current SMMU drivers has been discussed, such as StreamIDs shared between multiple devices.

Most of the devices can be passthrough-ed but graphics cards at the moment.

* Snapdragon 820 *

No one on the call used it. Feedbacks are requested from the community.

Cheers,

Signature · 9 lines
Julien Grall

-- 
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#1 lore raw

Hello Julien

Thanks for the update, I am sorry I had to miss this call due to travel...

Indeed, support for debug console on R-Car is still not in the mainline yet, patch was published some long time ago and never finalized. Andrii Anisov will send an updated version soon for upstream.

ARTEM MYGAIEV
Director, Technology Solutions

Office: +380 44 390 5457 x 65570 Cell: +380 67 921 1131 Email: [email protected]
Kyiv, Ukraine (GMT+3) epam.com

CONFIDENTIALITY CAUTION AND DISCLAIMER
This message is intended only for the use of the individual(s) or entity(ies) to which it is addressed and contains information that is legally privileged and confidential. If you are not the intended recipient, or the person responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. All unintended recipients are obliged to delete this message and destroy any printed copies.

-----Original Message-----
From: Julien Grall [mailto:[email protected]]
Sent: 4 липня 2017 р. 17:42
To: xen-devel <[email protected]>; Stefano Stabellini <[email protected]>; Jarvis Roach <[email protected]>
Cc: Andrii Anisov <[email protected]>; Artem Mygaiev <[email protected]>; Oleksandr Tyshchenko <[email protected]>; [email protected]; Lars Kurth <[email protected]>
Subject: Xen Community Call 21/06/17 meeting minutes

Hi all,

Sorry, I forgot to write the list of attendees. I only wrote down the company name. Feel free to forward the e-mail to any people interested.

During the previous community call, we discussed about potential embedded/automative boards. Stefano Stabellini brought up 3 names:

- Renases R-Car
- NXP IMX.8
- Qualcomm Snapdragon 820

He requested feedback from the attendees.

* Renesas R-Car *

There are a page on Xen wiki how on to use Xen on the Salvator-X:

https://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/Salvator-X

EPAM is looking at supporting the IPMMU-VMSA in Xen:

https://lists.xen.org/archives/html/xen-devel/2017-05/msg00959.html

The support of the IOMMU require to unshare the page tables between the processor and IOMMU because the descriptors are incompatibles.

It was mentioned there are missing patches in Xen to support the serial console. I am wasn't able to find which one. Can someone give a pointer to any missing patches for the R-Car?

* IMX.8 *

Dornerworks is working on a support for Xen. Work is been done in private at the moment.

Issue with the current SMMU drivers has been discussed, such as StreamIDs shared between multiple devices.

Most of the devices can be passthrough-ed but graphics cards at the moment.

* Snapdragon 820 *

No one on the call used it. Feedbacks are requested from the community.

Cheers,

--
Julien Grall

--
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#2 lore raw
In reply to Julien Grall

Hello Julien,

Quoted 8 lines · Julien Grall

* Renesas R-Car *

There are a page on Xen wiki how on to use Xen on the Salvator-X:

https://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/Salvator-X

It was mentioned there are missing patches in Xen to support the serial console. I am wasn't able to find which one. Can someone give a pointer to any missing patches for the R-Car?

Here is the original patch for an early console [1].

From my side I have some minor changes to the patch. Just rewording 'cause all existing R-Car Gen3 based dev-boards have the same console configuration. I would send an updated patch today.

[1] https://lists.xenproject.org/archives/html/xen-devel/2016-11/msg00594.html

Signature · 8 lines
*Andrii Anisov*



_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#3 lore raw
Quoted 1 line · Andrii Anisov

Hello Julien,

Hi Andrii,

Quoted 13 lines · Julien Grall
Quoted 10 lines

* Renesas R-Car *

There are a page on Xen wiki how on to use Xen on the Salvator-X:

https://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/Salvator-X

It was mentioned there are missing patches in Xen to support the serial console. I am wasn't able to find which one. Can someone give a pointer to any missing patches for the R-Car?

Quoted 6 lines

Here is the original patch for an early console [1].

From my side I have some minor changes to the patch. Just rewording 'cause all existing R-Car Gen3 based dev-boards have the same console configuration.
I would send an updated patch today.

Thank you for that. I would love to see this board fully supported in Xen. When the previous patch was sent, I requested a couple of things to be done (see [2]). Unfortunately, at the moment they are not all addressed.

We need someone to take the "owernership" of the board. This means testing Xen during RC and helping user who wans to boot Xen on R-Car.

Furthermore, the current wiki page for R-Car does not provide runes to build Xen upstream. It only provides an Yocto layer based with compile a patched Xen.

Don't get me wrong, I am perfectly happy to use Yocto. But it should not build a Xen with non-upstream patches containing security flaw (see [3]).

But, when I see the list of patches (see [3]) and the "Known limitations", it raises the question whether we have everything in Xen upstream to support this board.

Can one of you update the wiki page with the last Xen upstream and write down what is really missing in the hypervisor.

Cheers,

Quoted 4 lines

[1]
https://lists.xenproject.org/archives/html/xen-devel/2016-11/msg00594.html

[2] https://lists.xenproject.org/archives/html/xen-devel/2016-07/msg00130.html
[3] https://lists.xenproject.org/archives/html/xen-devel/2016-11/msg01955.html

Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#4 lore raw
Quoted 1 line · Julien Grall

We need someone to take the "owernership" of the board. This means testing Xen during RC and helping user who wans to boot Xen on R-Car.

Our team can take this ownership.

Quoted 1 line

Furthermore, the current wiki page for R-Car does not provide runes to build Xen upstream. It only provides an Yocto layer based with compile a patched Xen.

AFAIK current upstream do not need any of those patch to run on R-Car Gen3 based board. Even early console patch is non-essential.

Quoted 1 line

Don't get me wrong, I am perfectly happy to use Yocto.

I would explain a need to build with Yocto by the fact that Renesas provides its BSP as Yocto. And BSP needs some changes to get XEN running.

Quoted 1 line

But it should not build a Xen with non-upstream patches containing security flaw (see [3]).

The security flaw (not trapping SMC by hypervisor) is introduced in order to get system with OP-TEE (which is a part of Renesas BSP) functional. But the right way would be disabling OP-TEE in BSP+XEN build until SMC handling done by Volodymyr Babchuk is upstreamed.

Quoted 1 line

Can one of you update the wiki page with the last Xen upstream and write down what is really missing in the hypervisor.

Our preliminary plan is to prepare another distilled yocto layer which would introduce minimal required changes to BSP only and update the wiki page appropriately. Will it work for you?

Quoted 1 line

[3] https://lists.xenproject.org/archives/html/xen-devel/2016-11/msg01955.html

Signature · 8 lines
*Andrii Anisov*



_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#5 lore raw

Hi Andrii,

Quoted 4 lines · Andrii Anisov
Quoted 2 lines · Julien Grall

We need someone to take the "owernership" of the board. This means testing Xen during RC and helping user who wans to boot Xen on R-Car.

Our team can take this ownership.

Sounds good to me. Would it be possible to update:

https://wiki.xenproject.org/wiki/Xen_ARM_Manual_Smoke_Test/Results

Quoted 18 lines
Quoted 4 lines

Furthermore, the current wiki page for R-Car does not provide runes to build Xen upstream. It only provides an Yocto layer based with compile a patched Xen.

AFAIK current upstream do not need any of those patch to run on R-Car Gen3 based board. Even early console patch is non-essential.

Quoted 1 line

Don't get me wrong, I am perfectly happy to use Yocto.

I would explain a need to build with Yocto by the fact that Renesas provides its BSP as Yocto. And BSP needs some changes to get XEN running.

Quoted 2 lines

But it should not build a Xen with non-upstream patches containing security flaw (see [3]).

The security flaw (not trapping SMC by hypervisor) is introduced in order to get system with OP-TEE (which is a part of Renesas BSP) functional. But the right way would be disabling OP-TEE in BSP+XEN build until SMC handling done by Volodymyr Babchuk is upstreamed.

Quoted 6 lines
Quoted 2 lines

Can one of you update the wiki page with the last Xen upstream and write down what is really missing in the hypervisor.

Our preliminary plan is to prepare another distilled yocto layer which would introduce minimal required changes to BSP only and update the wiki page appropriately.
Will it work for you?

I am fine with that. Would it be possible to get the yocto pointing to the branch master rather than a specific release?

Cheers,

Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel