From: Chuck Ebbert <76306.1226@compuserve.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: [PATCH] 2.5.68 Fix IO_APIC IRQ assignment bug
Date: Sun, 20 Apr 2003 18:06:51 -0400 [thread overview]
Message-ID: <200304201811_MC3-1-3537-1648@compuserve.com> (raw)
Looks like the fix for the "ran out of interrupt sources" panic
has a problem. It will eventually assign a device the same IRQ
number as the first system vector, i.e. the local APIC timer.
I think this will fix it:
--- a/arch/i386/kernel/io_apic.c
+++ b/arch/i386/kernel/io_apic.c
@ -1117,7 +1117,7 @
if (current_vector == SYSCALL_VECTOR)
goto next;
- if (current_vector > FIRST_SYSTEM_VECTOR) {
+ if (current_vector >= FIRST_SYSTEM_VECTOR) {
offset = (offset + 1) & 7;
current_vector = FIRST_DEVICE_VECTOR + offset;
}
I found this while trying to forward-port my .66 patch to make
the redirect table look like this:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 001 01 0 0 0 0 0 1 1 E7 <== timer at level E
01 001 01 0 0 0 0 0 1 1 30 <== start at 30, not 31
02 000 00 1 0 0 0 0 0 0 00
03 001 01 0 0 0 0 0 1 1 38
04 001 01 0 0 0 0 0 1 1 40
05 001 01 0 0 0 0 0 1 1 48
06 001 01 0 0 0 0 0 1 1 50
07 001 01 0 0 0 0 0 1 1 58
08 001 01 0 0 0 0 0 1 1 60
09 001 01 0 0 0 0 0 1 1 68
0a 001 01 0 0 0 0 0 1 1 70
0b 001 01 0 0 0 0 0 1 1 78
0c 001 01 0 0 0 0 0 1 1 88 <== only one device at 8
0d 001 01 0 0 0 0 0 1 1 90
0e 001 01 0 0 0 0 0 1 1 98
0f 000 00 1 0 0 0 0 0 0 00
10 001 01 1 1 0 1 0 1 1 A0
11 001 01 1 1 0 1 0 1 1 A8
12 001 01 1 1 0 1 0 1 1 B0
13 001 01 1 1 0 1 0 1 1 B8
14 001 01 0 0 0 0 0 1 1 C0
15 000 00 1 0 0 0 0 0 0 00
16 000 00 1 0 0 0 0 0 0 00
17 000 00 1 0 0 0 0 0 0 00
------
Chuck
next reply other threads:[~2003-04-20 21:59 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-20 22:06 Chuck Ebbert [this message]
2003-04-20 22:58 ` Linus Torvalds
2003-04-20 23:05 ` Zwane Mwaikambo
2003-04-20 23:06 ` Linus Torvalds
2003-04-21 7:48 Chuck Ebbert
2003-04-21 15:16 ` Zwane Mwaikambo
2003-04-21 16:04 ` Mika Penttilä
2003-04-21 17:22 ` Zwane Mwaikambo
2003-04-21 17:55 ` Mika Penttilä
2003-04-22 14:59 ` Maciej W. Rozycki
2003-04-21 16:34 Nakajima, Jun
2003-04-21 17:12 ` Zwane Mwaikambo
2003-04-21 18:24 Nakajima, Jun
2003-04-21 21:48 Chuck Ebbert
2003-04-22 15:02 ` Maciej W. Rozycki
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=200304201811_MC3-1-3537-1648@compuserve.com \
--to=76306.1226@compuserve.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®