WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] x86: machine check exception handling

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] x86: machine check exception handling
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Fri, 22 Jun 2007 08:47:06 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 22 Jun 2007 00:44:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C2A1359D.99B9%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <467B8EF2.76E4.0078.0@xxxxxxxxxx> <C2A1359D.99B9%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> 22.06.07 09:15 >>>
>On 22/6/07 07:57, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:
>
>>> 3. Most contentious, I'm sure: removed VMX changes that would keep
>>> interrupts disabled across NMI/MCE. The reason is simply that SVM does not
>>> bother with this. If there is a requirement that NMI/MCE be called with
>>> particular constraints on EFLAGS, then we should make that clear and fix up
>>> both VMX and SVM in a separate patch. The pain of this is that it would
>>> probably require extra checks on critical vmexit paths. Is it *really* that
>>> bad for #MC to get interrupted?
>> 
>> Yes, I think it is bad - the machine is known to be a in bad condition
>> already,
>> and by allowing external interrupts you make the situation even worse.
>> Consequently I think SVM should be fixed to only conditionally enable
>> interrupts, just like VMX does.
>
>What issue do you think ExtInts will introduce? A crash before we get a
>fatal error dump onto the Xen console? This argument seems more than a
>little dubious to me.

Why - such a crash would be *very* difficult to debug, as you likely wouldn't
be able to guess the original reason.

> But if we want to complicate the CLI/STI logic of VMX
>and SVM then I think we should do that by pushing STI/CLI (or STGI/CLGI)
>handling into the individual cases of the main demux switch statements in
>vmx.c and svm.c.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel