From: Ian Campbell Subject: Re: [RFC 15/19] xen/arm: Reserve region in guest memory for device passthrough Date: Thu, 3 Jul 2014 12:56:18 +0100 Message-ID: <1404388578.17859.30.camel@kazak.uk.xensource.com> References: <1402935486-29136-1-git-send-email-julien.grall@linaro.org> <1402935486-29136-16-git-send-email-julien.grall@linaro.org> <53A1AEEE.1030200@linaro.org> <1403105169.6568.87.camel@kazak.uk.xensource.com> <53A1D24D.2080406@linaro.org> <53A1DB82.6080709@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 1X2fcm-0003O7-N5 for xen-devel@lists.xenproject.org; Thu, 03 Jul 2014 11:56:24 +0000 In-Reply-To: <53A1DB82.6080709@linaro.org> 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, tim@xen.org, stefano.stabellini@citrix.com, Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Wed, 2014-06-18 at 19:33 +0100, Julien Grall wrote: > > On 18/06/14 19:14, Stefano Stabellini wrote: > >> For non-PCI passthrough this size will unlikely happen. We always map a > >> matter of few pages per-device. > >> > >> I think this size is enough for the time being. I plan to revisit it for > >> PCI passthrough where we will be able to allocate some of them after 4G. > > > > Modern GPUs can easily exceed 512MB and they work on ARM. > > If it's like on x86, passthrough GPUs may also require firmware. At > least it looks like the case with some configuration on the Arndale, > which doesn't have any SMMU. > > I'd like to make this series as simple as possible so we can get > "quickly" a working solution to passthrough device with small amount of > MMIO region. > > So if you don't mind I suggest to bump the amount of MMIO region to 1GB, > I may need to shrink the first RAM bank, and think about bigger region > support in a follow-up series. I think so long as we aren't painting ourselves into any ABI corners (I don't think we are) then defering the handling of large devices is fine. > > Regards, >