From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756633AbYDRJuP (ORCPT ); Fri, 18 Apr 2008 05:50:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754463AbYDRJuA (ORCPT ); Fri, 18 Apr 2008 05:50:00 -0400 Received: from gw.goop.org ([64.81.55.164]:47376 "EHLO mail.goop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754409AbYDRJt7 (ORCPT ); Fri, 18 Apr 2008 05:49:59 -0400 Message-ID: <48086EBC.3070904@goop.org> Date: Fri, 18 Apr 2008 19:49:48 +1000 From: Jeremy Fitzhardinge User-Agent: Thunderbird 2.0.0.12 (X11/20080407) MIME-Version: 1.0 To: Mathieu Desnoyers CC: Ingo Molnar , Andi Kleen , akpm@osdl.org, "H. Peter Anvin" , Steven Rostedt , "Frank Ch. Eigler" , linux-kernel@vger.kernel.org, Rusty Russell , Zachary Amsden Subject: Re: [RFC PATCH] x86 NMI-safe INT3 and Page Fault (v2) References: <20080414230344.GA16061@Krystal> <20080414230530.GB16061@Krystal> <20080416130605.GG6304@elte.hu> <20080416151054.GA32456@elte.hu> <48062343.50606@goop.org> <20080418004800.GA7758@Krystal> In-Reply-To: <20080418004800.GA7758@Krystal> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Mathieu Desnoyers wrote: > * Jeremy Fitzhardinge (jeremy@goop.org) wrote: > >> Ingo Molnar wrote: >> >>> * Ingo Molnar wrote: >>> >>> >>> >>>> thanks Mathieu, i've picked this up into x86.git for more testing. >>>> >>>> >>> ... but had to drop it due to missing PARAVIRT support which broke the >>> build. I guess on paravirt we could just initially define >>> INTERRUPT_RETURN_NMI_SAFE to iret, etc.? >>> >> I have not yet implemented Xen's support for paravirtual NMI, so there's no >> scope for breaking anything from my perspective. When I get around to NMI, >> I'll work around whatever's there. I don't know if lguest or VMI has any >> guest NMI support. >> >> J >> >> > > I wonder if we could simply paravirtualize the popf instruction, which > seems to be the only one requiring to run in ring 0. Hm, I'd need to think about it more. There's more to NMI's than just the popf. J