[V4 PATCH 4/4] x86/apic: Introduce noextnmi boot option

Thomas Gleixner tglx at linutronix.de
Tue Oct 13 13:19:33 PDT 2015


Borislav,

On Mon, 5 Oct 2015, Borislav Petkov wrote:
> On Mon, Oct 05, 2015 at 02:03:58AM +0000, 河合英宏 / KAWAI,HIDEHIRO wrote:
> > That's different from my point of view.  I'm not going to pass
> > some data from the first kernel to the second kernel. I'm just going to
> > provide a configurable option for the second kernel to users.
> 
> Dude, WTF?! You're adding a kernel command line which is supposed to
> be used *only* by the kdump kernel. But nooo, it is there in the open
> and visible to people. And anyone can type it in during boot. AND THAT
> SHOULDN'T BE POSSIBLE IN THE FIRST PLACE!
> 
> This information is strictly for the kdump kernel - it shouldn't be a
> generic command line option. How hard it is to understand that simple
> fact?!

Calm down!

Disabling that NMI in the first kernel is not going to make the world
explode. We have enough command line options a user can type in, which
are way worse than that one. If some "expert" types nonsense on the
first kernel command line, then it's none of our problems, really.

If Kawai would have marked that option as a debug feature, this
discussion would have probably never happened.

Aside of that, the best way to hand in options for the kdump kernel is
the command line. We have an existing interface for that.

Let's move on. Nothing to see here.

Thanks,

	tglx



More information about the kexec mailing list