|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
[Xen-ia64-devel] [PATCH 3/12][RFC]MCA handler support for Xen/ia64
[3/12] Fix GET_THIS_PADDR and define log queue struct.[mca-header.patch]
Signed-off-by: Yutaka Ezaki <yutaka.ezaki@xxxxxxxxxxxxxx>
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Signed-off-by: SUZUKI Kazuhiro <kaz@xxxxxxxxxxxxxx>
diff -r 685bf9b75eb1 xen/include/asm-ia64/linux-xen/asm/mca_asm.h
--- a/xen/include/asm-ia64/linux-xen/asm/mca_asm.h Mon Sep 04 14:48:03
2006 -0600
+++ b/xen/include/asm-ia64/linux-xen/asm/mca_asm.h Wed Sep 06 14:02:42
2006 +0900
@@ -59,8 +59,8 @@
#ifdef XEN
#define GET_THIS_PADDR(reg, var) \
- movl reg = THIS_CPU(var) \
- tpa reg = reg
+ mov reg = IA64_KR(PER_CPU_DATA);; \
+ addl reg = THIS_CPU(var) - PERCPU_ADDR, reg
#else
#define GET_THIS_PADDR(reg, var) \
mov reg = IA64_KR(PER_CPU_DATA);; \
diff -r 685bf9b75eb1 xen/include/asm-ia64/xenmca.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xen/include/asm-ia64/xenmca.h Wed Sep 06 14:02:42 2006 +0900
@@ -0,0 +1,35 @@
+/*
+ * File: xenmca.h
+ * Purpose: Machine check handling specific defines for Xen
+ *
+ * Copyright (C) 2006 FUJITSU LTD. (kaz@xxxxxxxxxxxxxx)
+ */
+
+#ifndef _ASM_IA64_XENMCA_H
+#define _ASM_IA64_XENMCA_H
+
+#ifndef __ASSEMBLER__
+#include <linux/list.h>
+#include <asm/sal.h>
+
+typedef struct sal_queue_entry_t {
+ int cpuid;
+ int sal_info_type;
+ unsigned int vector;
+ unsigned int virq;
+ unsigned int length;
+ struct list_head list;
+} sal_queue_entry_t;
+
+extern struct list_head sal_queue[];
+
+struct ia64_mca_tlb_info {
+ u64 cr_lid;
+ u64 percpu_paddr;
+};
+
+extern struct ia64_mca_tlb_info ia64_mca_tlb_list[];
+#endif /* __ASSEMBLER__ */
+
+#endif /* _ASM_IA64_XENMCA_H */
+
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-ia64-devel] [PATCH 0/12][RFC]MCA handler support for Xen/ia64, SUZUKI Kazuhiro
- [Xen-ia64-devel] [PATCH 1/12][RFC]MCA handler support for Xen/ia64, SUZUKI Kazuhiro
- [Xen-ia64-devel] [PATCH 3/12][RFC]MCA handler support for Xen/ia64,
SUZUKI Kazuhiro <=
- [Xen-ia64-devel] [PATCH 2/12][RFC]MCA handler support for Xen/ia64, SUZUKI Kazuhiro
- [Xen-ia64-devel] [PATCH 5/12][RFC]MCA handler support for Xen/ia64, SUZUKI Kazuhiro
- [Xen-ia64-devel] [PATCH 4/12][RFC]MCA handler support for Xen/ia64, SUZUKI Kazuhiro
- [Xen-ia64-devel] [PATCH 7/12][RFC]MCA handler support for Xen/ia64, SUZUKI Kazuhiro
- [Xen-ia64-devel] [PATCH 12/12][RFC]MCA handler support for Xen/ia64, SUZUKI Kazuhiro
- [Xen-ia64-devel] [PATCH 10/12][RFC]MCA handler support for Xen/ia64, SUZUKI Kazuhiro
- [Xen-ia64-devel] [PATCH 9/12][RFC]MCA handler support for Xen/ia64, SUZUKI Kazuhiro
- [Xen-ia64-devel] [PATCH 6/12][RFC]MCA handler support for Xen/ia64, SUZUKI Kazuhiro
- [Xen-ia64-devel] [PATCH 8/12][RFC]MCA handler support for Xen/ia64, SUZUKI Kazuhiro
- [Xen-ia64-devel] [PATCH 11/12][RFC]MCA handler support for Xen/ia64, SUZUKI Kazuhiro
|
|
|
|
|