Unexpected IO-APIC

David Brownell
2002-08-24T12:21:08Z

This kernel is 2.5.31-bk6. The motherboard is a VIA VT8017B, with an
Athlon XP, KT333 and VT8235 (with USB 2.0). I append what seem to be
the relevant parts of dmesg output; your list archives don't seem list
version=3 yet.

It seems to behave with a non-SMP kernel, but an earlier SMP config didn't
handle any of the USB IRQs right; they seem to have been routed wrong
(to irq5+irq11, not irq19+irq21). I've not explored the MPS=1.1 option;
or maybe the clue is that the BIOS says it's a not-for-sale demo. :)

Speaking of non-working SMP, I was surprised to see this kernel mark
itself as SMP tainted just because its single CPU doesn't have the 'mp'
cpu flag. It's a uniprocessor; that can't matter. I just want spinlock
bugs to get reported.

- Dave

ENABLING IO-APIC IRQs
Setting 2 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 2 ... ok.
init IO_APIC IRQs
IO-APIC (apicid-pin) 2-0, 2-5, 2-16, 2-17, 2-20, 2-23 not connected.
..TIMER: vector=0x31 pin1=2 pin2=0
number of MP IRQ sources: 23.
number of IO-APIC #2 registers: 24.
testing the IO APIC.......................

IO APIC #2......
.... register #00: 02000000
....... : physical APIC id: 02
.... register #01: 00178003
....... : max redirection entries: 0017
....... : PRQ implemented: 1
....... : IO APIC version: 0003
WARNING: unexpected IO-APIC, please mail
to linux-smp@vger.kernel.org
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 001 01 0 0 0 0 0 1 1 39
02 001 01 0 0 0 0 0 1 1 31
03 001 01 0 0 0 0 0 1 1 41
04 001 01 0 0 0 0 0 1 1 49
05 000 00 1 0 0 0 0 0 0 00
06 001 01 0 0 0 0 0 1 1 51
07 001 01 0 0 0 0 0 1 1 59
08 001 01 0 0 0 0 0 1 1 61
09 001 01 0 0 0 0 0 1 1 69
0a 001 01 0 0 0 0 0 1 1 71
0b 001 01 1 1 0 1 0 1 1 79
0c 001 01 0 0 0 0 0 1 1 81
0d 001 01 0 0 0 0 0 1 1 89
0e 001 01 0 0 0 0 0 1 1 91
0f 001 01 0 0 0 0 0 1 1 99
10 000 00 1 0 0 0 0 0 0 00
11 000 00 1 0 0 0 0 0 0 00
12 001 01 1 1 0 1 0 1 1 A1
13 001 01 1 1 0 1 0 1 1 A9
14 000 00 1 0 0 0 0 0 0 00
15 001 01 1 1 0 1 0 1 1 B1
16 001 01 1 1 0 1 0 1 1 B9
17 000 00 1 0 0 0 0 0 0 00
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ10 -> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
IRQ18 -> 0:18
IRQ19 -> 0:19
IRQ21 -> 0:21
IRQ22 -> 0:22
.................................... done.
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 1532.0300 MHz.
..... host bus clock speed is 266.0487 MHz.
cpu: 0, clocks: 266487, slice: 133243
CPU0<T0:266480,T1:133232,D:5,S:133243,C:266487>