From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH v6 0/3] Set SMMU s2 input-size based on p2m tables Date: Wed, 13 May 2015 15:47:17 +0100 Message-ID: <1431528437.8263.308.camel@citrix.com> References: <1431069010-29935-1-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: <1431069010-29935-1-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" Cc: julien.grall@citrix.com, tim@xen.org, edgar.iglesias@xilinx.com, stefano.stabellini@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Fri, 2015-05-08 at 17:10 +1000, Edgar E. Iglesias wrote: > From: "Edgar E. Iglesias" > > Hi, > > This is a fix for the issue I'm seeing on ZynqMP with missmatched > setup of the SMMU and the shared p2m page-tables with the CPU. > > This implements a global p2m_ipa_bits cap for S2 input-size as > discussed in the previous RFC. Acked + applied, thanks. > > Best regards, > Edgar > > Changelog: > v5 -> v6: > * Remove const from ARM32 to fix the build. > * Reuse p2m_ipa_bits in info print > > v4 -> v5: > * Make p2m_ipa_bits __read_mostly. > * Make p2m_ipa_bits const for ARM32. > > v3 -> v4: > * Replace ASSERT on supported IPA sizes with returnig error. > * Remove redundant 'addresses' after IPA. > > v2 -> v3: > * pfn -> ipa. > * Fix typos in commit msg for 3/3. > > v1 -> v2: > * Use a global pfn bitsize instead of a per-domain one. > > Edgar E. Iglesias (3): > xen/arm: Re-order iommu_setup to after setup_virt_paging > xen/arm: Add p2m_ipa_bits > xen/iommu: arm: Use p2m_ipa_bits as stage2 input size > > xen/arch/arm/p2m.c | 6 +++++- > xen/arch/arm/setup.c | 4 ++-- > xen/drivers/passthrough/arm/smmu.c | 10 ++++++++-- > xen/include/asm-arm/p2m.h | 3 +++ > 4 files changed, 18 insertions(+), 5 deletions(-) >