WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

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

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [PATCH 0/12][RFC]MCA handler support for Xen/ia64
From: SUZUKI Kazuhiro <kaz@xxxxxxxxxxxxxx>
Date: Wed, 06 Sep 2006 20:15:02 +0900 (JST)
Delivery-date: Wed, 06 Sep 2006 04:16:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
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