Message ID | 20171009132341.1678-5-julien.grall@arm.com |
---|---|
State | Accepted |
Commit | fc24d616beda7b0d9a96c588b06862f46b189181 |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp2557210qgn; Mon, 9 Oct 2017 06:25:55 -0700 (PDT) X-Google-Smtp-Source: AOwi7QD74JHQB9/KZcsUdtRs37zVWPJBG3K0HL0xihoct+Imbb2NYNTCTy9QrhUk9HU9DJzDWqY9 X-Received: by 10.36.173.33 with SMTP id c33mr13831151itf.5.1507555555415; Mon, 09 Oct 2017 06:25:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507555555; cv=none; d=google.com; s=arc-20160816; b=EncYR85epF7iDLGHjDPN89UtNEFE5YdjTYld8kdg6rtxx3GLMZXBeqL6fI6QPWBFJS qJ/f06tB5HCSw0QBC2bpweZSWSkyLBMv7SIxqhTG80gH9ie98jyiWIuJlk0+z4LhoXnP OjD9ke0rsN1hA+luG4Sv/v2W4AoDpyNwfOE4+eQojJCaujEJl4KgnqYrTahnCnRWHonV cDBAcM5iz4lT3yduC5zqitimJZl/jTLeY+8kRf3s3Akqmk6fgapDph5tXfSAi9zy01W0 b4dZZxbts/Jng7fsHr1SExYzdc+uDG49xfau4bKeNULLalidV0AjA6u0byMCNhpUEBO3 S/jg== 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=Lsya0oufdz5aJA6FaDNHSlQRk9iUXTk/T+Y2PVMa36e7QuVEEvm2AWbU9ktqLuwKNF RU/++fe6DvUJMS/6tk0QTCOrYNXBe1L7mKNKNZtltrgX/I+3c6IkTiejWlveyKkng6OA BcOQctM/AzlWJ3kUpARC+JPURo8aN+WrQnocBHJkHIHzM8bmthQ1/irFtJwwhhCizAZN H5TtnXHbxB39SEtNldB0Toj5ac5hfrEGJ/JhdEcd9pKyGHN/oyHNhAFHD4f7rtcJFaYs wVhcLMoZ60dBidGXJUl03pKaDJfMYUMUq2lp0TFE28ABIxdoZrjR0h/4ur4w7gcpLPxR Fyeg== 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 d11si6379517ioc.15.2017.10.09.06.25.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Oct 2017 06:25:55 -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 1e1Y2F-0007yd-Ao; Mon, 09 Oct 2017 13:23:55 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <julien.grall@arm.com>) id 1e1Y2E-0007yS-GL for xen-devel@lists.xen.org; Mon, 09 Oct 2017 13:23:54 +0000 Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id FE/CD-02216-9687BD95; Mon, 09 Oct 2017 13:23:53 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrMLMWRWlGSWpSXmKPExsVysyfVTTez4na kwbtHPBZLPi5mcWD0OLr7N1MAYxRrZl5SfkUCa8acXY2sBU85K+b92M7WwPiWvYuRi0NIYDOj xP6L59ggnNOMEq0bmlm7GDk52AQ0Je58/sQEYosISEtc+3yZEcRmFoiUOPzhBzuILSwQLXHw3 XywOIuAqsSGNU1gvbwCFhJPLqwFi0sIyEvsarsIFucUsJSYtnk6M4gtBFRz+cMO1gmM3AsYGV YxahSnFpWlFukaWeglFWWmZ5TkJmbm6BoamOrlphYXJ6an5iQmFesl5+duYgR6uJ6BgXEHY98 qv0OMkhxMSqK8UwpuRwrxJeWnVGYkFmfEF5XmpBYfYpTh4FCS4LUvB8oJFqWmp1akZeYAQw0m LcHBoyTCW14KlOYtLkjMLc5Mh0idYtTl6Lh59w+TEEtefl6qlDivL8gMAZCijNI8uBGwsL/EK CslzMvIwMAgxFOQWpSbWYIq/4pRnINRSZj3UxnQFJ7MvBK4Ta+AjmACOoKx+AbIESWJCCmpBk b+tLZStcOmhtXdHckLqr5fD2w3eKFS88MoLiLgrdbfJ+WfVDVj26JWJkc7X0ljkjRXSJXm8OM snPn48Pp/Yotevlrz9cJG3jlir4TKPZ/VJ/KK1k7wjLqsUDN3f4mjkXDlkXKtf1ZdtcLvOPLW f3baUbZsYY2QuMaKH+zea3/4r+Xr29zwSImlOCPRUIu5qDgRAKkaZ652AgAA X-Env-Sender: julien.grall@arm.com X-Msg-Ref: server-11.tower-206.messagelabs.com!1507555432!86354615!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 41184 invoked from network); 9 Oct 2017 13:23:53 -0000 Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by server-11.tower-206.messagelabs.com with SMTP; 9 Oct 2017 13:23:53 -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 6D4E51435; Mon, 9 Oct 2017 06:23:52 -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 81DBF3F578; Mon, 9 Oct 2017 06:23:51 -0700 (PDT) From: Julien Grall <julien.grall@arm.com> To: xen-devel@lists.xen.org Date: Mon, 9 Oct 2017 14:23:35 +0100 Message-Id: <20171009132341.1678-5-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171009132341.1678-1-julien.grall@arm.com> References: <20171009132341.1678-1-julien.grall@arm.com> Cc: andre.przywara@arm.com, Julien Grall <julien.grall@arm.com>, sstabellini@kernel.org Subject: [Xen-devel] [PATCH v4 04/10] 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();