[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] RE: [PATCH] x86: add CMCI software injection interface
Hi, Keir Yes, we do some discussion about the interface compatibility problem before submitting. But we found the mceinj_cpunr below is defined as unsigned int (not uint32), so we think it may have some problem in 32/64 bit machine originally. So we gave up the backward compatibility effort and made it as uint32_5. But if sun/oracle use this interface before, we did have some problem So Christopher and Gavin, any suggestions for this? Regards, criping struct xen_mc_mceinject { - unsigned int mceinj_cpunr; /* target processor id */ + uint32_t mceinj_cpunr; /* target processor id */ + uint32_t mceinj_flag; /* UC error or CE error flag */ }; -----Original Message----- From: Keir Fraser [mailto:keir.fraser@xxxxxxxxxxxxx] Sent: Tuesday, May 04, 2010 9:06 PM To: Ke, Liping; Jiang, Yunhong Cc: xen-devel@xxxxxxxxxxxxxxxxxxx; Christoph Egger Subject: Re: [PATCH] x86: add CMCI software injection interface On 28/04/2010 11:06, "Ke, Liping" <liping.ke@xxxxxxxxx> wrote: > Hi, all > > Currently we already have MCE software injection interface. > This small patch now add CMCI software injection interface. So that CMCI error > could be triggered by software on CPUs which support CMCI. > Broadcast option is used for simulating bank sharing scenario. > > This patch was tested together by running mcelog in DOM0 and got expected CMCI > information. Applied, but then reverted as I realised it appears to change Xen's MCE ABI without consideration of backward compatibility. Obviously that is not acceptable. It seems that generally you guys have issues with the existing machine-check interfaces, and your inability to modify them now they are a fixed part of the ABI. Do we need to discuss ways to work around this in a way that doesn't break older guests? -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |