xen: arm: enable sync console in machine_reboot.
PATCH 1/1 xen: arm: enable sync console in machine_reboot.
Otherwise the last thing printed is "(XE" or something.
In line with x86 also disable the watchdog and spin debugging.
--- xen/arch/arm/shutdown.c | 4 ++++ 1 file changed, 4 insertions(+)
xen/arch/arm/shutdown.c +4 -0
@@ -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 ();
Signature · 1 line
1.7.10.4
Hi Ian,
Quoted 5 lines · Ian Campbell
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 <[email protected]>
xen/arch/arm/shutdown.c void machine_restart(unsigned int delay_millisecs) · line 41
Quoted 13 lines
--- xen/arch/arm/shutdown.c | 4 ++++ 1 file changed, 4 insertions(+)xen/arch/arm/shutdown.c +1
-0@@ -38,6 +38,10 @@ void machine_restart(unsigned int delay_millisecs) {int timeout =10 ; +watchdog_disable ();
OOI, it looks like watchdog_disable is a no-op on ARM. Is there any plan to implement it?
Regards,
Signature · 1 line
Julien Grall
Quoted 23 lines · Julien Grall
Hi Ian,
Quoted 5 lines · Ian Campbell
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 <[email protected]>Reviewed-by Julien Grall <[email protected]>Quoted 12 lines
--- xen/arch/arm/shutdown.c | 4 ++++ 1 file changed, 4 insertions(+)xen/arch/arm/shutdown.c +0
-0@@ -38,6 +38,10 @@ void machine_restart(unsigned int delay_millisecs) {int timeout =10 ;
Quoted 4 lines
xen/arch/arm/shutdown.c void machine_restart(unsigned int delay_millisecs) · line 41
Quoted 1 line
xen/arch/arm/shutdown.c +1
-0+watchdog_disable ();OOI, it looks like
watchdog_disableis a no-op on ARM. Is there any plan to implement it?
Not by me, would be nice to have though.
Quoted 3 lines
Regards,
Ian Campbell
AppliedQuoted 10 lines · Julien Grall
Hi Ian,
Quoted 5 lines · Ian Campbell
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 <[email protected]>Reviewed-by Julien Grall <[email protected]>
Applied.