From patchwork Thu May 22 09:46:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Campbell X-Patchwork-Id: 30585 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f72.google.com (mail-yh0-f72.google.com [209.85.213.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A4B0020671 for ; Thu, 22 May 2014 09:48:57 +0000 (UTC) Received: by mail-yh0-f72.google.com with SMTP id f73sf11978128yha.7 for ; Thu, 22 May 2014 02:48:57 -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=gfg2P3Ul1yym6L/qSFhWmUtUmLtuZnIngOuODf3vgNg=; b=mTQa6NNLWufFte624ZDPlB0GFA9YLymmCcMDTv39HpovIf+14k8ra0ndLLqrChcSfX vxjJoA3u+yGIBhAtojT9EKX8cYxv43yiKm+2CwueOZ7TU8ffHiHqD4G1xoCmJBRS2Z00 q0mKI355ArGQUGaD7q2gi5rh0QozgUfzkh/Zfm5lybFOYI6W/SPBEqIC+nLL5y3N0vhQ Fhs2uix0snCxsfKgTNemTj9gPwVaUlx5LKPN9V2RKooV26k/Dv9V41cnbucXOihq/R+4 wHVDyASMPTcjQTVAS4tBNZw8OeI0fAElQtIn6mDZNryAOMhfBW93GKCYiFFx7X/fb+QJ 9HIg== X-Gm-Message-State: ALoCoQk2HVaFSZNvTqULpdQWq44qzVIQoDcYrz+zc91Y5J5LyWBOn7EXX2N+FKVvzegMUpUv6qhF X-Received: by 10.236.144.136 with SMTP id n8mr22326093yhj.22.1400752137424; Thu, 22 May 2014 02:48:57 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.28.4 with SMTP id 4ls1196721qgy.39.gmail; Thu, 22 May 2014 02:48:57 -0700 (PDT) X-Received: by 10.58.126.4 with SMTP id mu4mr49248886veb.0.1400752137301; Thu, 22 May 2014 02:48:57 -0700 (PDT) Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by mx.google.com with ESMTPS id j8si2246907vek.54.2014.05.22.02.48.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 22 May 2014 02:48:57 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.179 as permitted sender) client-ip=209.85.128.179; Received: by mail-ve0-f179.google.com with SMTP id oy12so4069423veb.38 for ; Thu, 22 May 2014 02:48:57 -0700 (PDT) X-Received: by 10.58.98.232 with SMTP id el8mr167213veb.42.1400752137226; Thu, 22 May 2014 02:48:57 -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 ib8csp183756vcb; Thu, 22 May 2014 02:48:56 -0700 (PDT) X-Received: by 10.140.21.101 with SMTP id 92mr74989670qgk.57.1400752136590; Thu, 22 May 2014 02:48:56 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id c13si4636147qaw.132.2014.05.22.02.48.56 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 22 May 2014 02:48:56 -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 1WnPaj-0005H2-3J; Thu, 22 May 2014 09:47:13 +0000 Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WnPah-0005FF-Pt for xen-devel@lists.xen.org; Thu, 22 May 2014 09:47:11 +0000 Received: from [193.109.254.147:10001] by server-8.bemta-14.messagelabs.com id AE/E3-01877-F97CD735; Thu, 22 May 2014 09:47:11 +0000 X-Env-Sender: Ian.Campbell@citrix.com X-Msg-Ref: server-11.tower-27.messagelabs.com!1400752028!3138366!2 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 11040 invoked from network); 22 May 2014 09:47:10 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-11.tower-27.messagelabs.com with RC4-SHA encrypted SMTP; 22 May 2014 09:47:10 -0000 X-IronPort-AV: E=Sophos;i="4.98,886,1392163200"; d="scan'208";a="133839216" Received: from accessns.citrite.net (HELO FTLPEX01CL03.citrite.net) ([10.9.154.239]) by FTLPIPO02.CITRIX.COM with ESMTP; 22 May 2014 09:46:55 +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; Thu, 22 May 2014 05:46:54 -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 1WnPaP-0000mR-CK; Thu, 22 May 2014 10:46:54 +0100 Received: by localhost.localdomain (sSMTP sendmail emulation); Thu, 22 May 2014 10:46:53 +0100 From: Ian Campbell To: , , , Date: Thu, 22 May 2014 10:46:44 +0100 Message-ID: <1400752004-9731-9-git-send-email-ian.campbell@citrix.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1400751582.11409.46.camel@kazak.uk.xensource.com> References: <1400751582.11409.46.camel@kazak.uk.xensource.com> MIME-Version: 1.0 X-DLP: MIA2 Cc: Ian Campbell , xen-devel@lists.xen.org Subject: [Xen-devel] [PATCH v5 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.179 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 fd30782..ac54cd6 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