Re: [PATCH v2] reboot: Backup orderly_poweroff

From: One Thousand Gnomes
Date: Thu Jan 14 2016 - 08:27:07 EST


>
> If kernel_power_off() is called then the system should power off. No ifs and
> whens.

Even if it doesn't the watchdog should kill it.

That is broken on some platforms on the watchdog side as the
watchdog shuts down during our power off callbacks - because the system
firmware is too stupid to reset the watchdog as it powers back up (so
keeps rebooting).

If you watchdog and firmware function properly you shouldn't even have to
care if you crash during the kernel power off.

Alan