ia64/xen-unstable

changeset 14777:a6800d989059

[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@hp.com>
author Alex Williamson <alex.williamson@hp.com>
date Wed Apr 11 07:28:29 2007 -0600 (2007-04-11)
parents 7158623a1b3d
children 3d356a2b1c75
files linux-2.6-xen-sparse/arch/ia64/kernel/setup.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/ia64/kernel/setup.c	Wed Apr 11 07:24:44 2007 -0600
     1.2 +++ b/linux-2.6-xen-sparse/arch/ia64/kernel/setup.c	Wed Apr 11 07:28:29 2007 -0600
     1.3 @@ -594,6 +594,10 @@ setup_arch (char **cmdline_p)
     1.4  
     1.5  
     1.6  	/* enable IA-64 Machine Check Abort Handling unless disabled */
     1.7 +#ifdef CONFIG_XEN
     1.8 +	if (is_running_on_xen() && !is_initial_xendomain())
     1.9 +		nomca = 1;
    1.10 +#endif
    1.11  	if (!nomca)
    1.12  		ia64_mca_init();
    1.13