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/
Home Products Support Community News


[Xen-changelog] [xen-unstable] [IA64] MCA support - Add lid and percpu p

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] MCA support - Add lid and percpu paddr table
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 09 Dec 2006 15:41:27 +0000
Delivery-date: Sat, 09 Dec 2006 07:41:01 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID e4213aa1b98d249717387a1a0a655050b2c0e36f
# Parent  44119a4b46bd2b334815e915066e076beadbfdcb
[IA64] MCA support - Add lid and percpu paddr table

Signed-off-by: Yutaka Ezaki <yutaka.ezaki@xxxxxxxxxxxxxx>
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Signed-off-by: Kazuhiro Suzuki <kaz@xxxxxxxxxxxxxx>
 xen/arch/ia64/xen/mm_init.c |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletion(-)

diff -r 44119a4b46bd -r e4213aa1b98d xen/arch/ia64/xen/mm_init.c
--- a/xen/arch/ia64/xen/mm_init.c       Sun Oct 29 09:27:18 2006 -0700
+++ b/xen/arch/ia64/xen/mm_init.c       Sun Oct 29 09:27:19 2006 -0700
@@ -10,6 +10,11 @@
 #include <xen/sched.h>
 #include <asm/vhpt.h>
+#include <asm/xenmca.h>
+#include <asm/meminit.h>
+#include <asm/page.h>
+struct ia64_mca_tlb_info ia64_mca_tlb_list[NR_CPUS];
 extern void ia64_tlb_init (void);
@@ -93,11 +98,13 @@ ia64_mmu_init (void *my_cpu_data)
        cpu = smp_processor_id();
-#ifndef XEN
        /* mca handler uses cr.lid as key to pick the right entry */
        ia64_mca_tlb_list[cpu].cr_lid = ia64_getreg(_IA64_REG_CR_LID);
        /* insert this percpu data information into our list for MCA recovery 
purposes */
+#ifdef XEN
+       ia64_mca_tlb_list[cpu].percpu_paddr = __pa(my_cpu_data);
        ia64_mca_tlb_list[cpu].percpu_paddr = 
pte_val(mk_pte_phys(__pa(my_cpu_data), PAGE_KERNEL));
        /* Also save per-cpu tlb flush recipe for use in physical mode mca 
handler */
        ia64_mca_tlb_list[cpu].ptce_base = local_cpu_data->ptce_base;

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] MCA support - Add lid and percpu paddr table, Xen patchbot-unstable <=