Santos, Jose Renato G
2005-Oct-19 17:42 UTC
[Xen-devel] [PATCH] fix for NMI causing auto reboot with SMP domains
This patches fix a NMI problem I was seeing when running xenoprof on SMP guests. The machine used to auto reboot if an NMI was received in a critical time window when context switching domains. There is a small time window when the GDT may become unmapped (after CR3 is updated and before setting GDTR with the new GDT during a domain context switch. If an NMI is received during this time window a triple fault is triggered causing the machine to auto reboot. This patch fix this problem. Please, apply. I should be sending patches for the new version of xenoprof that supports SMP domains profiling , shortly. Thanks Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2005-Oct-20 09:50 UTC
Re: [Xen-devel] [PATCH] fix for NMI causing auto reboot with SMP domains
On 19 Oct 2005, at 18:42, Santos, Jose Renato G wrote:> This patches fix a NMI problem I was seeing when running xenoprof on > SMP guests. > The machine used to auto reboot if an NMI was received in a critical > time window when > context switching domains. There is a small time window when the GDT > may become unmapped > (after CR3 is updated and before setting GDTR with the new GDT during > a domain context > switch. If an NMI is received during this time window a triple fault > is triggered causing > the machine to auto reboot. This patch fix this problem. Please, > apply.Good catch. That''s an evil bug... -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel