Re: [Xen-devel] Xen ARM Dom0less passthrough without IOMMU

2019-12-18 Thread Stefano Stabellini
On Wed, 18 Dec 2019, Julien Grall wrote: > Hi Stefano, > > On 17/12/2019 18:28, Stefano Stabellini wrote: > > > Then I tried to passthrough the eMMC, but I got the following > > > error: > > > (XEN) DOM1: [0.879151] sdhci-esdhc-imx 4005d000.usdhc: can't request > > > region for resource [mem 0

Re: [Xen-devel] Xen ARM Dom0less passthrough without IOMMU

2019-12-18 Thread Julien Grall
Hi Stefano, On 17/12/2019 18:28, Stefano Stabellini wrote: Then I tried to passthrough the eMMC, but I got the following error: (XEN) DOM1: [0.879151] sdhci-esdhc-imx 4005d000.usdhc: can't request region for resource [mem 0x4005d000-0x4005dfff] (XEN) DOM1: [0.891137] sdhci-esdhc-imx 400

Re: [Xen-devel] Xen ARM Dom0less passthrough without IOMMU

2019-12-17 Thread Stefano Stabellini
On Tue, 17 Dec 2019, Andrei Cherechesu wrote: > > On Mon, 16 Dec 2019, Julien Grall wrote: > > > On 16/12/2019 23:05, Stefano Stabellini wrote: > > > > On Mon, 16 Dec 2019, Julien Grall wrote: > > > > > On 16/12/2019 18:02, Andrei Cherechesu wrote: > > > > > But even with this patch, RAM in DomU is

Re: [Xen-devel] Xen ARM Dom0less passthrough without IOMMU

2019-12-17 Thread Julien Grall
Hi Andrei, On 17/12/2019 17:20, Andrei Cherechesu wrote: On Mon, 16 Dec 2019, Julien Grall wrote: On 16/12/2019 23:05, Stefano Stabellini wrote: On Mon, 16 Dec 2019, Julien Grall wrote: On 16/12/2019 18:02, Andrei Cherechesu wrote: But even with this patch, RAM in DomU is not direct mapped (i

Re: [Xen-devel] Xen ARM Dom0less passthrough without IOMMU

2019-12-17 Thread Andrei Cherechesu
> On Mon, 16 Dec 2019, Julien Grall wrote: > > On 16/12/2019 23:05, Stefano Stabellini wrote: > > > On Mon, 16 Dec 2019, Julien Grall wrote: > > > > On 16/12/2019 18:02, Andrei Cherechesu wrote: > > > > But even with this patch, RAM in DomU is not direct mapped (i.e Guest > > > > Physical > > > > A

Re: [Xen-devel] Xen ARM Dom0less passthrough without IOMMU

2019-12-17 Thread Julien Grall
On 17/12/2019 01:18, Stefano Stabellini wrote: On Mon, 16 Dec 2019, Julien Grall wrote: On 16/12/2019 23:05, Stefano Stabellini wrote: On Mon, 16 Dec 2019, Julien Grall wrote: On 16/12/2019 18:02, Andrei Cherechesu wrote: But even with this patch, RAM in DomU is not direct mapped (i.e Guest

Re: [Xen-devel] Xen ARM Dom0less passthrough without IOMMU

2019-12-16 Thread Stefano Stabellini
On Mon, 16 Dec 2019, Julien Grall wrote: > On 16/12/2019 23:05, Stefano Stabellini wrote: > > On Mon, 16 Dec 2019, Julien Grall wrote: > > > On 16/12/2019 18:02, Andrei Cherechesu wrote: > > > But even with this patch, RAM in DomU is not direct mapped (i.e Guest > > > Physical > > > Address == Host

Re: [Xen-devel] Xen ARM Dom0less passthrough without IOMMU

2019-12-16 Thread Julien Grall
On 16/12/2019 23:05, Stefano Stabellini wrote: On Mon, 16 Dec 2019, Julien Grall wrote: On 16/12/2019 18:02, Andrei Cherechesu wrote: But even with this patch, RAM in DomU is not direct mapped (i.e Guest Physical Address == Host Physical Address). This means that DMA-capable device would not w

Re: [Xen-devel] Xen ARM Dom0less passthrough without IOMMU

2019-12-16 Thread Stefano Stabellini
On Mon, 16 Dec 2019, Julien Grall wrote: > On 16/12/2019 18:02, Andrei Cherechesu wrote: > > Hello, > > Hello, > > > My name is Andrei Cherechesu and I'm a Software Engineer at NXP > > > > Semiconductors in the Automotive department, Linux BSP Team. > > > > I would like to tell you have done a

Re: [Xen-devel] Xen ARM Dom0less passthrough without IOMMU

2019-12-16 Thread Julien Grall
On 16/12/2019 18:02, Andrei Cherechesu wrote: Hello, Hello, My name is Andrei Cherechesu and I'm a Software Engineer at NXP Semiconductors in the Automotive department, Linux BSP Team. I would like to tell you have done a great job so far with Xen. Thank you for your interest in Xen on Ar

[Xen-devel] Xen ARM Dom0less passthrough without IOMMU

2019-12-16 Thread Andrei Cherechesu
Hello, My name is Andrei Cherechesu and I'm a Software Engineer at NXP Semiconductors in the Automotive department, Linux BSP Team. I would like to tell you have done a great job so far with Xen. Thus, we have ported and integrated Xen ARM in the Linux BSP for our boards. Currently, we are tryin