From: Ian Campbell Subject: [PATCH] xen: arm: enable sync console in machine_reboot. Date: Thu, 15 Jan 2015 11:22:27 +0000 Message-ID: <1421320947-17049-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: julien.grall@linaro.org, tim@xen.org, Ian Campbell , stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org Otherwise the last thing printed is "(XE" or something. In line with x86 also disable the watchdog and spin debugging. Signed-off-by: Ian Campbell --- xen/arch/arm/shutdown.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xen/arch/arm/shutdown.c b/xen/arch/arm/shutdown.c index 4988b03..e53ec97 100644 --- a/xen/arch/arm/shutdown.c +++ b/xen/arch/arm/shutdown.c @@ -38,6 +38,10 @@ void machine_restart(unsigned int delay_millisecs) { int timeout = 10; + watchdog_disable(); + console_start_sync(); + spin_debug_disable(); + local_irq_enable(); smp_call_function(halt_this_cpu, NULL, 0); local_irq_disable(); -- 1.7.10.4