[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xens handling of MCE


  • To: Elliott Mitchell <ehem+xen@xxxxxxx>, Development <D@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 7 Sep 2023 08:56:51 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=qv6cSUSPZ9StgdZUCKrluD/eWwHhFeXh/iN8Dpq7HLk=; b=J/xMn5MqLm9/JwKU8Z++IXYZCNntTd5vThdDnWhxdgMPfUbBQsD9wAAnP2B2LD2IF2AcNhmGvWLPgsTQUQE7Xb4vU9mYNGFrn6XrhliV82LSBEwZPQsSG6o7dAWYo+uyak5BZCoKRHwI4XVTYHiGmJqwL/7otDY6gSbVmIol1EgHTHqak3iChvoHgJ8ihibZfiG4hNV9f2Afjq5cC9mJMIS+ssT5GgMShLHijAtmbqcs9D2jUNQrG9vGqbG5+Hx7MszaYxWFuB4gIGEVKQm+982DNO70sQWTaxW0x2qU3mDlgInQMBvl+vOpOc+ieXnf+9C+54aDs1t1L+qx0l+HgA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YOEPWhjQM1eNtT04SnnngasHPYjrS4uc4+T2Y+USZaTmWcqAXZUeMXC6tYoJ5aKxheyuoZzM99gIPAS5dc3LoI4+1J7ZqDG2Ir+3zAn1gnVIEwiyYqRb6SzddnnX3JByui7P/OELZIzH5exIUTRORUCB2vM4FnNwhec8TXn59DtSDW9Q9ENkp/VDKLPnxWzRDPBh8+10vVJwuLBHDNbUWnYNfOFHQ0EQfefTfCtcb3MZi1eEClCQL3tvXB/rT7YHzLOJNrEcFRqV3/r8kIifXugNs040BDDPyczDSw6bK5Ft2Hten4/x9OxcqNmbBA9zJQrHN+7BWiDTRZ3P9ntedQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 07 Sep 2023 06:57:06 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 06.09.2023 23:38, Elliott Mitchell wrote:
> On Thu, Aug 31, 2023 at 07:52:05PM +0000, Development wrote:
>>
>>     However, in 2009-02, "cegger" wrote MCA/MCE_in_Xen, a proposal for 
>> having xen start checking the information
>>     Xen started accessing the EDAC information (now called "MCE") at some 
>> point after that, which blocks the linux kernel in dom0 from accessing it.
>>     (I also found what appears to be related sides from a presentation from 
>> 2012 at: 
>> https://lkml.iu.edu/hypermail/linux/kernel/1206.3/01304/xen_vMCE_design_%28v0_2%29.pdf
>>  )
>>
> 
> I hadn't seen that before.  Clearly shows someone who had no idea what
> they were doing designed it.  The author was thinking "virtualize 
> everything!", whereas MCE is a perfect situation for paravirtualization.
> Let Dom0 process MCE events (which allows use of Linux's more up to date
> MCE drivers), then let Dom0 notify Xen if action is needed (a page was
> corrupted, tell the effected domain).
> 
> There was a recent proposal to simply import Linux's rather more recent
> MCE/EDAC source.  This hasn't happened yet.  For people using Xen this
> has been a very concerning issue for some time.

I'm unaware of such a proposal; do you have a reference? EDAC drivers
typically are vendor- or even chipset-specific aiui. At least the latter
wouldn't make them a good fit to import into Xen. Along of what you say
earlier, they instead want to become Xen-aware (to deal with address
translation as necessary). That'll also have better chances of things
staying up-to-date.

Jan



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.