From patchwork Fri Feb 3 19:18:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 93300 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp738089qgi; Fri, 3 Feb 2017 11:20:59 -0800 (PST) X-Received: by 10.36.51.68 with SMTP id k65mr2264024itk.4.1486149659733; Fri, 03 Feb 2017 11:20:59 -0800 (PST) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id 203si1987308iti.26.2017.02.03.11.20.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Feb 2017 11:20:59 -0800 (PST) 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 1cZjOA-0004GN-VG; Fri, 03 Feb 2017 19:19:18 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cZjO9-0004Dn-2x for xen-devel@lists.xen.org; Fri, 03 Feb 2017 19:19:17 +0000 Received: from [193.109.254.147] by server-5.bemta-6.messagelabs.com id 6F/93-11476-4B7D4985; Fri, 03 Feb 2017 19:19:16 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrMLMWRWlGSWpSXmKPExsVysyfVTXfz9Sk RBmtnWVgs+biYxYHR4+ju30wBjFGsmXlJ+RUJrBmrr11gLLjJWnF29jy2BsYLLF2MXBxCApsY JT5c+cUE4ZxmlHizcwlzFyMnB5uApsSdz5+YQGwRAWmJa58vM4LYzAJREncu7mQBsYUFvCX2/ VjMCmKzCKhK7F55gh3E5hVwkZh4eS3YHAkBOYmTxyaD1XAKuEp8P7cObKYQUM3i9g6WCYzcCx gZVjFqFKcWlaUW6Rob6CUVZaZnlOQmZuboGhqY6eWmFhcnpqfmJCYV6yXn525iBHqYAQh2MP5 dG3iIUZKDSUmUV/nylAghvqT8lMqMxOKM+KLSnNTiQ4wyHBxKErz614BygkWp6akVaZk5wFCD SUtw8CiJ8K4ESfMWFyTmFmemQ6ROMepynPp04SWTEEtefl6qlDivMUiRAEhRRmke3AhY2F9il JUS5mUEOkqIpyC1KDezBFX+FaM4B6OSMK89yBSezLwSuE2vgI5gAjri5+NJIEeUJCKkpBoYYw T7TZuSP5qcft5vsDCQveh1cEKg4dHEWLnA+PnpeoZMB967Zng5f90ZXs80Q0UhTFjvtxyPWFL w9LZMuya7Jr/piUkr15zqlz/R+Pn+9cR1MwpDzMvfX0+X2lpnczbX4MTP2l9F3Bwc/g2zV1rW pRWxcolsLfQXPbfIzfTQ0y/3u2YIP1BiKc5INNRiLipOBAC5KabOdgIAAA== X-Env-Sender: julien.grall@arm.com X-Msg-Ref: server-14.tower-27.messagelabs.com!1486149555!72867816!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.1.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 24197 invoked from network); 3 Feb 2017 19:19:15 -0000 Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by server-14.tower-27.messagelabs.com with SMTP; 3 Feb 2017 19:19:15 -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 372EEAD7; Fri, 3 Feb 2017 11:19:15 -0800 (PST) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.218.32]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 79F2F3F242; Fri, 3 Feb 2017 11:19:14 -0800 (PST) From: Julien Grall To: xen-devel@lists.xen.org Date: Fri, 3 Feb 2017 19:18:50 +0000 Message-Id: <1486149538-20432-7-git-send-email-julien.grall@arm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1486149538-20432-1-git-send-email-julien.grall@arm.com> References: <1486149538-20432-1-git-send-email-julien.grall@arm.com> Cc: Julien Grall , sstabellini@kernel.org, shankerd@codeaurora.org Subject: [Xen-devel] [PATCH 3/7] xen/arm: Print whether Xen is booting using ACPI or DT 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" Make it easier to figure out whether Xen is booting using ACPI or DT by printing a message on the console. Signed-off-by: Julien Grall --- xen/arch/arm/setup.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c index 049e449..41aa1dd 100644 --- a/xen/arch/arm/setup.c +++ b/xen/arch/arm/setup.c @@ -753,6 +753,11 @@ void __init start_xen(unsigned long boot_phys_offset, /* Parse the ACPI tables for possible boot-time configuration */ acpi_boot_table_init(); + if ( acpi_disabled ) + printk("Booting using Device Tree\n"); + else + printk("Booting using ACPI\n"); + end_boot_allocator(); vm_init();