CMCI support in Xen - what OS has been tested with it?
Hey,
I've been tracking an bug with Solaris where all of them stopped working with Xen 4.3 and later. I narrowed it down to this commit 975b5bdf27031adef6587bb5c92b7a5800e051f1 ("x86: vMCE emulation") which now toggles the MCE to advertise the CMCI support.
If I do:
xen/arch/x86/cpu/mcheck/vmce.c +0 -1
@@ -46,7 +46,6 @@*/ #define INTEL_GUEST_MCG_CAP (MCG_SER_P | \ MCG_TES_P | \ - MCG_CMCI_P | \ GUEST_MC_BANK_NUM)#define AMD_GUEST_MCG_CAP GUEST_MC_BANK_NUM
or:
cpuid=['1:edx=xxxxxxxxxxxxxxxxx0xxxxxx0xxxxxxx']
(mask MCE and MCA cpuid flags)
then they boot nicely, but that is of course not the long-term solution.
The guest stops booting - and I am tracking down what it is that it expects - but in meantime I was wondering what type of guests have been tested for CMCI support? Aka, which ones are suppose to work with this?
Thanks!
Konrad Rzeszutek Wilk wrote on 2014-04-19:
Quoted 21 lines
Hey,
I've been tracking an bug with Solaris where all of them stopped working with Xen 4.3 and later. I narrowed it down to this commit
975b5bdf27031adef6587bb5c92b7a5800e051f1("x86: vMCE emulation") which now toggles the MCE to advertise the CMCI support.If I do:
(quoted diff) +0
-0
b/xen/arch/x86/cpu/mcheck/vmce.cindex ed00f7c..a91bcb7 100644xen/arch/x86/cpu/mcheck/vmce.c +0
-0@@ -46,7 +46,6 @@*/ #define INTEL_GUEST_MCG_CAP (MCG_SER_P | \ MCG_TES_P | \ - MCG_CMCI_P | \ GUEST_MC_BANK_NUM)#define AMD_GUEST_MCG_CAP GUEST_MC_BANK_NUMor:
Quoted 8 lines
cpuid=['1:edx=xxxxxxxxxxxxxxxxx0xxxxxx0xxxxxxx']
(mask MCE and MCA cpuid flags)then they boot nicely, but that is of course not the long-term solution.
The guest stops booting - and I am tracking down what it is that it expects - but in meantime I was wondering what type of guests have been tested for CMCI support? Aka, which ones are suppose to work with this?
I don't think hypervisor will inject CMCI to guest and guest should never receive the CMCI. See comments:
/*
* MCG_SER_P: software error recovery supported
* MCG_TES_P: to avoid MCi_status bit56:53 model specific
* MCG_CMCI_P: expose CMCI capability but never really inject it to guest,
* for sake of performance since guest not polling periodically
*/
So the possible cause is that there may be some assumptions in Solaris which depends on CMCI.
Quoted 7 lines
Thanks!
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Best regards,
Yang
Zhang, Yang Z wrote on 2014-04-21:
Quoted 1 line
Konrad Rzeszutek Wilk wrote on 2014-04-19:
CC jingsong who has joined alibaba. :)
Quoted 46 lines
Quoted 24 lines
Hey,
I've been tracking an bug with Solaris where all of them stopped working with Xen 4.3 and later. I narrowed it down to this commit
975b5bdf27031adef6587bb5c92b7a5800e051f1("x86: vMCE emulation") which now toggles the MCE to advertise the CMCI support.If I do:
(quoted diff) +0
-0
b/xen/arch/x86/cpu/mcheck/vmce.cindex ed00f7c..a91bcb7 100644xen/arch/x86/cpu/mcheck/vmce.c +0
-0@@ -46,7 +46,6 @@*/ #define INTEL_GUEST_MCG_CAP (MCG_SER_P | \ MCG_TES_P | \ -MCG_CMCI_P | \ GUEST_MC_BANK_NUM) #define
AMD_GUEST_MCG_CAPGUEST_MC_BANK_NUM
or:cpuid=['1:edx=xxxxxxxxxxxxxxxxx0xxxxxx0xxxxxxx']
(mask MCE and MCA cpuid flags)Quoted 6 lines
then they boot nicely, but that is of course not the long-term solution.
The guest stops booting - and I am tracking down what it is that it expects - but in meantime I was wondering what type of guests have been tested for CMCI support? Aka, which ones are suppose to work with
this?
I don't think hypervisor will inject CMCI to guest and guest should never receive the CMCI. See comments:
/*
*MCG_SER_P: software error recovery supported
*MCG_TES_P: to avoidMCi_statusbit56:53 model specific
*MCG_CMCI_P: expose CMCI capability but never really inject it to guest,
* for sake of performance since guest not polling periodically
*/
So the possible cause is that there may be some assumptions in Solaris which depends on CMCI.Quoted 3 lines
Thanks!
Quoted 8 lines
Quoted 4 lines
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-develBest regards,
Yang
Best regards,
Yang