RE: [tip: x86/boot] x86/boot: Ignore NMIs during very early boot
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: RE: [tip: x86/boot] x86/boot: Ignore NMIs during very early boot
- From: NOMURA JUNICHI(野村 淳一) <junichi.nomura@xxxxxxx>
- Date: Fri, 12 Jan 2024 11:25:18 +0000
- Accept-language: ja-JP, en-US
- Cc: "linux-kernel@xxxxxxxxxxxxxxx" <linux-kernel@xxxxxxxxxxxxxxx>, "linux-tip-commits@xxxxxxxxxxxxxxx" <linux-tip-commits@xxxxxxxxxxxxxxx>, Derek Barbosa <debarbos@xxxxxxxxxx>, Kees Cook <keescook@xxxxxxxxxxxx>, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>, "Paul E. McKenney" <paulmck@xxxxxxxxxx>, Andy Lutomirski <luto@xxxxxxxxxx>, "H. Peter Anvin" <hpa@xxxxxxxxx>, Peter Zijlstra <peterz@xxxxxxxxxxxxx>, "x86@xxxxxxxxxx" <x86@xxxxxxxxxx>
- In-reply-to: <TYCPR01MB83893DE956B1BF965231F27C836A2@TYCPR01MB8389.jpnprd01.prod.outlook.com>
- References: <170133478498.398.5261666675868615202.tip-bot2@tip-bot2> <20231130103339.GCZWhlA196uRklTMNF@fat_crate.local> <ZZvXlyW8Khmr805c@gmail.com> <TYCPR01MB83893DE956B1BF965231F27C836A2@TYCPR01MB8389.jpnprd01.prod.outlook.com>
> > From: Ingo Molnar <mingo.kernel.org@xxxxxxxxx>
> > * Borislav Petkov <bp@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxxxxxx/
--
Jun'ichi Nomura, NEC Corporation / NEC Solution Innovators, Ltd.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
[Index of Archives]
[Linux Stable Commits]
[Linux Stable Kernel]
[Linux Kernel]
[Linux USB Devel]
[Linux Video &Media]
[Linux Audio Users]
[Yosemite News]
[Linux SCSI]