Re: [PATCHv3 2/2] serial/sysrq: Add MAGIC_SYSRQ_SERIAL_SEQUENCE

From: Greg Kroah-Hartman
Date: Fri Mar 06 2020 - 07:55:35 EST


On Mon, Mar 02, 2020 at 05:51:35PM +0000, Dmitry Safonov wrote:
> diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
> index 69def4a9df00..38a8f3c99579 100644
> --- a/lib/Kconfig.debug
> +++ b/lib/Kconfig.debug
> @@ -431,6 +431,14 @@ config MAGIC_SYSRQ_SERIAL
> This option allows you to decide whether you want to enable the
> magic SysRq key.
>
> +config MAGIC_SYSRQ_SERIAL_SEQUENCE
> + string "Char sequence that enables magic SysRq over serial"
> + depends on MAGIC_SYSRQ_SERIAL
> + default ""
> + help
> + Specifies a sequence of characters that can follow BREAK to enable
> + SysRq on a serial console.


Can you send a follow-on patch that adds some more text here. Something
like :
If you do not know what to do, just select an empty string and
the option will not be enabled.

or something like that to make it more obvious what almost everyone will
want to do here.

thanks,

greg k-h