Re: [PATCH] acpi/ghes: Make ghes_panic_timeout adjustable as a parameter

From: Feng Tang
Date: Mon Dec 30 2024 - 06:40:36 EST


On Mon, Dec 30, 2024 at 12:26:08PM +0100, Borislav Petkov wrote:
> On Mon, Dec 30, 2024 at 07:04:59PM +0800, Huang, Ying wrote:
> > Another possible benefit of ghes_panic_timeout is,
> >
> > rebooting instead of waiting forever can help us to log/report the
> > hardware errors earlier.
>
> So you rip out ghes_panic_timeout and set the panic_timeout in the ghes code,
> when you get a hw error which requires reboot.

Still we may need to honor the user setting, say if user specifically set
"panic=XXX" in the cmdline, we should detect that case and skip overwritting
the panic_timeout?

Thanks,
Feng

>
> --
> Regards/Gruss,
> Boris.
>
> https://people.kernel.org/tglx/notes-about-netiquette