From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH v4 3/3] xen/iommu: arm: Use p2m_ipa_bits as stage2 input size Date: Fri, 1 May 2015 11:22:47 +0100 Message-ID: <554353F7.3000207@citrix.com> References: <1430444419-11564-1-git-send-email-edgar.iglesias@gmail.com> <1430444419-11564-4-git-send-email-edgar.iglesias@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1430444419-11564-4-git-send-email-edgar.iglesias@gmail.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: "Edgar E. Iglesias" , xen-devel@lists.xen.org Cc: julien.grall@citrix.com, edgar.iglesias@xilinx.com, tim@xen.org, ian.campbell@citrix.com, stefano.stabellini@citrix.com List-Id: xen-devel@lists.xenproject.org Hi Edgar, On 01/05/15 02:40, Edgar E. Iglesias wrote: > From: "Edgar E. Iglesias" > > The Stage2 input-size must match what the CPU uses because > the SMMU and the CPU share page-tables. > > Test that the SMMU supports the P2M IPA bit size, use it if > supported or bail out if not. > > Signed-off-by: Edgar E. Iglesias Reviewed-by: Julien Grall Regards, -- Julien Grall