Message ID | 20171002173150.5404-5-julien.grall@arm.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp924515qgn; Mon, 2 Oct 2017 10:34:01 -0700 (PDT) X-Google-Smtp-Source: AOwi7QClZ9hvHlqauK1dnbnZVCGs7Y+hgnfVsQBOUGi3Ax3YYJgr5WW2bBNxhsN3n6/dRa4svu3t X-Received: by 10.107.150.76 with SMTP id y73mr25019403iod.132.1506965641394; Mon, 02 Oct 2017 10:34:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506965641; cv=none; d=google.com; s=arc-20160816; b=i5xwRs480ONrddLtxaraF2WeuzyImwhuMSjoZlVS2U0VkfHjXNgJjjpH9wZ28MTLR7 R8PbfOoLcU7flbtISap86iXHHxxfeBYgvQoYL91Lv8o8kejTMifq8t3QAj6s8hGuWp8j M9ypXca/2i1HNKQaGTpKmLHErY11TivUNfNhkDdLPeKpPpcFEsP+xk+yQKlzdm5NWNGG 8aEU/ITXTz78G8BHlOB/KDQjzVdonFHDpeVxvI1gZ2xgOuCawoFhUM3LWqPJKj9cUm8T pmoK72G6XCQtiwVxHQyW/sNTMgi3Ft5A03fbVco7lHYOC+kf1OmfX2U7OBLy7z6vbSCo Xr6w== 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=DiNPr/Us6MXRlGFxQGp+yNhrfuEagZyulkzG4+4UKy0=; b=A54zJn7Qfs3h3VWy1GPVDczSeu81LHNM+ED04RfLrVGj3ntL2dvlyotT9TOFtlgloR rH6rRk5LP6XtHE60sK96xSZnOr6U2/TxOup9DGeopNDhXhVi7Eedk3zfXFDCX+6rfTfb p5WAcfo42IM+NXOkXt4cbE9NztJQXotm7dbCEhQIIHKu3iyz0bW2tvO+EVr0HCoJ8HP8 J2sEfCdpbVmI68CJL4/8j70FzoL921n7SEumMncrqPec8Ue9X/cALGmRBpTtlo2UyjAo HTKSLiaH9ujAX5kK4LpNellP3YDtlbFam0pDHb0SrwCpz0+872tPMQgdhrYjvJsaO8RZ noUQ== 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: <xen-devel-bounces@lists.xen.org> Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id c92si10053566ioj.48.2017.10.02.10.34.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Oct 2017 10:34:01 -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 <xen-devel-bounces@lists.xen.org>) id 1dz4ZZ-0003aO-0A; Mon, 02 Oct 2017 17:32:05 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <julien.grall@arm.com>) id 1dz4ZX-0003ZH-Oz for xen-devel@lists.xen.org; Mon, 02 Oct 2017 17:32:03 +0000 Received: from [193.109.254.147] by server-3.bemta-6.messagelabs.com id 3D/1D-03093-31872D95; Mon, 02 Oct 2017 17:32:03 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrMLMWRWlGSWpSXmKPExsVysyfVTVeo4lK kwe158hZLPi5mcWD0OLr7N1MAYxRrZl5SfkUCa8acXY2sBU85K+b92M7WwPiWvYuRi0NIYDOj xIJvzcwQzmlGic2ds1i7GDk52AQ0Je58/sQEYosISEtc+3yZEcRmFoiUOPzhBzuILQxkN3zbw wJiswioSnw5fBTM5hWwkNh6/DHYHAkBeYldbRfBbE4BS4nbTw4xg9hCQDWnX89gmsDIvYCRYR WjRnFqUVlqka6RhV5SUWZ6RkluYmaOrqGBmV5uanFxYnpqTmJSsV5yfu4mRqCHGYBgB+P5tYG HGCU5mJREeb3zL0UK8SXlp1RmJBZnxBeV5qQWH2KU4eBQkuAVKwfKCRalpqdWpGXmAEMNJi3B waMkwnuvDCjNW1yQmFucmQ6ROsWoy9Fx8+4fJiGWvPy8VClx3j0gRQIgRRmleXAjYGF/iVFWS piXEegoIZ6C1KLczBJU+VeM4hyMSsK8B0Gm8GTmlcBtegV0BBPQEXO6LoAcUZKIkJJqYGTlyJ CMrD6yuYNv03m/74rR5udXVDat7tzk6iS9TXN5XmDe+veHJW+w8+XqGbxfacV0zTHF4JC73L8 Hit9mbVYzzH1vdk5x2Yw/SxNL+SVEn0nW/t35YFPfrh8G0c5TtzYZPGN3SGif9u2jfZy+yqrk le9y7gXO0A98nbJxapW5dMdZsYpf7EosxRmJhlrMRcWJAFoDFrF2AgAA X-Env-Sender: julien.grall@arm.com X-Msg-Ref: server-10.tower-27.messagelabs.com!1506965522!96382442!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.45; banners=-,-,- X-VirusChecked: Checked Received: (qmail 16134 invoked from network); 2 Oct 2017 17:32:02 -0000 Received: from usa-sjc-mx-foss1.foss.arm.com (HELO foss.arm.com) (217.140.101.70) by server-10.tower-27.messagelabs.com with SMTP; 2 Oct 2017 17:32:02 -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 C9AF31529; Mon, 2 Oct 2017 10:32:01 -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 DE3A23F483; Mon, 2 Oct 2017 10:32:00 -0700 (PDT) From: Julien Grall <julien.grall@arm.com> To: xen-devel@lists.xen.org Date: Mon, 2 Oct 2017 18:31:45 +0100 Message-Id: <20171002173150.5404-5-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171002173150.5404-1-julien.grall@arm.com> References: <20171002173150.5404-1-julien.grall@arm.com> Cc: andre.przywara@arm.com, Julien Grall <julien.grall@arm.com>, sstabellini@kernel.org Subject: [Xen-devel] [PATCH v3 4/9] xen/arm: Switch to SYS_STATE_boot just after end_boot_allocator() X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion <xen-devel.lists.xen.org> List-Unsubscribe: <https://lists.xen.org/cgi-bin/mailman/options/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=unsubscribe> List-Post: <mailto:xen-devel@lists.xen.org> List-Help: <mailto:xen-devel-request@lists.xen.org?subject=help> List-Subscribe: <https://lists.xen.org/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" <xen-devel-bounces@lists.xen.org> |
Series |
xen/arm: Memory subsystem clean-up
|
expand
|
diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c index 3df451ae6f..16a3b1be8e 100644 --- a/xen/arch/arm/setup.c +++ b/xen/arch/arm/setup.c @@ -757,6 +757,12 @@ void __init start_xen(unsigned long boot_phys_offset, end_boot_allocator(); + /* + * The memory subsystem has been initialized, we can now switch from + * early_boot -> boot. + */ + system_state = SYS_STATE_boot; + vm_init(); if ( acpi_disabled ) @@ -779,8 +785,6 @@ void __init start_xen(unsigned long boot_phys_offset, console_init_preirq(); console_init_ring(); - system_state = SYS_STATE_boot; - processor_id(); smp_init_cpus();