From patchwork Tue Jun 13 16:13:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 105392 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp486435qgd; Tue, 13 Jun 2017 09:15:28 -0700 (PDT) X-Received: by 10.157.12.156 with SMTP id b28mr534360otb.94.1497370528207; Tue, 13 Jun 2017 09:15:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497370528; cv=none; d=google.com; s=arc-20160816; b=AZdsIYUfETuFqftusdE0sqbhlE8RoHNy3p9dm/SIiMQZryGxh+e/jcgva69rXvVW3c e+NqlxgdxCrxmDwhC9pC+2beIU+IbqhXeHYP1YbdGF9RfcwjSdmwseyX7907Xy8FGwcQ ieOF62kaMd/tVn7iYsFTUZdffJMO0TsKJiqKYDcS7Zh6nLN2PzMHmWHaQz3FBruASfvP WOcJqwO2QGWoOSBi6k/TljN9aVtq0YvhGB1kRDz+u7vZOxxGmAM1LnFjQWc39iuXnd6w VFLGVTFSbcu7VlMdCANzRFJd8FQ2tZgx9AGZKncFXmTobIumoVEaPH7XvlzUJWTaWn3+ b3Dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-unsubscribe:list-id :precedence:subject:cc:references:in-reply-to:message-id:date:to :from:arc-authentication-results; bh=dh96HDfaeUCDxvgVsqOOiquy3k7uYzIHdjEG/0DH5ek=; b=KDVALtmBQHBiph2+1DxBjuQC8SoOp7IkrRoyRL1BfXpf18ybnNNPGjbm1gu7oXYHTg rTO6bmy753nufnm9hTH0oqdtzFREL3HvcdTXKvBEFHDF43i8Ks6HI/qqyaTOXG2wEogt IMIw9uqLyhDgXhpYLK9Jej6YgR5g1kjB4P4KneT7rmoh0tqEUORTf62PraLalnF7EMcO L19I2wIcChnvJ5U03l0X4u7onuPguMN+zdwHPUthfhY8Rl3RQKCNPn9wCkcJjetPOB82 YksOItbVd4MUhL4K9fTRR9QKmaGUoMfaAEVWQ4sz2PVIiEloE9debjo6icOafWHsGHqh 9qKg== ARC-Authentication-Results: i=1; mx.google.com; spf=neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) smtp.mailfrom=xen-devel-bounces@lists.xen.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id w64si308073oie.310.2017.06.13.09.15.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Jun 2017 09:15:28 -0700 (PDT) Received-SPF: neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) client-ip=192.237.175.120; Authentication-Results: mx.google.com; spf=neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) smtp.mailfrom=xen-devel-bounces@lists.xen.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKoRl-00082Q-R2; Tue, 13 Jun 2017 16:13:37 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKoRk-00080j-Qa for xen-devel@lists.xen.org; Tue, 13 Jun 2017 16:13:36 +0000 Received: from [193.109.254.147] by server-3.bemta-6.messagelabs.com id F7/49-03058-03F00495; Tue, 13 Jun 2017 16:13:36 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrELMWRWlGSWpSXmKPExsVysyfVTVef3yH SoHmRlsWSj4tZHBg9ju7+zRTAGMWamZeUX5HAmtH+s5+lYBtrxY+zi1kaGPtZuhg5OYQENjNK 3Hke2cXIBWSfZpT4tvM7I0iCTUBT4s7nT0wgtoiAtMS1z5fB4swCERJNC/aCxYUFIiUWnz/ND GKzCKhKvDiwiRXE5hWwlOh7fh+sXkJAXmJX20WwOKeAlcSl502MEIstJZp3r2eawMi9gJFhFa NGcWpRWWqRrqGBXlJRZnpGSW5iZg6QZ6aXm1pcnJiempOYVKyXnJ+7iRHoXwYg2MF4b1nAIUZ JDiYlUd4tV2wihfiS8lMqMxKLM+KLSnNSiw8xynBwKEnw2vM5RAoJFqWmp1akZeYAAw0mLcHB oyTCe58FKM1bXJCYW5yZDpE6xajL0fRhyxcmIZa8/LxUKXHeP7xARQIgRRmleXAjYEF/iVFWS piXEegoIZ6C1KLczBJU+VeM4hyMSsK8S0Au4cnMK4Hb9AroCCagI66D3M9bXJKIkJJqYNz8S4 cpxDJ/+VKbT0z9rg/yw70zz00zvfe9vXxLhPEBg2xFhqWhCxZJr+nh3bnS5vcb2/iAa5bHNrk yPlZtPJG55OXVyiesh9Y4WsccWlDLNHHT4+J+8YM1Z5Svqq97tJiLZ67Aikb7/6+CtbzfTPoo pG94703hQpOjLNMfR5zaGWJ5ftKnpolKLMUZiYZazEXFiQBShMnxdQIAAA== X-Env-Sender: julien.grall@arm.com X-Msg-Ref: server-5.tower-27.messagelabs.com!1497370415!102003622!1 X-Originating-IP: [217.140.101.70] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.4.19; banners=-,-,- X-VirusChecked: Checked Received: (qmail 48237 invoked from network); 13 Jun 2017 16:13:35 -0000 Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by server-5.tower-27.messagelabs.com with SMTP; 13 Jun 2017 16:13:35 -0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 010A115B2; Tue, 13 Jun 2017 09:13:35 -0700 (PDT) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.206.53]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3CDD23F557; Tue, 13 Jun 2017 09:13:34 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xen.org Date: Tue, 13 Jun 2017 17:13:02 +0100 Message-Id: <20170613161323.25196-4-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170613161323.25196-1-julien.grall@arm.com> References: <20170613161323.25196-1-julien.grall@arm.com> Cc: Julien Grall , sstabellini@kernel.org, punit.agrawal@arm.com Subject: [Xen-devel] [PATCH 03/24] xen/arm: setup: Remove bogus xenheap_mfn_end in setup_mm for arm64 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" xenheap_mfn_end is storing an MFN and not a physical address. Thankfully xenheap_mfn_end is not used in the arm64 code. So drop it. Signed-off-by: Julien Grall --- xen/arch/arm/setup.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c index f00f29a45b..ab4d8e4218 100644 --- a/xen/arch/arm/setup.c +++ b/xen/arch/arm/setup.c @@ -654,8 +654,6 @@ static void __init setup_mm(unsigned long dtb_paddr, size_t dtb_size) if ( e > bank_end ) e = bank_end; - xenheap_mfn_end = e; - dt_unreserved_regions(s, e, init_boot_pages, 0); s = n; }