From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Egger Subject: Re: Re: [RFC] RAS(Part II)--MCA enalbing in XEN Date: Wed, 25 Feb 2009 11:37:00 +0100 Message-ID: <200902251137.01249.Christoph.Egger@amd.com> References: <2E9E6F5F5978EF44A8590E339E888CF988279945@irsmsx503.ger.corp.intel.com> <49A44564.3080505@Sun.COM> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <49A44564.3080505@Sun.COM> 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: Frank van der Linden Cc: "xen-devel@lists.xensource.com" , "Jiang, Yunhong" , "Ke, Liping" , Gavin Maltby , Keir Fraser , "Kleen, Andi" List-Id: xen-devel@lists.xenproject.org On Tuesday 24 February 2009 20:07:16 Frank van der Linden wrote: > Kleen, Andi wrote: > >> MCA information is highly specific to the hardware. > > > > Actually Intel has architectural machine checks and except for > > some optional addon information explicitely marked it's all architectural > > (as in defined to stay the same going forward) > > True, I probably expressed myself poorly here. I meant to say: it's a > physical hardware error, and in an unmodified virtualized environment > the information about the physical hardware isn't there. > > > For DomU translation of the address is needed, that's correct. > > For Dom0 logging physical is good because the logging tools > > might need that. > > Right. As far as I understand it, this patch proposes to deliver the > actual physical information to dom0 via the existing vIRQ mechanism, > while the vMCE mechanism delivers virtualized info to any guest (both > dom0 and domU). The translation is still problematic: What if an error occured which impacts multiple physical contigous pages ? Translated into guest-physical address space, they may be non-contigous. That's why the original design does not support HVM guests unless they are aware about running in Xen via an PV machine check driver. Christoph -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Jochen Polster, Thomas M. McCoy, Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632