From: James Cleverdon <jamesclv@us.ibm.com>
To: Andi Kleen <ak@suse.de>
Cc: "Protasevich, Natalie" <Natalie.Protasevich@UNISYS.com>,
Russ Weight <rweight@us.ibm.com>,
linux-kernel@vger.kernel.org
Subject: Re: [RFC][2.6.12.3] Use vectors 0x21-0x2F
Date: Sun, 14 Aug 2005 20:07:02 -0700 [thread overview]
Message-ID: <200508142007.03083.jamesclv@us.ibm.com> (raw)
In-Reply-To: <200508141957.53396.jamesclv@us.ibm.com>
Quick and dirty patch to use the 16 vectors that appear to have
fallen through the cracks. This also is useful for older CPUs that
have serial APICS: P54C, P6, P2, P3, K5, K6, etc. They can benefit
from the extra vector space to hash the IRQs.
I suppose I could have started at 0x20 instead of 0x21. The extra
level probably would more than compensate for having to skip 0x80 on
the initial allocations.
Signed-off-by: James Cleverdon <jamesclv@us.ibm.com>
diff -pru 2.6.12.3/include/asm-i386/mach-default/irq_vectors.h z12.3/include/asm-i386/mach-default/irq_vectors.h
--- 2.6.12.3/include/asm-i386/mach-default/irq_vectors.h 2005-07-15 14:18:57.000000000 -0700
+++ z12.3/include/asm-i386/mach-default/irq_vectors.h 2005-08-14 15:35:46.000000000 -0700
@@ -31,10 +31,6 @@
#define SYSCALL_VECTOR 0x80
/*
- * Vectors 0x20-0x2f are used for ISA interrupts.
- */
-
-/*
* Special IRQ vectors used by the SMP architecture, 0xf0-0xff
*
* some of the following vectors are 'rare', they are merged
@@ -58,11 +54,11 @@
#define LOCAL_TIMER_VECTOR 0xef
/*
- * First APIC vector available to drivers: (vectors 0x30-0xee)
- * we start at 0x31 to spread out vectors evenly between priority
+ * First APIC vector available to drivers: (vectors 0x20-0xee)
+ * we start at 0x21 to spread out vectors evenly between priority
* levels. (0x80 is the syscall vector)
*/
-#define FIRST_DEVICE_VECTOR 0x31
+#define FIRST_DEVICE_VECTOR 0x21
#define FIRST_SYSTEM_VECTOR 0xef
#define TIMER_IRQ 0
diff -pru 2.6.12.3/include/asm-x86_64/hw_irq.h z12.3/include/asm-x86_64/hw_irq.h
--- 2.6.12.3/include/asm-x86_64/hw_irq.h 2005-07-15 14:18:57.000000000 -0700
+++ z12.3/include/asm-x86_64/hw_irq.h 2005-08-14 15:37:30.000000000 -0700
@@ -36,10 +36,6 @@ struct hw_interrupt_type;
/*
- * Vectors 0x20-0x2f are used for ISA interrupts.
- */
-
-/*
* Special IRQ vectors used by the SMP architecture, 0xf0-0xff
*
* some of the following vectors are 'rare', they are merged
@@ -67,11 +63,11 @@ struct hw_interrupt_type;
#define LOCAL_TIMER_VECTOR 0xef
/*
- * First APIC vector available to drivers: (vectors 0x30-0xee)
- * we start at 0x31 to spread out vectors evenly between priority
+ * First APIC vector available to drivers: (vectors 0x20-0xee)
+ * we start at 0x21 to spread out vectors evenly between priority
* levels. (0x80 is the syscall vector)
*/
-#define FIRST_DEVICE_VECTOR 0x31
+#define FIRST_DEVICE_VECTOR 0x21
#define FIRST_SYSTEM_VECTOR 0xef /* duplicated in irq.h */
--
James Cleverdon
IBM LTC (xSeries Linux Solutions)
{jamesclv(Unix, preferred), cleverdj(Notes)} at us dot ibm dot comm
next prev parent reply other threads:[~2005-08-15 3:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-26 7:12 [RFC][2.6.13-rc3-mm1] IRQ compression/sharing patch James Cleverdon
2005-07-26 16:03 ` Andi Kleen
2005-07-27 17:20 ` James Cleverdon
2005-08-04 7:05 ` [RFC][2.6.12.3] " James Cleverdon
2005-08-04 9:22 ` Andi Kleen
2005-08-15 2:57 ` James Cleverdon
2005-08-15 3:07 ` James Cleverdon [this message]
2005-08-15 5:55 ` Zwane Mwaikambo
2005-08-15 17:44 ` Andi Kleen
2005-08-16 3:24 ` James Cleverdon
2005-08-16 6:58 ` Andi Kleen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200508142007.03083.jamesclv@us.ibm.com \
--to=jamesclv@us.ibm.com \
--cc=Natalie.Protasevich@UNISYS.com \
--cc=ak@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=rweight@us.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.