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

[Xen-ia64-devel] [PATCH 0/12][RFC]MCA handler support for Xen/ia64



Hi, all

The following patches add MCA support for xen/ia64.
We implemented based on the following design memo we have already
posted.

http://lists.xensource.com/archives/html/xen-ia64-devel/2006-07/msg00166.html

We have already tested MCA uncorrectable error handler, but
correctable error(CMC/CPE) handlers not yet. We posted for comments
and evaluation. 

We added two softirq handles in xen/include/xen/softirq.h in order to
use `cpumask_raise_softirq' instead of `schedule_work' in
xen/arch/ia64/linux-xen/mca.c.[11/12 mca-typdef.patch]
We wonder how to do because this is common part header file, so we
cannot add softirq handle without asking.

If we include both vcpu.h and acpi.h, then we get typedef conflict
error messages from compiler as follows.

  vcpu.h:15: error: redefinition of typedef 'UINT64'
  actypes.h:116: error: previous declaration of 'UINT64' was here

  vcpu.h:20: error: conflicting types for 'BOOLEAN'
  actypes.h:108: error: previous declaration of 'BOOLEAN' was here

We modified vcpu.h and actypes.h like this.[12/12 mca-typdef.patch]

  #ifndef       __TYPEDEF_UINT64__
  #define       __TYPEDEF_UINT64__
  typedef       unsigned long UINT64;
  #endif        /* __TYPEDEF_UINT64__ */
  typedef       unsigned int UINT;
  #ifndef       __TYPEDEF_BOOLEAN__
  #define       __TYPEDEF_BOOLEAN__
  typedef       int BOOLEAN;
  #endif        /* __TYPEDEF_BOOLEAN__ */

Please give us comments.

MCA for Xen/ia64 may not work under influence of the
copy_from/to_guest problem. As a result, it is likely to fail in the
collection of the log. So we expect this problem will be solved.


Thanks,
You, Kan, and Kaz


_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel


 


Rackspace

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