From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH v2 19/21] xen/arm: Reserve region in guest memory for device passthrough Date: Wed, 06 Aug 2014 17:47:42 +0100 Message-ID: <53E25C2E.8080704@linaro.org> References: <1406818852-31856-1-git-send-email-julien.grall@linaro.org> <1406818852-31856-20-git-send-email-julien.grall@linaro.org> <53E258C0.7000902@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 1XF4NQ-0003Pk-CX for xen-devel@lists.xenproject.org; Wed, 06 Aug 2014 16:47:48 +0000 Received: by mail-wg0-f47.google.com with SMTP id b13so2954087wgh.30 for ; Wed, 06 Aug 2014 09:47:46 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: xen-devel@lists.xenproject.org, tim@xen.org, ian.campbell@citrix.com, stefano.stabellini@citrix.com List-Id: xen-devel@lists.xenproject.org On 08/06/2014 05:44 PM, Stefano Stabellini wrote: > On Wed, 6 Aug 2014, Julien Grall wrote: >> Hi Stefano, >> >> On 08/06/2014 05:27 PM, Stefano Stabellini wrote: >>> On Thu, 31 Jul 2014, Julien Grall wrote: >>>> This region will be split by the toolstack to allocate MMIO range for eac >>>> device. >>>> >>>> For now only reserve a 768MB region, this should be enought to passthrough >>>> multiple device at the same time. >>>> >>>> Signed-off-by: Julien Grall >>>> >>>> --- >>>> >>>> I can't allocate easily a range of 1GB in the current layout without shrink >>>> the first RAM bank. So I decided to use only 768MB. If in the future we need >>>> more, then we will have to choose at runtime the guest layout. >>>> >>>> Changes in v2: >>>> - Bump the reserved region from 512MB to 768MB >>> >>> >>> Better than nothing. >>> Would it be possible to add a second region > 4GB? Maybe after RAM? >>> How hard would be to handle that? >> >> It won't work if the guest is using short-descriptor translation table >> format because only 32 bits address will be supported. > > I know. I don't plan to handle another region for this series. If someone come with a real use case, then I will think about it. Regards, -- Julien Grall