lkml.org 
[lkml]   [2024]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [tip: x86/boot] x86/boot: Ignore NMIs during very early boot
Date
> > From: Ingo Molnar <mingo.kernel.org@gmail.com>
> > * Borislav Petkov <bp@alien8.de> wrote:
> > > On Thu, Nov 30, 2023 at 08:59:44AM -0000, tip-bot2 for Jun'ichi Nomura wrote:
> > > > +void do_boot_nmi_trap(struct pt_regs *regs, unsigned long error_code)
> > > > +{
> > > > + /* Empty handler to ignore NMI during early boot */
> > >
> > > It might be good to issue something here to say that a spurious NMI got
> > > ignored.
> > >
> > > Something ala
> > >
> > > error_putstr("Spurious early NMI ignored.\n");
> > >
> > > so that we at least say that we ignored an NMI and not have it disappear
> > > unnoticed.
> >
> > That makes sense. Jun'ichi-san, could you please send a patch for this?
>
> Thank you for comments. I currently don't have an environment to send a
> patch without white space damage. Could it be possible for you to apply
> the attached one?

Sorry for the noise. Finally I could send it out here without broken tabs.
https://lore.kernel.org/lkml/ZaEe8FC767f+sxRQ@jeru.linux.bs1.fc.nec.co.jp/

--
Jun'ichi Nomura, NEC Corporation / NEC Solution Innovators, Ltd.
[unhandled content-type:application/pkcs7-signature]
\
 
 \ /
  Last update: 2024-01-12 12:31    [W:3.595 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site