From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH v3 0/8] xen: arm: Use super pages in p2m Date: Thu, 26 Jun 2014 16:03:08 +0100 Message-ID: <53AC362C.303@linaro.org> References: <1403777793.16595.21.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1403777793.16595.21.camel@kazak.uk.xensource.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: Ian Campbell , xen-devel , Ian Jackson Cc: Tim Deegan , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Hi Ian, On 06/26/2014 11:16 AM, Ian Campbell wrote: > The following series adds support for superpage mappings (1G and 2M) in > the p2m for dom0 and domU. > > At the moment it is not possible to allocate 1G regions to guests, > because this is gated on multipage_allocation_permitted() which > currently (incorrectly) returns false for dom0 on ARM. OOI, why multipage_allocation_permitted is gated with iomem_caps? It looks wrong to me, as mapping an MMIO region in the guest will allow him to use 1G mapping. > This is fixed by > Arianna's "arch/arm: domain build: let dom0 access I/O memory of mapped > devices" (which initialises iomem_caps for dom0). IIRC, this has been pushed a month ago on upstream. Regards, -- Julien Grall