From: "Jan Beulich" Subject: NMI deferral on i386 Date: Tue, 15 May 2007 16:46:00 +0200 Message-ID: <4649E3C8.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Looking at cloning this logic to more properly support MCE, I see two = issues with this code: - by using iret, the NMI is being acknowledged to the CPU, and since = nothing was done to address its reason, I can't see why it shouldn't re-trigger = right after that iret (unless it was sent as an IPI) - by re-issuing it on vector 31, the resulting interrupt will have lower = priority than any external interrupt, hence all pending interrupts will be = serviced before getting to actually handle the NMI; ideally this should use the = highest possible vector, but since priorities are grouped anyway, at least = allocating the vector from the high priority pool would seem necessary Thanks, Jan