From patchwork Thu Feb 16 22:26:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Stabellini X-Patchwork-Id: 9578475 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3538660244 for ; Thu, 16 Feb 2017 22:29:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 283312868C for ; Thu, 16 Feb 2017 22:29:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1C7972868E; Thu, 16 Feb 2017 22:29:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D5C282868C for ; Thu, 16 Feb 2017 22:29:09 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ceUVl-0002fg-Ax; Thu, 16 Feb 2017 22:26:49 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ceUVk-0002eu-F5 for xen-devel@lists.xenproject.org; Thu, 16 Feb 2017 22:26:48 +0000 Received: from [85.158.139.211] by server-4.bemta-5.messagelabs.com id 96/31-20656-72726A85; Thu, 16 Feb 2017 22:26:47 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrLLMWRWlGSWpSXmKPExsVybKJsh666+rI IgxWfOS2+b5nM5MDocfjDFZYAxijWzLyk/IoE1owNt2QLmtgq1l55ytTAOJW1i5GLQ0hgKqPE upNLmCCcg0wS187cYexi5ORgEzCU+PtkExuILSIgIbGpYQUTiM0sYC1x780PdhBbWMBO4u+Lh WD1LAKqEn3975lBbF4BN4k9e/6B2RICchInj01mhbAzJOb1zIGyvSQW3bgEZatJXD23iXkCI8 8CRoZVjOrFqUVlqUW6ZnpJRZnpGSW5iZk5uoYGpnq5qcXFiempOYlJxXrJ+bmbGIFeZwCCHYx TG5wPMUpyMCmJ8h5lXhYhxJeUn1KZkVicEV9UmpNafIhRhoNDSYKXRQ0oJ1iUmp5akZaZAww/ mLQEB4+SCK8QSJq3uCAxtzgzHSJ1ilGX49SnCy+ZhFjy8vNSpcR5b6oCFQmAFGWU5sGNgMXCJ UZZKWFeRqCjhHgKUotyM0tQ5V8xinMwKgnzloFM4cnMK4Hb9AroCCagIzojloIcUZKIkJJqYG RldGR+Xscy68rB63qWjac3qfc4s7/9tJf98vfM6iXFT+WKWh7ELP7wLt0gOO3AZf+7t72tZZr /ui4PtDf4f0pBJOP8Tc6JEzN6o/afOeTfoyD4zejWsk+HxPZVrZa64X39w8XbM58xbxRKTHGd 6OYy/0LWtg1Me6r1lhS+n3a+X8mTL3hS4AklluKMREMt5qLiRAAUmG0igAIAAA== X-Env-Sender: sstabellini@kernel.org X-Msg-Ref: server-14.tower-206.messagelabs.com!1487284005!46468995!1 X-Originating-IP: [198.145.29.136] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.2.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 27250 invoked from network); 16 Feb 2017 22:26:47 -0000 Received: from mail.kernel.org (HELO mail.kernel.org) (198.145.29.136) by server-14.tower-206.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 16 Feb 2017 22:26:47 -0000 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7BEFC201B9; Thu, 16 Feb 2017 22:26:44 +0000 (UTC) Received: from sstabellini-ThinkPad-X260.hsd1.ca.comcast.net (96-82-76-110-static.hfc.comcastbusiness.net [96.82.76.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 63C192012D; Thu, 16 Feb 2017 22:26:43 +0000 (UTC) From: Stefano Stabellini To: julien.grall@arm.com Date: Thu, 16 Feb 2017 14:26:41 -0800 Message-Id: <1487284001-18668-1-git-send-email-sstabellini@kernel.org> X-Mailer: git-send-email 1.9.1 X-Virus-Scanned: ClamAV using ClamSMTP Cc: xen-devel@lists.xenproject.org, sstabellini@kernel.org Subject: [Xen-devel] [PATCH v2] xen/arm: increase default dom0_mem to 512M X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP The default dom0_mem is 128M which is not sufficient to boot an Ubuntu based Dom0. Increase it to 512M. Signed-off-by: Stefano Stabellini --- Changes in v2: use MB macro --- xen/arch/arm/domain_build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c index c97a1f5..210cb98 100644 --- a/xen/arch/arm/domain_build.c +++ b/xen/arch/arm/domain_build.c @@ -31,7 +31,7 @@ integer_param("dom0_max_vcpus", opt_dom0_max_vcpus); int dom0_11_mapping = 1; -#define DOM0_MEM_DEFAULT 0x8000000 /* 128 MiB */ +#define DOM0_MEM_DEFAULT MB(512) /* 512 MiB */ static u64 __initdata dom0_mem = DOM0_MEM_DEFAULT; static void __init parse_dom0_mem(const char *s)