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

From: Borislav Petkov
Date: Tue Dec 31 2024 - 04:24:35 EST


On Tue, Dec 31, 2024 at 02:44:48PM +0800, Feng Tang wrote:
> + /* If user hasn't specifically set panic timeout, reboot to log the error! */
> + if (!panic_timeout && !strstr(saved_command_line, "panic="))

And you want to scan saved_command_line because?

Hint: look at how other code checks panic_timeout.

> Or we want to stick the orignal patch, which doesn't change the
> original flow?

And pile more broken stuff ontop?

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette