From: "Jan Beulich" Subject: Re: [PATCH v3 16/24] xen/passthrough: Introduce iommu_construct Date: Wed, 21 Jan 2015 14:29:29 +0000 Message-ID: <54BFC5D90200007800057B9A@mail.emea.novell.com> References: <1421159133-31526-1-git-send-email-julien.grall@linaro.org> <1421159133-31526-17-git-send-email-julien.grall@linaro.org> <54BD46C60200007800056A6B@mail.emea.novell.com> <54BE6611.1070701@linaro.org> <54BE932502000078000572A8@mail.emea.novell.com> <54BE8C4A.7030801@linaro.org> <54BF8C470200007800057611@mail.emea.novell.com> <54BF815F.5090106@linaro.org> <54BF92110200007800057667@mail.emea.novell.com> <54BF9803.6090404@linaro.org> <54BFC22D0200007800057B41@mail.emea.novell.com> <54BFB634.6030407@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YDwHj-0000w0-I7 for xen-devel@lists.xenproject.org; Wed, 21 Jan 2015 14:29:31 +0000 In-Reply-To: <54BFB634.6030407@linaro.org> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: xen-devel@lists.xenproject.org, stefano.stabellini@citrix.com, ian.campbell@citrix.com, tim@xen.org List-Id: xen-devel@lists.xenproject.org >>> On 21.01.15 at 15:22, wrote: > On 21/01/15 14:13, Jan Beulich wrote: >>>>> On 21.01.15 at 13:13, wrote: >>> iommu_dom0_strict is always set to 1 when IOMMU is used on ARM (see >>> check_hwdom_reqs). >>> >>> Futhermore, we always share the page table with the processor, so we >>> never need to populate the page table. >> >> That's all far from obvious looking at the patch at hand. And you >> can then only hope that these two "always" will always remain to >> be that way. > > Hence the suggested ASSERT on a previous mail. I could also add a > comment in the code explaining the ASSERT(). Yes please, for both parts. Jan