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

From: Greg KH
Date: Wed May 31 2023 - 04:06:20 EST


On Wed, May 31, 2023 at 03:18:02PM +0800, Hongyu Xie wrote:
> It was inspired by kgdboc.
>
> This is a debug module that allows you to get all kernel logs
> after panic.
>
> Normally you need to attach a USB-to-UART tool or enable kdump
> before panic happens to get log from kernel after panic. If you
> didn't do that and kdump is not working, you can't get any log to
> know what happened before panic. If you have a USB-to-UART tool
> and the uart port on your computer is working. This module helps
> you to get all kernel log after panic() is called.
>
> To use this, see Documentation/dev-tools/panic_serial_helper.rst.
>
> Tested on arm64 device.
>
> Signed-off-by: Hongyu Xie <xiehongyu1@xxxxxxxxxx>
> ---
>
> v3:
> 1. modify the document about this module.
> 2. provide case-ignored filter matching.

Why is this a RESEND?

It's a RFC, I can't apply it, as obviously you do not feel like it is
completed. What needs to be done to make you feel comfortable with it?

thanks,

greg k-h