Enabling MSI on the Asus Vintage AH-1

From: Bruce M. Simpson <bms_at_FreeBSD.org>
Date: Sat, 23 Dec 2006 21:54:58 +0000
Hi,

It looks like MSI was detected, but not used by the msk(4) driver on the 
Asus Vintage AH-1.

This is a uniprocessor Athlon64 system. The PCI bridges on this system 
aren't in the MSI blacklist, however, there are several odd messages 
regarding a non-default MSI window. Looking at the code suggests it 
expects to see the MSI window at 0xfee00000.

BTW: This system's on-board SATA controller stopped working with 6.2-RC, 
so I'm using an add-on PCI-e card for SATA to connect the root disk.

pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: physical bus=0
found-> vendor=0x1002, dev=0x5950, revid=0x10
        bus=0, slot=0, func=0
        class=06-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0006, statreg=0x2220, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
pcib0: HT Bridge at 0:1:0 has non-default MSI window 0x0
found-> vendor=0x1002, dev=0x5a3f, revid=0x00
        bus=0, slot=1, func=0
        class=06-04-00, hdrtype=0x01, mfdev=0
        cmdreg=0x0107, statreg=0x0230, cachelnsz=0 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x0a (2500 ns), maxlat=0x00 (0 ns)
pcib0: HT Bridge at 0:6:0 has non-default MSI window 0x0
found-> vendor=0x1002, dev=0x5a38, revid=0x00
        bus=0, slot=6, func=0
        class=06-04-00, hdrtype=0x01, mfdev=0
        cmdreg=0x0107, statreg=0x0010, cachelnsz=16 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x07 (1750 ns), maxlat=0x00 (0 ns)
        powerspec 3  supports D0 D3  current D0
        MSI supports 1 message
pcib0: HT Bridge at 0:7:0 has non-default MSI window 0x0
found-> vendor=0x1002, dev=0x5a39, revid=0x00
        bus=0, slot=7, func=0
        class=06-04-00, hdrtype=0x01, mfdev=0
        cmdreg=0x0107, statreg=0x0010, cachelnsz=16 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x07 (1750 ns), maxlat=0x00 (0 ns)
        powerspec 3  supports D0 D3  current D0
        MSI supports 1 message
found-> vendor=0x1022, dev=0x1100, revid=0x00
        bus=0, slot=24, func=0
        class=06-00-00, hdrtype=0x00, mfdev=1
        cmdreg=0x0000, statreg=0x0010, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1022, dev=0x1101, revid=0x00
        bus=0, slot=24, func=1
        class=06-00-00, hdrtype=0x00, mfdev=1
        cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1022, dev=0x1102, revid=0x00
        bus=0, slot=24, func=2
        class=06-00-00, hdrtype=0x00, mfdev=1
        cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1022, dev=0x1103, revid=0x00
        bus=0, slot=24, func=3
        class=06-00-00, hdrtype=0x00, mfdev=1
        cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
pcib0: HT Bridge at 0:25:0 has non-default MSI window 0x0
found-> vendor=0x10b9, dev=0x5249, revid=0x00
        bus=0, slot=25, func=0
        class=06-04-00, hdrtype=0x01, mfdev=0
        cmdreg=0x0107, statreg=0x6010, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x07 (1750 ns), maxlat=0x00 (0 ns)
found-> vendor=0x10b9, dev=0x5237, revid=0x03
        bus=0, slot=28, func=0
        class=0c-03-10, hdrtype=0x00, mfdev=1
        cmdreg=0x0117, statreg=0x02a8, cachelnsz=16 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x50 (20000 ns)
        intpin=a, irq=11
        map[10]: type 1, range 32, base 0xfebfc000, size 12, enabled
pcib0: matched entry for 0.28.INTA
pcib0: slot 28 INTA hardwired to IRQ 17
found-> vendor=0x10b9, dev=0x5237, revid=0x03
        bus=0, slot=28, func=1
        class=0c-03-10, hdrtype=0x00, mfdev=1
        cmdreg=0x0117, statreg=0x02a8, cachelnsz=16 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x50 (20000 ns)
        intpin=b, irq=5
        map[10]: type 1, range 32, base 0xfebfd000, size 12, enabled
pcib0: matched entry for 0.28.INTB
pcib0: slot 28 INTB hardwired to IRQ 18
found-> vendor=0x10b9, dev=0x5237, revid=0x03
        bus=0, slot=28, func=2
        class=0c-03-10, hdrtype=0x00, mfdev=1
        cmdreg=0x0117, statreg=0x02a8, cachelnsz=16 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x50 (20000 ns)
        intpin=c, irq=3
        map[10]: type 1, range 32, base 0xfebfe000, size 12, enabled
pcib0: matched entry for 0.28.INTC
pcib0: slot 28 INTC hardwired to IRQ 19
found-> vendor=0x10b9, dev=0x5239, revid=0x01
        bus=0, slot=28, func=3
        class=0c-03-20, hdrtype=0x00, mfdev=1
        cmdreg=0x0116, statreg=0x02b0, cachelnsz=16 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x10 (4000 ns), maxlat=0x20 
(8000 ns)
        intpin=d, irq=5
        powerspec 2  supports D0 D3  current D0
        map[10]: type 1, range 32, base 0xfebffc00, size  8, enabled
pcib0: matched entry for 0.28.INTD
pcib0: slot 28 INTD hardwired to IRQ 23
found-> vendor=0x10b9, dev=0x5461, revid=0x00
        bus=0, slot=29, func=0
        class=04-03-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0106, statreg=0x0210, cachelnsz=0 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x10 (4000 ns), maxlat=0x50 
(20000 ns)
        intpin=c, irq=5
        powerspec 2  supports D0 D3  current D0
        map[10]: type 1, range 64, base 0xfebf8000, size 14, enabled
pcib0: matched entry for 0.29.INTC
pcib0: slot 29 INTC hardwired to IRQ 22
found-> vendor=0x10b9, dev=0x1573, revid=0x31
        bus=0, slot=30, func=0
        class=06-01-00, hdrtype=0x00, mfdev=1
        cmdreg=0x000f, statreg=0x0200, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x01 (250 ns), maxlat=0x18 (6000 ns)
found-> vendor=0x10b9, dev=0x7101, revid=0x00
        bus=0, slot=30, func=1
        class=06-80-00, hdrtype=0x00, mfdev=1
        cmdreg=0x0000, statreg=0x0200, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x10b9, dev=0x5229, revid=0xc7
        bus=0, slot=31, func=0
        class=01-01-8a, hdrtype=0x00, mfdev=0
        cmdreg=0x0005, statreg=0x02b0, cachelnsz=0 (dwords)
        lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        intpin=a, irq=255
        powerspec 2  supports D0 D3  current D0
        map[20]: type 4, range 32, base 0xff00, size  4, enabled
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pcib1:   secondary bus     1
pcib1:   subordinate bus   1
pcib1:   I/O decode        0xb000-0xbfff
pcib1:   memory decode     0xfdb00000-0xfe3fffff
pcib1:   prefetched decode 0xf5a00000-0xfd9fffff
pci1: <ACPI PCI bus> on pcib1
pci1: physical bus=1
found-> vendor=0x1002, dev=0x5974, revid=0x00
        bus=1, slot=5, func=0
        class=03-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0107, statreg=0x02b0, cachelnsz=16 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns)
        intpin=a, irq=11
        powerspec 2  supports D0 D1 D2 D3  current D0
        map[10]: type 3, range 32, base 0xf8000000, size 26, enabled
pcib1: requested memory range 0xf8000000-0xfbffffff: good
        map[14]: type 4, range 32, base 0xb800, size  8, enabled
pcib1: requested I/O range 0xb800-0xb8ff: in range
        map[18]: type 1, range 32, base 0xfe000000, size 16, enabled
pcib1: requested memory range 0xfe000000-0xfe00ffff: good
pcib1: matched entry for 1.5.INTA
pcib1: slot 5 INTA hardwired to IRQ 17
vgapci0: <VGA-compatible display> port 0xb800-0xb8ff mem 
0xf8000000-0xfbffffff,0xfe000000-0xfe00ffff irq 17 at device 5.0 on pci1
pcib2: <ACPI PCI-PCI bridge> at device 6.0 on pci0
pcib2:   secondary bus     2
pcib2:   subordinate bus   2
pcib2:   I/O decode        0xc000-0xcfff
pcib2:   memory decode     0xfe400000-0xfe4fffff
pcib2:   no prefetched decode
pci2: <ACPI PCI bus> on pcib2
pci2: physical bus=2
found-> vendor=0x11ab, dev=0x4362, revid=0x19
        bus=2, slot=0, func=0
        class=02-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0107, statreg=0x4010, cachelnsz=16 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        intpin=a, irq=5
        powerspec 2  supports D0 D1 D2 D3  current D0
        VPD Ident: Marvell Yukon 88E8053 Gigabit Ethernet Controller
        PN: Yukon 88E8053
        EC: Rev. 1.9
        MN: Marvell
        SN: AbCdEfG32a88a
        CP: id 1, BAR16, off 0x3cc
        RV: 0x24
        MSI supports 2 messages, 64 bit
        map[10]: type 1, range 64, base 0xfe4fc000, size 14, enabled
pcib2: requested memory range 0xfe4fc000-0xfe4fffff: good
        map[18]: type 4, range 32, base 0xc800, size  8, enabled
pcib2: requested I/O range 0xc800-0xc8ff: in range
pcib2: matched entry for 2.0.INTA
pcib2: slot 0 INTA hardwired to IRQ 18
mskc0: <Marvell Yukon 88E8053 Gigabit Ethernet> port 0xc800-0xc8ff mem 
0xfe4fc000-0xfe4fffff irq 18 at device 0.0 on pci2
mskc0: MSI count : 2
mskc0: Reserved 0x4000 bytes for rid 0x10 type 3 at 0xfe4fc000
mskc0: RAM buffer size : 48KB
mskc0: Port 0 : Rx Queue 32KB(0x00000000:0x00007fff)
mskc0: Port 0 : Tx Queue 16KB(0x00008000:0x0000bfff)
msk0: <Marvell Technology Group Ltd. Yukon EC Id 0xb6 Rev 0x02> on mskc0
msk0: bpf attached
msk0: Ethernet address: 00:15:f2:32:a8:8a
miibus0: <MII bus> on msk0
e1000phy0: <Marvell 88E1111 Gigabit PHY> on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 
1000baseTX-FDX, auto
ioapic0: routing intpin 18 (PCI IRQ 18) to vector 49
mskc0: [MPSAFE]
mskc0: [FAST]

Any ideas?

Regards,
BMS
Received on Sat Dec 23 2006 - 21:18:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:04 UTC