[PATCH] x86_64: Add XPC interrupt vectors for SGIs UV system.

From: Alan Mayer
Date: Wed Apr 09 2008 - 18:04:31 EST



Subject: [PATCH] x86_64: Add XPC interrupt vectors for SGIs UV system.

From: Alan Mayer <ajm@xxxxxxx>

The UV system needs two high priority interrupts for the XPC
subsystem. This adds them below the common system interrupt vectors.

Signed-off-by: Alan Mayer <ajm@xxxxxxx>

---

Index: ingo/arch/x86/kernel/i8259_64.c
===================================================================
--- ingo.orig/arch/x86/kernel/i8259_64.c 2008-04-09 10:08:11.000000000 -0500
+++ ingo/arch/x86/kernel/i8259_64.c 2008-04-09 15:57:08.000000000 -0500
@@ -524,6 +524,11 @@
set_intr_gate(alloc_system_vector(SPURIOUS_APIC_VECTOR), spurious_interrupt);
set_intr_gate(alloc_system_vector(ERROR_APIC_VECTOR), error_interrupt);

+ if (is_uv_system() ) {
+ alloc_system_vector(XPC_ACTIVATE);
+ alloc_system_vector(XPC_NOTIFY);
+ }
+
if (!acpi_ioapic)
setup_irq(2, &irq2);
}
Index: ingo/include/asm-x86/hw_irq_64.h
===================================================================
--- ingo.orig/include/asm-x86/hw_irq_64.h 2008-04-09 10:08:53.000000000 -0500
+++ ingo/include/asm-x86/hw_irq_64.h 2008-04-09 15:55:47.000000000 -0500
@@ -85,6 +85,10 @@
*/
#define LOCAL_TIMER_VECTOR 0xef

+#define XPC_ACTIVATE 0xee
+#define XPC_NOTIFY 0xed
+
+
/*
* First APIC vector available to drivers: (vectors 0x30-0xee)
* we start at 0x41 to spread out vectors evenly between priority

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/