xen/arm: Print message if reset did not work
authorBertrand Marquis <bertrand.marquis@arm.com>
Fri, 16 Oct 2020 13:58:47 +0000 (14:58 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 20 Oct 2020 20:20:31 +0000 (13:20 -0700)
commit3b49791e4cc2f38dd84bf331b75217adaef636e3
treec2f811f736c7dc7027e427a4506103aa4cf4db60
parentaace5466996e743a087153ad3f9d8fcf11a76c56
xen/arm: Print message if reset did not work

If for some reason the hardware reset is not working, print a message to
the user every 5 seconds to warn him that the system did not reset
properly and Xen is still looping.

The message is printed infinitely so that someone connecting to a serial
console with no history would see the message coming after 5 seconds.

Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
[stefano: remove second '!']
Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
xen/arch/arm/shutdown.c