From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frank van der Linden Subject: Re: [PATCH] MCA injection (debug) code Date: Mon, 16 Mar 2009 17:33:35 -0600 Message-ID: <49BEE1CF.7070200@Sun.COM> References: <49BEE143.2050706@Sun.COM> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=ISO-8859-1 Content-Transfer-Encoding: 7BIT Return-path: In-reply-to: <49BEE143.2050706@Sun.COM> 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 Frank van der Linden wrote: > The attached patch adds the capability for dom0 to inject MCA errors > into Xen. The basic idea is to add specific MSR values that will be read > by the polling code or the #MC handler. On AMD cpus, the MSRs can > actually be written, on Intel CPUs, interpose code is used to fake the > MSR values. > > Since actual hardware problems are rare, it's convenient to be able to > test the code like this. We run our testsuite using this code. Others > have expressed some interest in this, so that's why I'm submitting this > patch. > > - Frank Btw, this patch is on top of the main patch, but since that one is a bit big, it looks like it's stuck in the mailing list queue (probably waiting for approval). - Frank