|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Allow IRQ balancing to be disabled with 'noirqbalance'
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 57dfd651cca4506860ece03f858860b80d1fe9b3
# Parent 43c21adcfc79417c8dd7e7e3092679d4f2372681
Allow IRQ balancing to be disabled with 'noirqbalance'
boot parameter.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
diff -r 43c21adcfc79 -r 57dfd651cca4 xen/arch/x86/irq.c
--- a/xen/arch/x86/irq.c Thu Jul 14 10:16:45 2005
+++ b/xen/arch/x86/irq.c Thu Jul 14 10:37:49 2005
@@ -6,6 +6,7 @@
*/
#include <xen/config.h>
+#include <xen/init.h>
#include <xen/errno.h>
#include <xen/event.h>
#include <xen/irq.h>
@@ -13,6 +14,10 @@
#include <xen/sched.h>
#include <asm/current.h>
#include <asm/smpboot.h>
+
+/* opt_noirqbalance: If true, software IRQ balancing/affinity is disabled. */
+static int opt_noirqbalance = 0;
+boolean_param("noirqbalance", opt_noirqbalance);
irq_desc_t irq_desc[NR_IRQS];
@@ -240,7 +245,7 @@
/* Attempt to bind the interrupt target to the correct CPU. */
cpu_set(v->processor, cpumask);
- if ( desc->handler->set_affinity != NULL )
+ if ( !opt_noirqbalance && (desc->handler->set_affinity != NULL) )
desc->handler->set_affinity(vector, cpumask);
}
else if ( !will_share || !action->shareable )
diff -r 43c21adcfc79 -r 57dfd651cca4 docs/src/user.tex
--- a/docs/src/user.tex Thu Jul 14 10:16:45 2005
+++ b/docs/src/user.tex Thu Jul 14 10:37:49 2005
@@ -1692,6 +1692,11 @@
\item [watchdog ]
Enable NMI watchdog which can report certain failures.
+\item [noirqbalance ]
+ Disable software IRQ balancing and affinity. This can be used on
+ systems such as Dell 1850/2850 that have workarounds in hardware for
+ IRQ-routing issues.
+
\item [badpage=$<$page number$>$,$<$page number$>$, \ldots ]
Specify a list of pages not to be allocated for use
because they contain bad bytes. For example, if your
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-changelog] Allow IRQ balancing to be disabled with 'noirqbalance',
Xen patchbot -unstable <=
|
|
|
|
|