Re: [PATCH] x86/microcode/intel: Panic on partial microcode update
From: David Laight
Date: Tue Jul 28 2026 - 18:11:06 EST
On Tue, 28 Jul 2026 13:48:20 -0700
Dave Hansen <dave.hansen@xxxxxxxxx> wrote:
> On 7/28/26 11:56, David Laight wrote:
> >> WARN(), please. Not panic().
> >>
> > PANIC_ON_WARN ....
>
> Right. That's kinda my point.
>
> If you are of the tin-foil-hat-wearing persuasion, you are paranoid and
> can't get enough panic()s in your life. You have panic_on_warn=1 to
> magically transform all warnings into panic()s and warm your heart.
>
> There's no warn_on_panic=1. The trusting don't have an analog.
And the panics are much harder to debug.
It isn't as though the code waits long enough after generating all the
'console' output to let syslogd get it to filestore.
We we trying to find why a customer system kept rebooting.
Eventually realised PANIC_ON_OOPS was set, turned it off and the silly bug
was obvious.
David