[PATCH RFC] powerpc/powernv: sysfs entry to force full IPL reboot

Andrew Donnellan andrew.donnellan at au1.ibm.com
Wed Nov 23 12:37:36 AEDT 2016


On 22/11/16 21:27, Michael Ellerman wrote:
> Can I suggest:
>  - Fix OPAL
>  - Fix OPAL
>  - Fix OPAL
>
> ...
>
> Oh OK, it's firmware :D

Yep :D

> There's existing logic in kernel/reboot.c to handle a reboot= command
> line parameter, which can set the reboot_mode, so my preference would be
> that we use that.
>
> Currently we completely ignore the reboot_mode, so there's no backward
> compatibility issue.
>
> It looks like the default is REBOOT_COLD, whatever that means. So I
> think we could define that on powernv REBOOT_HARD means "do a full IPL".

Sounds good.

> Or we could use "force", which already exists, though I can't quite see
> what that actually means on x86.

Hmm.

-- 
Andrew Donnellan              OzLabs, ADL Canberra
andrew.donnellan at au1.ibm.com  IBM Australia Limited



More information about the Linuxppc-dev mailing list