From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933051Ab2GCHPx (ORCPT ); Tue, 3 Jul 2012 03:15:53 -0400 Received: from nat28.tlf.novell.com ([130.57.49.28]:48118 "EHLO nat28.tlf.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750910Ab2GCHPv convert rfc822-to-8bit (ORCPT ); Tue, 3 Jul 2012 03:15:51 -0400 Message-Id: <4FF2B87C020000780008D3E0@nat28.tlf.novell.com> X-Mailer: Novell GroupWise Internet Agent 12.0.0 Date: Tue, 03 Jul 2012 08:16:44 +0100 From: "Jan Beulich" To: "Christoph Egger" , "Jinsong Liu" Cc: "IanCampbell" , "Ashok Raj" , "Donald D Dugger" , "Haitao Shan" , "Jun Nakajima" , "Susie Li" , "Tony Luck" , "Will Auld" , "Xiantao Zhang" , "Yunhong Jiang" , "xen-devel@lists.xensource.com" , "linux-kernel@vger.kernel.org" , "KeirFraser" Subject: RE: [Xen-devel] [xen vMCE RFC V0.2] xen vMCE design References: <4FEB236C020000780008C392@nat28.tlf.novell.com> <4FEC3B4A020000780008C673@nat28.tlf.novell.com> <4FEC463E020000780008C6A7@nat28.tlf.novell.com> <4FEC7FB8020000780008C885@nat28.tlf.novell.com> <4FED7C5F.1040908@amd.com> In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8BIT Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>> On 02.07.12 at 19:32, "Liu, Jinsong" wrote: > Thanks AMD's feedback :) > > This vMCE design foils is basically for Intel MCA, involving many details > specific to Intel. > I agree that for x86 Intel and AMD can share logic in many fields. However, > for MCA logic Intel and AMD are quite different, like > 1. MSRs interface, e.g. MCG_CAP, MCi_MICS, MCi_CTL2, etc; > 2. error injection, AMD provide NMI/single MCE/broadcast MCE, while in our > design only concern broadcast MCE# (and pretend to expose CMCI); > 3. MCE handler: currently in xen Intel and AMD mce use different triggle > method and mce handler; > > Considering the big difference, I suggest we separately provide Intel vMCE > and AMD vMCE (i.e. vmce_intel.c and vmce_amd.c). I'm not convinced of the need, and would prefer aiming at a shared implementation unless issues arise that make this impossible. Jan