From patchwork Fri Feb 3 19:18:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 93309 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp738151qgi; Fri, 3 Feb 2017 11:21:07 -0800 (PST) X-Received: by 10.36.120.73 with SMTP id p70mr2280447itc.115.1486149667541; Fri, 03 Feb 2017 11:21:07 -0800 (PST) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id e41si4148450ioj.215.2017.02.03.11.21.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Feb 2017 11:21:07 -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 1cZjOC-0004Iq-FP; Fri, 03 Feb 2017 19:19:20 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cZjOB-0004GF-9j for xen-devel@lists.xen.org; Fri, 03 Feb 2017 19:19:19 +0000 Received: from [85.158.137.68] by server-3.bemta-3.messagelabs.com id B8/E1-14551-6B7D4985; Fri, 03 Feb 2017 19:19:18 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrILMWRWlGSWpSXmKPExsVysyfVTXfb9Sk RBn+vs1ss+biYxYHR4+ju30wBjFGsmXlJ+RUJrBmrr11gLLjJWnF29jy2BsYLLF2MXBxCApsY JR59/8AK4ZxmlDi7eQFjFyMnB5uApsSdz5+YQGwRAWmJa58vg8WZBaIk7lzcyQJiCwt4S9w7u x8sziKgKnH793n2LkYODl4BF4lHp01BwhICchInj01mBbE5BVwlvp9bBzZSCKhkcXsHywRG7g WMDKsY1YtTi8pSi3SN9JKKMtMzSnITM3N0DQ2M9XJTi4sT01NzEpOK9ZLzczcxAr1bz8DAuIP xVLPzIUZJDiYlUd6ia1MihPiS8lMqMxKLM+KLSnNSiw8xynBwKEnwLgDJCRalpqdWpGXmAMMM Ji3BwaMkwrsSJM1bXJCYW5yZDpE6xajLcerThZdMQix5+XmpUuK8h0CKBECKMkrz4EbAQv4So 6yUMC8jAwODEE9BalFuZgmq/CtGcQ5GJWHeXSBTeDLzSuA2vQI6ggnoiJ+PJ4EcUZKIkJJqYN TJrbcr+6Rod51lwffT5YzBT+RlIyoC9ue5/m2dHWIQFmHvxcjRz+B5Jf+Sb0THjPNL116VnOz 0tUvJ/tevr/8DePdO2Lj1WcOSOUHLnjcbbiw7XcmtdmhKvX3kiwvnX357+lSV+UD4mwIrUcbL ClGHbGtZ1+Qq3ql5nfJq+XsfloMtVveUvZRYijMSDbWYi4oTAUPK4Sd0AgAA X-Env-Sender: julien.grall@arm.com X-Msg-Ref: server-9.tower-31.messagelabs.com!1486149557!28426008!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 62474 invoked from network); 3 Feb 2017 19:19:17 -0000 Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by server-9.tower-31.messagelabs.com with SMTP; 3 Feb 2017 19:19:17 -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 2BEEBAD7; Fri, 3 Feb 2017 11:19:17 -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 6DAC33F242; Fri, 3 Feb 2017 11:19:16 -0800 (PST) From: Julien Grall To: xen-devel@lists.xen.org Date: Fri, 3 Feb 2017 19:18:52 +0000 Message-Id: <1486149538-20432-9-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 4/8] 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 Reviewed-by: Stefano Stabellini --- 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();