From patchwork Wed Feb 15 23:05:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Stabellini X-Patchwork-Id: 9575339 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 641BD6045F for ; Wed, 15 Feb 2017 23:07:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 50DC32857B for ; Wed, 15 Feb 2017 23:07:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 449BA2857E; Wed, 15 Feb 2017 23:07:50 +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 DB8482857B for ; Wed, 15 Feb 2017 23:07:49 +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 1ce8dK-0005lH-UB; Wed, 15 Feb 2017 23:05:10 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ce8dJ-0005lB-J9 for xen-devel@lists.xenproject.org; Wed, 15 Feb 2017 23:05:09 +0000 Received: from [85.158.143.35] by server-11.bemta-6.messagelabs.com id CD/4A-04971-4AED4A85; Wed, 15 Feb 2017 23:05:08 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrJIsWRWlGSWpSXmKPExsVybKJsh+6Se0s iDD7+FbP4vmUykwOjx+EPV1gCGKNYM/OS8isSWDNuHp7IXvCfpeLC3+lMDYzrWLoYuTiEBKYy Sqy/M4kdwpnNJHH9+HPmLkZODhYBbYnZnZPYQGw2AUOJv082AdkcHBJA9pLPHCBhEQEJiU0NK 5hAwswCVhJ3JxaDhIUFrCWmfetnBbF5Bbwkvq1eygRiiwroShz694cNIi4ocXLmExYQm1lAS2 L59G1gtoRAhsS8njmsELaXxKIbl6BsNYmr5zYxT2Dkn4WkfRaS9gWMTKsYNYpTi8pSi3SNDfS SijLTM0pyEzNzdA0NzPRyU4uLE9NTcxKTivWS83M3MQKDjQEIdjD+XRt4iFGSg0lJlPfXviUR QnxJ+SmVGYnFGfFFpTmpxYcYZTg4lCR4M+8C5QSLUtNTK9Iyc4BhD5OW4OBREuE9eQcozVtck JhbnJkOkTrFqMtx6tOFl0xCLHn5ealS4rz8IDMEQIoySvPgRsBi8BKjrJQwLyPQUUI8BalFuZ klqPKvGMU5GJWEeV+ArOLJzCuB2/QK6AgmoCNY4xaCHFGSiJCSamD0mr/4bjv7AoaWvRcf7vL wb/y351TQNu9ql9oV5uFv7PtPyhpcuXt20pFJc4WO3oypSd8meNple9Tq5s8nf047pTJdUk3i c7eYYq3QalnmjLylcjvcDFZtuJv568vOyCtRDC+XX7V4Hx+S/2WLxKKDtimv8px+T+Vx5TSes fsNq47KBzFn9mV8SizFGYmGWsxFxYkA/rAwtLwCAAA= X-Env-Sender: sstabellini@kernel.org X-Msg-Ref: server-8.tower-21.messagelabs.com!1487199907!57848346!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 36210 invoked from network); 15 Feb 2017 23:05:08 -0000 Received: from mail.kernel.org (HELO mail.kernel.org) (198.145.29.136) by server-8.tower-21.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 15 Feb 2017 23:05:08 -0000 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8DBFF20218; Wed, 15 Feb 2017 23:05:05 +0000 (UTC) Received: from [10.1.10.56] (96-82-76-110-static.hfc.comcastbusiness.net [96.82.76.110]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 88E5720211; Wed, 15 Feb 2017 23:05:04 +0000 (UTC) Date: Wed, 15 Feb 2017 15:05:03 -0800 (PST) From: Stefano Stabellini X-X-Sender: sstabellini@sstabellini-ThinkPad-X260 To: julien.grall@arm.com Message-ID: User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP Cc: xen-devel@lists.xenproject.org, sstabellini@kernel.org Subject: [Xen-devel] [PATCH] 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: , 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 a Ubuntu based Dom0. Increase it to 512M. Signed-off-by: Stefano Stabellini diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c index c97a1f5..f4612a2 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 0x20000000 /* 512 MiB */ static u64 __initdata dom0_mem = DOM0_MEM_DEFAULT; static void __init parse_dom0_mem(const char *s)