[PATCH] ARM: decouple CPU offlining from reboot/shutdown
Russell King - ARM Linux
linux at arm.linux.org.uk
Wed Jun 12 14:09:12 EDT 2013
On Tue, Jun 11, 2013 at 07:29:27PM +0100, Will Deacon wrote:
> Yes. Usually this is a path of no return, but if we detect an error before
> we've changed stack then I think we should at least try to propogate the
> error.
Except, if you make soft_restart able to return an error, then you really
need machine_restart() to do the same, but that's a cross-arch function.
And what do you do when you hit a soft-watchdog event and it calls
machine_restart(), which then decides to fail? Or a panic event and
machine_restart() fails?
More information about the linux-arm-kernel
mailing list