Glad to know you are working on MCA too.
There are some discussion already on it, I google and get the link
http://article.gmane.org/gmane.comp.emulators.xen.devel/56284 for some
discussion. You can check that thread.
Some point need discussion including:
1) How to detect the impacted components in Xen side? As the above mail thread
discussed, maybe some improvement can be added to check the context more
precisely. For example, if the stack tell the MCE happens when Xen is running,
even if current is idle, we still think Xen is impacted. Also we can check the
page owner to decide impacted guest. Personally I don't think "current" is very
helpful.
2) How to split the effort between Xen and Dom0? Maybe we can re-use dom0's MCE
handler as much as possible, Xen will only do some initial containment,
especially considering Linux is also enhancing MCE handler. Of course, another
option is to place all handler in Xen side.
3) We need consider what will happen if multiple MCA happen at multiple CPU
simuatanously, maybe some monarch algrithom is needed.
Hope your input on it.
BTW, I checked you patch to kernel of mce-xen.c, seems not much change to it.
You will add more changes on it, right?
Thanks
Yunhong Jiang
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx <> wrote:
> Hi,
>
> I am interested in MCA/MCE on x86 system. But I don't have AMD
> machine, so I tried to port MCA handler on AMD k8 to Intel p4, I
> attach it. Additionally, I attach a patch that supports MCA handler for
> linux-2.6.18-xen/x86_64.
>
> Unfortunately, I don't know how to test MCA/MCE on Intel p4 CPU and
> chipset, so I could not test with real MCA only in testing with fake
> mode(just function calling). Is there anyone who knows and teaches me how
> to test the real MCA?
>
> [1/2] xen part: mca-support-for-intel-xen.patch
> [2/2] linux/x86_64 part: mca-support-for-intel-linux.patch
>
> Signed-off-by: Kazuhiro Suzuki <kaz@xxxxxxxxxxxxxx>
>
> Thanks,
> KAZ
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|