lkml.org 
[lkml]   [2008]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] x86_64: Add XPC interrupt vectors for SGIs UV system.

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

From: Alan Mayer <ajm@sgi.com>

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@sgi.com>

---
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


\
 
 \ /
  Last update: 2008-04-10 00:07    [from the cache]
©2003-2011 Jasper Spaans