Re: [Xen-devel] [PATCH v2 09/13] xen/arm: Add use_iommu flag to xen_arch_domainconfig

2017-08-03 Thread Julien Grall
On 03/08/17 13:31, Oleksandr Tyshchenko wrote: Hi, Julien On Thu, Aug 3, 2017 at 2:33 PM, Julien Grall wrote: Hi Oleksandr, On 25/07/17 18:26, Oleksandr Tyshchenko wrote: diff --git a/xen/arch/arm/domain.c b/xen/arch/arm/domain.c index ec19310..3079bbe 100644 --- a/xen/arch/arm/domain.c +

Re: [Xen-devel] [PATCH v2 09/13] xen/arm: Add use_iommu flag to xen_arch_domainconfig

2017-08-03 Thread Oleksandr Tyshchenko
Hi, Julien On Thu, Aug 3, 2017 at 2:33 PM, Julien Grall wrote: > Hi Oleksandr, > > On 25/07/17 18:26, Oleksandr Tyshchenko wrote: >> >> diff --git a/xen/arch/arm/domain.c b/xen/arch/arm/domain.c >> index ec19310..3079bbe 100644 >> --- a/xen/arch/arm/domain.c >> +++ b/xen/arch/arm/domain.c >> @@ -

Re: [Xen-devel] [PATCH v2 09/13] xen/arm: Add use_iommu flag to xen_arch_domainconfig

2017-08-03 Thread Julien Grall
Hi Oleksandr, On 25/07/17 18:26, Oleksandr Tyshchenko wrote: diff --git a/xen/arch/arm/domain.c b/xen/arch/arm/domain.c index ec19310..3079bbe 100644 --- a/xen/arch/arm/domain.c +++ b/xen/arch/arm/domain.c @@ -569,7 +569,7 @@ int arch_domain_create(struct domain *d, unsigned int domcr_flags,

Re: [Xen-devel] [PATCH v2 09/13] xen/arm: Add use_iommu flag to xen_arch_domainconfig

2017-07-28 Thread Oleksandr Tyshchenko
Hi, Wei On Fri, Jul 28, 2017 at 7:16 PM, Wei Liu wrote: > On Tue, Jul 25, 2017 at 08:26:51PM +0300, Oleksandr Tyshchenko wrote: >> From: Oleksandr Tyshchenko >> >> This flag is intended to let Xen know that the guest has devices >> which will most likely be used for passthrough and as the result

Re: [Xen-devel] [PATCH v2 09/13] xen/arm: Add use_iommu flag to xen_arch_domainconfig

2017-07-28 Thread Wei Liu
On Tue, Jul 25, 2017 at 08:26:51PM +0300, Oleksandr Tyshchenko wrote: > From: Oleksandr Tyshchenko > > This flag is intended to let Xen know that the guest has devices > which will most likely be used for passthrough and as the result > the IOMMU is expected to be used for this domain. > > The p

[Xen-devel] [PATCH v2 09/13] xen/arm: Add use_iommu flag to xen_arch_domainconfig

2017-07-25 Thread Oleksandr Tyshchenko
From: Oleksandr Tyshchenko This flag is intended to let Xen know that the guest has devices which will most likely be used for passthrough and as the result the IOMMU is expected to be used for this domain. The primary aim of this knowledge is to help the IOMMUs that don't share page tables with