From patchwork Tue May 13 11:29:33 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Campbell X-Patchwork-Id: 30035 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f69.google.com (mail-oa0-f69.google.com [209.85.219.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 19E8A20369 for ; Tue, 13 May 2014 11:31:31 +0000 (UTC) Received: by mail-oa0-f69.google.com with SMTP id i7sf933305oag.4 for ; Tue, 13 May 2014 04:31:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:mime-version:cc:subject:precedence:list-id :list-unsubscribe:list-post:list-help:list-subscribe:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:list-archive:content-type:content-transfer-encoding; bh=Gz4yXAMr7iDnqjuLt20ok8x7ZyLeDDUEdPs1ZhCsERs=; b=QjfXaDVIR88+DepQuJ8WUrtxy9oQoPNi7wPWVSbGRihMbtutzeBuXQYIaMyOdO0iyh to6TWhoHJmsLsJ9ZJOyx5dLnxjmjtBYzUcLfiunzLUuU7Qqd+i5WpCW5FpdZhm8LwXfl xYiZtPchukjP0LXWz06jXhTLNLTwsOfoe39Ki9ArcgCGGGqdGbm1NA3eDWoVgRi8LIBd Du2qYcze6XfHhp8p4bYouXSMLnJqC4vonEnjlWFZUJl6unfsA2O2XeUfm0LPfC1OBH0B i8/QgMVicpsXLEP+owjeXHXxNNB33iaqWuIh8FTkLoNEPjAU3IMF7diNv5axepAFiGLB C4Vg== X-Gm-Message-State: ALoCoQnJvgfDOg/qcb40SQRr1bblAO4RWu2SC2+Ch/tRuoTQVFO4KPfaLx6LEeu1KsF2mIfMMamU X-Received: by 10.182.213.5 with SMTP id no5mr16667359obc.15.1399980690705; Tue, 13 May 2014 04:31:30 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.47.82 with SMTP id l76ls1911465qga.61.gmail; Tue, 13 May 2014 04:31:30 -0700 (PDT) X-Received: by 10.52.252.43 with SMTP id zp11mr387759vdc.44.1399980690589; Tue, 13 May 2014 04:31:30 -0700 (PDT) Received: from mail-ve0-f180.google.com (mail-ve0-f180.google.com [209.85.128.180]) by mx.google.com with ESMTPS id o2si2590930vew.115.2014.05.13.04.31.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 13 May 2014 04:31:30 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.180 as permitted sender) client-ip=209.85.128.180; Received: by mail-ve0-f180.google.com with SMTP id db12so238622veb.11 for ; Tue, 13 May 2014 04:31:30 -0700 (PDT) X-Received: by 10.52.175.69 with SMTP id by5mr23793502vdc.16.1399980690498; Tue, 13 May 2014 04:31:30 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp143382vcb; Tue, 13 May 2014 04:31:29 -0700 (PDT) X-Received: by 10.224.50.81 with SMTP id y17mr45878103qaf.22.1399980687998; Tue, 13 May 2014 04:31:27 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id e4si7550670qcc.29.2014.05.13.04.31.27 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 13 May 2014 04:31:27 -0700 (PDT) Received-SPF: none (google.com: xen-devel-bounces@lists.xen.org does not designate permitted sender hosts) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WkAu4-0007zI-8X; Tue, 13 May 2014 11:29:48 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WkAu2-0007wn-B2 for xen-devel@lists.xen.org; Tue, 13 May 2014 11:29:46 +0000 Received: from [85.158.139.211:48530] by server-5.bemta-5.messagelabs.com id 8D/78-06049-92202735; Tue, 13 May 2014 11:29:45 +0000 X-Env-Sender: Ian.Campbell@citrix.com X-Msg-Ref: server-2.tower-206.messagelabs.com!1399980578!3948814!2 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n X-StarScan-Received: X-StarScan-Version: 6.11.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 2377 invoked from network); 13 May 2014 11:29:44 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-2.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 13 May 2014 11:29:44 -0000 X-IronPort-AV: E=Sophos; i="4.97,1043,1389744000"; d="scan'208"; a="130584603" Received: from accessns.citrite.net (HELO FTLPEX01CL03.citrite.net) ([10.9.154.239]) by FTLPIPO01.CITRIX.COM with ESMTP; 13 May 2014 11:29:46 +0000 Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.80) with Microsoft SMTP Server id 14.3.181.6; Tue, 13 May 2014 07:29:44 -0400 Received: from marilith-n13-p0.uk.xensource.com ([10.80.229.115] helo=localhost.localdomain) by ukmail1.uk.xensource.com with smtp (Exim 4.69) (envelope-from ) id 1WkAty-0004Xu-Rx; Tue, 13 May 2014 12:29:43 +0100 Received: by localhost.localdomain (sSMTP sendmail emulation); Tue, 13 May 2014 12:29:42 +0100 From: Ian Campbell To: Date: Tue, 13 May 2014 12:29:33 +0100 Message-ID: <1399980574-12515-9-git-send-email-ian.campbell@citrix.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1399980488.21867.19.camel@kazak.uk.xensource.com> References: <1399980488.21867.19.camel@kazak.uk.xensource.com> MIME-Version: 1.0 X-DLP: MIA1 Cc: ian.jackson@eu.citrix.com, julien.grall@linaro.org, tim@xen.org, Ian Campbell , stefano.stabellini@eu.citrix.com Subject: [Xen-devel] [PATCH v4 9/9] tools: arm: increase size of region set aside for guest grant table X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Post: , List-Help: , List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ian.campbell@citrix.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.180 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Archive: The current size is sufficient for the default maximum grant table size (32-frames), but increase the reserved region to 16M/4096 pages to allow for the use of the gnttab_max_nr_frames command line option. Signed-off-by: Ian Campbell Acked-by: Julien Grall Acked-by: Ian Jackson --- v2: New patch --- xen/include/public/arch-arm.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xen/include/public/arch-arm.h b/xen/include/public/arch-arm.h index 935a1eb..cb74897 100644 --- a/xen/include/public/arch-arm.h +++ b/xen/include/public/arch-arm.h @@ -369,8 +369,11 @@ typedef uint64_t xen_callback_t; #define GUEST_GICC_BASE 0x03002000ULL #define GUEST_GICC_SIZE 0x00000100ULL +/* 16MB == 4096 pages reserved for guest to use as a region to map its + * grant table in. + */ #define GUEST_GNTTAB_BASE 0x38000000ULL -#define GUEST_GNTTAB_SIZE 0x00020000ULL +#define GUEST_GNTTAB_SIZE 0x01000000ULL #define GUEST_MAGIC_BASE 0x39000000ULL #define GUEST_MAGIC_SIZE 0x01000000ULL