Re: [PATCH] reboot: add reboot_panic parameter

From: Andrew Morton
Date: Mon Jul 02 2018 - 17:31:04 EST


On Mon, 2 Jul 2018 02:20:59 +0000 "Tian, Baofeng" <baofeng.tian@xxxxxxxxx> wrote:

> This "reboot_panic" kernel cmdline parameter allow to change the
> reboot mode in case of panic only. It use the same format as the
> "reboot" parameter.
> Example, for cf9 warm reset in case of panic: reboot_panic=p,w
> currently it only support cold/warm reset in case of panic.

Why should we do this? What are the benefits, what are the usecases,
etc?

Some user-facing documentation should clear that up. `grep -r reboot=
Documentation' will direct you to the appropriate places.