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

[Xen-changelog] [xen-unstable] [IA64] Skip MCA setup on domU



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1176298109 21600
# Node ID a6800d989059304f7b4b0e55eec297b5af8bce15
# Parent  7158623a1b3dd28f86f908fce7e8e56c37a49179
[IA64] Skip MCA setup on domU

This effectively automates passing the nomca flag to domUs,
preventing them from setting up CMC/CPE interrupts.  This saves
3 dynamic IRQs per processor and allows us to get domUs up to 64
vCPUs without increasing the number of dynamic IRQs available.

Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
 linux-2.6-xen-sparse/arch/ia64/kernel/setup.c |    4 ++++
 1 files changed, 4 insertions(+)

diff -r 7158623a1b3d -r a6800d989059 
linux-2.6-xen-sparse/arch/ia64/kernel/setup.c
--- a/linux-2.6-xen-sparse/arch/ia64/kernel/setup.c     Wed Apr 11 07:24:44 
2007 -0600
+++ b/linux-2.6-xen-sparse/arch/ia64/kernel/setup.c     Wed Apr 11 07:28:29 
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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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