Displaying 2 results from an estimated 2 matches for "opt_noirqbalance".
2011 Nov 08
2
[PATCH] x86/IRQ: create_irq() should call assign_irq_vector()
...on.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
--- a/xen/arch/x86/irq.c
+++ b/xen/arch/x86/irq.c
@@ -25,7 +25,6 @@
#include <public/physdev.h>
static void parse_irq_vector_map_param(char *s);
-static int __assign_irq_vector(int irq, struct irq_desc *, const cpumask_t *);
/* opt_noirqbalance: If true, software IRQ balancing/affinity is disabled. */
bool_t __read_mostly opt_noirqbalance = 0;
@@ -153,7 +152,6 @@ int __init bind_irq_vector(int irq, int
*/
int create_irq(void)
{
- unsigned long flags;
int irq, ret;
struct irq_desc *desc;
@@ -169,11 +167,7 @@ int create...
2013 May 31
7
[PATCH v2] AMD/intremap: Prevent use of per-device vector maps until irq logic is fixed
...until a fix is found\n");
+ opt_irq_vector_map = OPT_IRQ_VECTOR_MAP_PERDEV_GLOBAL;
+ }
+
return scan_pci_devices();
}
diff -r 84e4d183fa8b -r 6671fc79717a xen/include/asm-x86/irq.h
--- a/xen/include/asm-x86/irq.h
+++ b/xen/include/asm-x86/irq.h
@@ -57,6 +57,7 @@ extern bool_t opt_noirqbalance;
#define OPT_IRQ_VECTOR_MAP_NONE 1 /* None */
#define OPT_IRQ_VECTOR_MAP_GLOBAL 2 /* One global vector map (no vector sharing) */
#define OPT_IRQ_VECTOR_MAP_PERDEV 3 /* Per-device vetor map (no vector sharing w/in a device) */
+#define OPT_IRQ_VECTOR_MAP_PERDEV_GLOBAL 4 /* Remove me when...