Re: [RFC PATCH -next] tty: serial: add panic serial helper

From: Greg KH
Date: Wed May 17 2023 - 07:56:01 EST


On Wed, May 17, 2023 at 06:14:03PM +0800, Hongyu Xie wrote:
> +config PANIC_SERIAL_HELPER
> + tristate "debug through uart when panic"
> + depends on PANIC_TIMEOUT=0
> + select CONSOLE_POLL
> + default m

No need to set this default, unless it is required to boot/run properly
with this value.

> + help
> + Debug through uart when kernel panic happens.
> + This module helps you to get full kernel message through uart.
> + Say Y if you want add this to built-in kernel.
> + Say M if you want add this as a module driver.

What will the module name be?

And you need a lot more description here to explain what this is and why
anyone would want it and how it is to be used.

thanks,

greg k-h