|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
[Xen-ia64-devel] Re: [patch] base NR_DYNIRQS on CONFIG_NR_CPUS
Jes Sorensen wrote:
> Hi,
>
> This one is needed to boot more than 40 CPUs or we run out of IRQ
> sources.
>
> Cheers,
> Jes
Ok let me try once more, this time with a correct patch. Sorry for
the noise.
Cheers,
Jes
# HG changeset patch
# User jes@xxxxxxxxxxxxxxxx
# Date 1181738302 -7200
# Node ID a3ac2eb86bf635d6060bfe943bc9a26146042157
# Parent a87acf37aa004a51e6e8dfead05a941ff6ab087c
Determine the size of NR_DYNIRQS based on the size of
CONFIG_NR_CPUS. Hardcoding to 256 means things break when trying to
boot medium to large systems.
Signed-off-by: Jes Sorensen <jes@xxxxxxx>
diff -r a87acf37aa00 -r a3ac2eb86bf6 include/asm-ia64/irq.h
--- a/include/asm-ia64/irq.h Tue Jun 12 22:02:27 2007 -0600
+++ b/include/asm-ia64/irq.h Wed Jun 13 14:38:22 2007 +0200
@@ -29,7 +29,7 @@
#define NR_PIRQS 256
#define DYNIRQ_BASE (PIRQ_BASE + NR_PIRQS)
-#define NR_DYNIRQS 256
+#define NR_DYNIRQS (CONFIG_NR_CPUS * 8)
#define NR_IRQS (NR_PIRQS + NR_DYNIRQS)
#define NR_IRQ_VECTORS NR_IRQS
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
|
|
|
|