From patchwork Mon Apr 28 13:02:12 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Campbell X-Patchwork-Id: 29242 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f200.google.com (mail-ve0-f200.google.com [209.85.128.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3FC4C202FE for ; Mon, 28 Apr 2014 13:04:48 +0000 (UTC) Received: by mail-ve0-f200.google.com with SMTP id oy12sf27411124veb.7 for ; Mon, 28 Apr 2014 06:04:48 -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=Tct2zM/OCN7iOMe5qud6DWTPnBpUJzeIxNpqlSKEsvg=; b=Um7xwIraLPkxCcf8mxQ8PlXkwsF7QS9m6FnFwzQuXCyi0MZnYxZ2TC0WomP73yQat4 hkxXSfWRZZrtAR4qTl00XUNPOiITu59ThpNPgC1xUa+lO6Z2tWyEvUD+8QLjuLocWrIz PsWzM/YKLz8KFBVFG4AGczzRVEOw9g/JaG2+uEJQ29zAWSUmNmhmj4o+GvlSlBfPXF1T tXeEpcvAVvwa4iiaDPhZaUBPAHU18JlVW9iJYczhjxWZjp2vNt/QyHq/UP7lIFrI1tF/ nKw71lIXedmqJtMrvhoiL3ZZ+SCTnUTP/hqw3m2jIESvFeAreYLdRBEvflV0F7XUjvH8 nPaQ== X-Gm-Message-State: ALoCoQknV8CSuT6ety7xVwO3hdKXMNW7GXz6w9KK8OioKJALLWyPM4/AkU+AuEFELJYhpaBgeuzr X-Received: by 10.58.41.39 with SMTP id c7mr13254786vel.25.1398690288045; Mon, 28 Apr 2014 06:04:48 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.32.203 with SMTP id h69ls2592088qgh.56.gmail; Mon, 28 Apr 2014 06:04:47 -0700 (PDT) X-Received: by 10.52.15.1 with SMTP id t1mr219401vdc.49.1398690287878; Mon, 28 Apr 2014 06:04:47 -0700 (PDT) Received: from mail-ve0-f169.google.com (mail-ve0-f169.google.com [209.85.128.169]) by mx.google.com with ESMTPS id ww7si3595432vec.156.2014.04.28.06.04.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 28 Apr 2014 06:04:47 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.128.169; Received: by mail-ve0-f169.google.com with SMTP id pa12so8128343veb.0 for ; Mon, 28 Apr 2014 06:04:47 -0700 (PDT) X-Received: by 10.58.187.78 with SMTP id fq14mr23321822vec.9.1398690287727; Mon, 28 Apr 2014 06:04:47 -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 ib8csp115768vcb; Mon, 28 Apr 2014 06:04:46 -0700 (PDT) X-Received: by 10.43.178.197 with SMTP id ox5mr22754320icc.22.1398690286084; Mon, 28 Apr 2014 06:04:46 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id rv3si13082457igb.34.2014.04.28.06.04.45 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 28 Apr 2014 06:04:46 -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 1WelCy-0001x7-FB; Mon, 28 Apr 2014 13:02:56 +0000 Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WelCx-0001vC-5t for xen-devel@lists.xen.org; Mon, 28 Apr 2014 13:02:55 +0000 Received: from [85.158.143.35:58381] by server-2.bemta-4.messagelabs.com id 0E/5D-06539-D715E535; Mon, 28 Apr 2014 13:02:53 +0000 X-Env-Sender: Ian.Campbell@citrix.com X-Msg-Ref: server-9.tower-21.messagelabs.com!1398690167!1480237!6 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n X-StarScan-Received: X-StarScan-Version: 6.11.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 21470 invoked from network); 28 Apr 2014 13:02:53 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-9.tower-21.messagelabs.com with RC4-SHA encrypted SMTP; 28 Apr 2014 13:02:53 -0000 X-IronPort-AV: E=Sophos;i="4.97,944,1389744000"; d="scan'208";a="124330260" Received: from accessns.citrite.net (HELO FTLPEX01CL02.citrite.net) ([10.9.154.239]) by FTLPIPO02.CITRIX.COM with ESMTP; 28 Apr 2014 13:02:22 +0000 Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.79) with Microsoft SMTP Server id 14.3.181.6; Mon, 28 Apr 2014 09:02:21 -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 1WelCN-0001Vt-UI; Mon, 28 Apr 2014 14:02:20 +0100 Received: by localhost.localdomain (sSMTP sendmail emulation); Mon, 28 Apr 2014 14:02:19 +0100 From: Ian Campbell To: Date: Mon, 28 Apr 2014 14:02:12 +0100 Message-ID: <1398690132-5651-8-git-send-email-ian.campbell@citrix.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1398690109.29700.82.camel@kazak.uk.xensource.com> References: <1398690109.29700.82.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 v3 8/8] 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=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) 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 749b7b3..9f923dc 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