[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZZvXlyW8Khmr805c@gmail.com>
Date: Mon, 8 Jan 2024 12:08:07 +0100
From: Ingo Molnar <mingo@...nel.org>
To: Borislav Petkov <bp@...en8.de>
Cc: linux-kernel@...r.kernel.org, linux-tip-commits@...r.kernel.org,
Jun'ichi Nomura <junichi.nomura@....com>,
Derek Barbosa <debarbos@...hat.com>,
Kees Cook <keescook@...omium.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
"Paul E. McKenney" <paulmck@...nel.org>,
Andy Lutomirski <luto@...nel.org>, "H. Peter Anvin" <hpa@...or.com>,
Peter Zijlstra <peterz@...radead.org>, x86@...nel.org
Subject: Re: [tip: x86/boot] x86/boot: Ignore NMIs during very early boot
* Borislav Petkov <bp@...en8.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?
Thanks,
Ingo
Powered by blists - more mailing lists