lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <Pine.SGI.3.96.1080409163354.8706317M-100000@fergus.americas.sgi.com>
Date:	Wed, 9 Apr 2008 16:35:04 -0500 (CDT)
From:	Alan Mayer <ajm@....com>
To:	mingo@...e.hu, torvalds@...ux-foundation.org
Cc:	linux-kernel list <linux-kernel@...r.kernel.org>
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@....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@....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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ