From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH v4 3/3] xen/iommu: arm: Use p2m_ipa_bits as stage2 input size Date: Tue, 5 May 2015 14:59:02 +0100 Message-ID: <1430834342.2660.104.camel@citrix.com> References: <1430444419-11564-1-git-send-email-edgar.iglesias@gmail.com> <1430444419-11564-4-git-send-email-edgar.iglesias@gmail.com> <1430832263.2660.94.camel@citrix.com> <5548CA40.5060107@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5548CA40.5060107@citrix.com> 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: edgar.iglesias@xilinx.com, "Edgar E. Iglesias" , tim@xen.org, stefano.stabellini@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, 2015-05-05 at 14:48 +0100, Julien Grall wrote: > > Do we need to also check that we are configuring the same number of > > levels of PT etc, or is that already handled? > > The SMMU only care about the number of IPA bits. What ensures that the starting level of the SMMU matches the starting level of the MMU-s2? Feeding a 3-level table to an MMU which is configured to expect 4 won't end well. Ian.