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] Re: [RFC] RAS(Part II)--MCA enalbing in XEN

To: "Frank.Vanderlinden@xxxxxxx" <Frank.Vanderlinden@xxxxxxx>, "Kleen, Andi" <andi.kleen@xxxxxxxxx>
Subject: RE: [Xen-devel] Re: [RFC] RAS(Part II)--MCA enalbing in XEN
From: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
Date: Wed, 25 Feb 2009 10:25:12 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: Gavin Maltby <Gavin.Maltby@xxxxxxx>, Christoph Egger <Christoph.Egger@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "Ke, Liping" <liping.ke@xxxxxxxxx>
Delivery-date: Tue, 24 Feb 2009 18:27:47 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49A45CF0.6080807@xxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C5BF30B3.2C2B%keir.fraser@xxxxxxxxxxxxx> <200902181905.55015.Christoph.Egger@xxxxxxx> <E2263E4A5B2284449EEBD0AAB751098401C7AAC7A0@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <200902191725.32556.Christoph.Egger@xxxxxxx> <E2263E4A5B2284449EEBD0AAB751098401C7AACC2B@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <499F1A1A.2080808@xxxxxxx> <E2263E4A5B2284449EEBD0AAB751098401C7B24F23@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <49A4423F.7070702@xxxxxxx> <2E9E6F5F5978EF44A8590E339E888CF988279945@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <49A44564.3080505@xxxxxxx> <2E9E6F5F5978EF44A8590E339E888CF98827996D@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <49A45CF0.6080807@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcmWwS0HHSj/hw68Q9yrvdqpZiL8qgAKMnvA
Thread-topic: [Xen-devel] Re: [RFC] RAS(Part II)--MCA enalbing in XEN
Frank.Vanderlinden@xxxxxxx <mailto:Frank.Vanderlinden@xxxxxxx> wrote:
> Kleen, Andi wrote:
>>> Kleen, Andi wrote:
>> 
>> So it's generally better to inject generic events, not just blindly
>> forward. 
>> 
> 
> Agreed. I can see advantages to the vMCE code, but it has to deliver
> something to the domU that makes it do something reasonable.
> That's why
> I have some doubts about the patch that was sent, it doesn't
> quite seem
> to achieve that (certainly not without translating the address).
> 
> - Frank

Yes, we should have include the translation. We didn't do that when sending out 
the patch because we thought the PV guest has idea of m2p translation. Later we 
realized the translation is needed for PV guest after more consideration, since 
the unmodified #MC handler will use guest address. Of course we always need the 
translation for HVM guest, which however is not in that patch's scope . Sorry 
for any confusion caused.

One thing need notice is, the information passed through vIRQ is physical 
information while dom0s' MCA handler will get guest information, so user space 
tools should be aware of such constraints.

So, Frank/Egger, can I assume followed are consensus currently?

1) MCE is handled by Xen HV totally, while guest's vMCE handler will only works 
for itself. 
2) Xen present a virtual #MC to guest through MSR access emulation.(Xen will do 
the translation if needed).
3) Guest's unmodified MCE handler will handle the vMCE injected. 
4) Dom0 will get all log/telemetry through hypercall. 
5) The action taken by xen will be passed to dom0 through the telemetry 
mechanism.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>