Re: [PATCH v4] panic: add panic_force_cpu= parameter to redirect panic to a specific CPU

Peter Zijlstra
2026-01-12T07:49:30Z

On Thu, Jan 08, 2026 at 08:09:33PM +0000, Pnina Feder wrote:

> > Also, if this is a 'requirement' for kexec or the like, this
> > shouldn't be a command line argument, but something that's set-up by
> > kexec itself for functional reasons.
>
> Since the redirection needs to happen before other CPUs are stopped,
> would a sysctl be preferable? The user could set it when loading the
> crash kernel.

I was more thinking about platform setup, it would set this on boot, and
equally dis-allow hot-unplug of the magical CPU.