[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2] x86/boot: enable NMIs after traps init

On Tue, Oct 23, 2018 at 7:15 AM Andrew Cooper <andrew.cooper3@xxxxxxxxxx> wrote:
> On 23/10/18 11:59, Sergey Dyasli wrote:
> > In certain scenarios, NMIs might be disabled during Xen boot process.
> > Such situation will cause alternative_instructions() to:
> >
> >     panic("Timed out waiting for alternatives self-NMI to hit");
> >
> > This bug was originally seen when using Tboot to boot Xen.
> >
> > To prevent this from happening, enable NMIs during cpu_init() and
> > during __start_xen() for BSP.
> >
> > Signed-off-by: Sergey Dyasli <sergey.dyasli@xxxxxxxxxx>
> Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

FYI, Ross and Eric came up with a tboot patch recently added to OpenXT:

Using this Xen patch with the tboot one reverted works too.

Tested-by: Jason Andryuk <jandryuk@xxxxxxxxx>

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.