Re: [Xen-devel] question about memory allocation for driver domain

2015-02-09 Thread Julien Grall
On 09/02/2015 20:02, Oleksandr Tyshchenko wrote: On Mon, Feb 9, 2015 at 10:31 AM, Julien Grall wrote: On 07/02/2015 01:15, Oleksandr Tyshchenko wrote: Hi Julien Hi Oleksandr, On Thu, Feb 5, 2015 at 6:36 PM, Oleksandr Tyshchenko The next problem is ballooning. When the guest balloon out

Re: [Xen-devel] question about memory allocation for driver domain

2015-02-09 Thread Julien Grall
Hi Ian, On 09/02/2015 21:08, Ian Campbell wrote: On Mon, 2015-02-09 at 19:16 +0800, Julien Grall wrote: The last problem but not the least is, depending on which backend you are running in the 1:1 domain (such blkback), grant won't be mapped 1:1 to the guest, so you will have to use swiotlb in

Re: [Xen-devel] question about memory allocation for driver domain

2015-02-09 Thread Ian Campbell
On Mon, 2015-02-09 at 19:16 +0800, Julien Grall wrote: > >> The last problem but not the least is, depending on which backend you > >> are running in the 1:1 domain (such blkback), grant won't be mapped 1:1 > >> to the guest, so you will have to use swiotlb in order to use the right > >> DMA addres

Re: [Xen-devel] question about memory allocation for driver domain

2015-02-09 Thread Oleksandr Tyshchenko
On Mon, Feb 9, 2015 at 1:16 PM, Julien Grall wrote: > > > On 09/02/2015 18:53, Ian Campbell wrote: >> >> On Mon, 2015-02-09 at 16:31 +0800, Julien Grall wrote: >>> >>> It seems logical to me that destroy/create domd in a row working fine. >>> But this use-case is too simple :). >>> >>> Let's imagi

Re: [Xen-devel] question about memory allocation for driver domain

2015-02-09 Thread Oleksandr Tyshchenko
Hi Ian On Mon, Feb 9, 2015 at 12:53 PM, Ian Campbell wrote: > On Mon, 2015-02-09 at 16:31 +0800, Julien Grall wrote: >> It seems logical to me that destroy/create domd in a row working fine. >> But this use-case is too simple :). >> >> Let's imagine we decide to start classical domains (i.e no 1:

Re: [Xen-devel] question about memory allocation for driver domain

2015-02-09 Thread Oleksandr Tyshchenko
On Mon, Feb 9, 2015 at 10:31 AM, Julien Grall wrote: > > > On 07/02/2015 01:15, Oleksandr Tyshchenko wrote: >> >> Hi Julien > > > Hi Oleksandr, Hi Julien > >> On Thu, Feb 5, 2015 at 6:36 PM, Oleksandr Tyshchenko >> Let me describe in detail about solution #3 before answer to your >> question. May

Re: [Xen-devel] question about memory allocation for driver domain

2015-02-09 Thread Julien Grall
On 09/02/2015 18:53, Ian Campbell wrote: On Mon, 2015-02-09 at 16:31 +0800, Julien Grall wrote: It seems logical to me that destroy/create domd in a row working fine. But this use-case is too simple :). Let's imagine we decide to start classical domains (i.e no 1:1 mapping) before creating do

Re: [Xen-devel] question about memory allocation for driver domain

2015-02-09 Thread Ian Campbell
On Mon, 2015-02-09 at 16:31 +0800, Julien Grall wrote: > It seems logical to me that destroy/create domd in a row working fine. > But this use-case is too simple :). > > Let's imagine we decide to start classical domains (i.e no 1:1 mapping) > before creating domd (the 1:1 domain). As the free m

Re: [Xen-devel] question about memory allocation for driver domain

2015-02-09 Thread Julien Grall
On 07/02/2015 01:15, Oleksandr Tyshchenko wrote: Hi Julien Hi Oleksandr, On Thu, Feb 5, 2015 at 6:36 PM, Oleksandr Tyshchenko Let me describe in detail about solution #3 before answer to your question. Maybe I missed something in the first mail. Also the Ian's answer clarified to me some po

Re: [Xen-devel] question about memory allocation for driver domain

2015-02-06 Thread Oleksandr Tyshchenko
Hi Julien On Thu, Feb 5, 2015 at 6:36 PM, Oleksandr Tyshchenko wrote: > On Thu, Feb 5, 2015 at 5:24 PM, Julien Grall wrote: >> Hi Oleksandr, > Hi Julien >> >> >> On 05/02/2015 21:49, Oleksandr Tyshchenko wrote: >>> >>> On Thu, Feb 5, 2015 at 3:12 PM, Ian Campbell >>> wrote: On Wed, 20

Re: [Xen-devel] question about memory allocation for driver domain

2015-02-05 Thread Oleksandr Tyshchenko
On Thu, Feb 5, 2015 at 5:24 PM, Julien Grall wrote: > Hi Oleksandr, Hi Julien > > > On 05/02/2015 21:49, Oleksandr Tyshchenko wrote: >> >> On Thu, Feb 5, 2015 at 3:12 PM, Ian Campbell >> wrote: >>> >>> On Wed, 2015-02-04 at 18:47 +0200, Oleksandr Tyshchenko wrote: Hi, all. We

Re: [Xen-devel] question about memory allocation for driver domain

2015-02-05 Thread Julien Grall
Hi Oleksandr, On 05/02/2015 21:49, Oleksandr Tyshchenko wrote: On Thu, Feb 5, 2015 at 3:12 PM, Ian Campbell wrote: On Wed, 2015-02-04 at 18:47 +0200, Oleksandr Tyshchenko wrote: Hi, all. We have begun to use the driver domain on OMAP5 platform. To make driver domain running on OMAP5 platform

Re: [Xen-devel] question about memory allocation for driver domain

2015-02-05 Thread Oleksandr Tyshchenko
Hi, Ian On Thu, Feb 5, 2015 at 3:12 PM, Ian Campbell wrote: > On Wed, 2015-02-04 at 18:47 +0200, Oleksandr Tyshchenko wrote: >> Hi, all. >> >> We have begun to use the driver domain on OMAP5 platform. >> To make driver domain running on OMAP5 platform we need to have it >> memory 1 to 1 mapped be

Re: [Xen-devel] question about memory allocation for driver domain

2015-02-05 Thread Ian Campbell
On Wed, 2015-02-04 at 18:47 +0200, Oleksandr Tyshchenko wrote: > Hi, all. > > We have begun to use the driver domain on OMAP5 platform. > To make driver domain running on OMAP5 platform we need to have it > memory 1 to 1 mapped because of lacking SMMU support on this platform. > To satisfy this re

[Xen-devel] question about memory allocation for driver domain

2015-02-04 Thread Oleksandr Tyshchenko
Hi, all. We have begun to use the driver domain on OMAP5 platform. To make driver domain running on OMAP5 platform we need to have it memory 1 to 1 mapped because of lacking SMMU support on this platform. To satisfy this requirement we have done temporally solution which works but not entirely com