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] skip MCA setup on PV domU

To: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] [PATCH] skip MCA setup on PV domU
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Tue, 10 Apr 2007 12:30:31 -0600
Delivery-date: Tue, 10 Apr 2007 11:29:48 -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>
Organization: HP OSLO R&D
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
   Is there any reason to setup MCA support on PV domUs?  I can't think
of any, and it wastes 3 dynamic IRQs per vCPU to support it.  That
currently limits us to 42 vCPUs on PV guests.  The patch below
automatically disables MCA support on domUs, allowing us to
theoretically hit 85 vCPUs before hitting that limit again.  We probably
need to think about per CPU event channels to remove the limit entirely.
I've tested up to 64 vCPUs, at which point the xm tools appear to
prevent us from going further.  Is anyone thinking of doing something
with MCA support in PV domains, or should I check this in?  Thanks,

        Alex


Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---

diff -r 1bde28f762a6 linux-2.6-xen-sparse/arch/ia64/kernel/setup.c
--- a/linux-2.6-xen-sparse/arch/ia64/kernel/setup.c     Mon Apr 09 13:40:25 
2007 -0600
+++ b/linux-2.6-xen-sparse/arch/ia64/kernel/setup.c     Tue Apr 10 11:42:56 
2007 -0600
@@ -594,6 +594,10 @@ setup_arch (char **cmdline_p)
 
 
        /* enable IA-64 Machine Check Abort Handling unless disabled */
+#ifdef CONFIG_XEN
+       if (is_running_on_xen() && !is_initial_xendomain())
+               nomca = 1;
+#endif
        if (!nomca)
                ia64_mca_init();
 



_______________________________________________
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] skip MCA setup on PV domU, Alex Williamson <=