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

Re: [Xen-devel] Regression since Linux Kernel 3.12 due to 64bit pvguest NMIs



>
> Isn't it Xen 3.x based? The Linux pvops kernels I thought only
> were 4.0 and further compatible?

Yes, it's Xen 3.x based but i can boot pvops kernels up to 3.11.

> But anyhow, I presume the:
>
> ffffffff810041fd
>
> maps to the 'ud2' instruction in 'xen_enable_nmi' ?

Correct.

> If you take the 'BUG()' out does it continue running?

You're right - it works

--- a/arch/x86/xen/setup.c
+++ b/arch/x86/xen/setup.c
@@ -559,8 +559,7 @@ void xen_enable_syscall(void)
 void __cpuinit xen_enable_nmi(void)
 {
 #ifdef CONFIG_X86_64
-       if (register_callback(CALLBACKTYPE_nmi, nmi))
-               BUG();
+       register_callback(CALLBACKTYPE_nmi, nmi);
 #endif
 }
 void __init xen_arch_setup(void)


Thanks Konrad!
Would it be possible to guard the NMI Feature so older Xen Versions don't get
confused and run into this BUG()?

Regards,
Sebastian

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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