broken msi interrupts with radeon rv570 on amd 8151 agp bridge

Daniel Vetter daniel at ffwll.ch
Thu Nov 5 04:57:10 PST 2009


Hi all,

I've tested to the the latest radoen kernel modesetting work, available as
the drm-next branch of

git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git

This reliably hangs my kde session about a minute after logging in.
Nothing in dmesg (I haven't yet checked the serial console). Bisecting
points at 

commit 3e5cb98dfe87cc61d0a1119dd8aa2b1e4cfab424
Author: Alex Deucher <alexdeucher at gmail.com>
Date:   Fri Oct 16 12:21:24 2009 -0400

    drm/radeon/kms: add support for msi

    Try to enable msi on chips that support it.

    Signed-off-by: Alex Deucher <alexdeucher at gmail.com>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

When starting a failsafe X session and starting glxgears (which should
cause plenty of interrupts to be generated), /proc/interrupts shows
absolutely no MSI interrupts arriving. There are no other devices in this
box using MSI interrupts.

I've also tried with the lastest -linus git tree merged in, with the same
effects.

Booting with "pci=nomsi" works around the issue. I dunno whether this is a
pci or radeon issue therefore I'm posting to both lists. lspci -v (as
root) is attached below.

Yours, Daniel


00:06.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8111 PCI (rev 07) (prog-if 00 [Normal decode])
	Flags: bus master, 66MHz, medium devsel, latency 64
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
	I/O behind bridge: 00008000-00008fff
	Memory behind bridge: ff100000-ff2fffff
	Capabilities: [c0] HyperTransport: Slave or Primary Interface
	Capabilities: [f0] HyperTransport: Interrupt Discovery and Configuration

00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-8111 LPC (rev 05)
	Subsystem: Advanced Micro Devices [AMD] AMD-8111 LPC
	Flags: bus master, 66MHz, medium devsel, latency 0

00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-8111 IDE (rev 03) (prog-if 8a [Master SecP PriP])
	Subsystem: Advanced Micro Devices [AMD] AMD-8111 IDE
	Flags: bus master, medium devsel, latency 32
	[virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
	[virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
	[virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
	[virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
	I/O ports at ffa0 [size=16]
	Kernel driver in use: pata_amd

00:07.2 SMBus: Advanced Micro Devices [AMD] AMD-8111 SMBus 2.0 (rev 02)
	Subsystem: Advanced Micro Devices [AMD] AMD-8111 SMBus 2.0
	Flags: medium devsel, IRQ 9
	I/O ports at 9480 [size=32]

00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-8111 ACPI (rev 05)
	Subsystem: Advanced Micro Devices [AMD] AMD-8111 ACPI
	Flags: medium devsel

00:07.5 Multimedia audio controller: Advanced Micro Devices [AMD] AMD-8111 AC97 Audio (rev 03)
	Subsystem: Tyan Computer Device 2885
	Flags: bus master, medium devsel, latency 64, IRQ 17
	I/O ports at 9800 [size=256]
	I/O ports at 9c00 [size=64]
	Kernel driver in use: Intel ICH

00:0a.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X Bridge (rev 12) (prog-if 00 [Normal decode])
	Flags: bus master, 66MHz, medium devsel, latency 64
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=64
	Memory behind bridge: ff300000-ff3fffff
	Prefetchable memory behind bridge: 000000009e900000-000000009e9fffff
	Capabilities: [a0] PCI-X bridge device
	Capabilities: [b8] HyperTransport: Interrupt Discovery and Configuration
	Capabilities: [c0] HyperTransport: Slave or Primary Interface

00:0a.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X IOAPIC (rev 01) (prog-if 10 [IO-APIC])
	Subsystem: Advanced Micro Devices [AMD] Device 36c0
	Flags: bus master, medium devsel, latency 0
	Memory at ff4ff000 (64-bit, non-prefetchable) [size=4K]

00:0b.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X Bridge (rev 12) (prog-if 00 [Normal decode])
	Flags: bus master, 66MHz, medium devsel, latency 64
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=64
	Capabilities: [a0] PCI-X bridge device
	Capabilities: [b8] HyperTransport: Interrupt Discovery and Configuration

00:0b.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X IOAPIC (rev 01) (prog-if 10 [IO-APIC])
	Subsystem: Advanced Micro Devices [AMD] Device 36c0
	Flags: bus master, medium devsel, latency 0
	Memory at ff4fe000 (64-bit, non-prefetchable) [size=4K]

00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
	Flags: fast devsel
	Capabilities: [80] HyperTransport: Host or Secondary Interface
	Capabilities: [a0] HyperTransport: Host or Secondary Interface
	Capabilities: [c0] HyperTransport: Host or Secondary Interface

00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
	Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
	Flags: fast devsel

00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
	Flags: fast devsel
	Kernel driver in use: k8temp

00:19.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
	Flags: fast devsel
	Capabilities: [80] HyperTransport: Host or Secondary Interface
	Capabilities: [a0] HyperTransport: Host or Secondary Interface
	Capabilities: [c0] HyperTransport: Host or Secondary Interface

00:19.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
	Flags: fast devsel

00:19.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
	Flags: fast devsel

00:19.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
	Flags: fast devsel
	Kernel driver in use: k8temp

01:00.0 USB Controller: Advanced Micro Devices [AMD] AMD-8111 USB (rev 0b) (prog-if 10 [OHCI])
	Subsystem: Advanced Micro Devices [AMD] AMD-8111 USB
	Flags: bus master, medium devsel, latency 64, IRQ 19
	Memory at ff2fd000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd

01:00.1 USB Controller: Advanced Micro Devices [AMD] AMD-8111 USB (rev 0b) (prog-if 10 [OHCI])
	Subsystem: Advanced Micro Devices [AMD] AMD-8111 USB
	Flags: bus master, medium devsel, latency 64, IRQ 19
	Memory at ff2fe000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd

01:0a.0 USB Controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI])
	Subsystem: NEC Corporation Hama USB 2.0 CardBus
	Flags: bus master, medium devsel, latency 64, IRQ 16
	Memory at ff2fb000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [40] Power Management version 2
	Kernel driver in use: ohci_hcd

01:0a.1 USB Controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI])
	Subsystem: NEC Corporation Hama USB 2.0 CardBus
	Flags: bus master, medium devsel, latency 64, IRQ 17
	Memory at ff2fc000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [40] Power Management version 2
	Kernel driver in use: ohci_hcd

01:0a.2 USB Controller: NEC Corporation USB 2.0 (rev 04) (prog-if 20 [EHCI])
	Subsystem: Device 0ee4:3383
	Flags: bus master, medium devsel, latency 64, IRQ 18
	Memory at ff2ff800 (32-bit, non-prefetchable) [size=256]
	Capabilities: [40] Power Management version 2
	Kernel driver in use: ehci_hcd

01:0b.0 Mass storage controller: Silicon Image, Inc. SiI 3114 [SATALink/SATARaid] Serial ATA Controller (rev 02)
	Subsystem: Silicon Image, Inc. SiI 3114 SATALink Controller
	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
	I/O ports at 8c00 [size=8]
	I/O ports at 8880 [size=4]
	I/O ports at 8800 [size=8]
	I/O ports at 8480 [size=4]
	I/O ports at 8400 [size=16]
	Memory at ff2ffc00 (32-bit, non-prefetchable) [size=1K]
	Expansion ROM at ff200000 [disabled] [size=512K]
	Capabilities: [60] Power Management version 2
	Kernel driver in use: sata_sil

01:0c.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link) (prog-if 10 [OHCI])
	Subsystem: Tyan Computer Device 2885
	Flags: bus master, medium devsel, latency 64, IRQ 19
	Memory at ff2ff000 (32-bit, non-prefetchable) [size=2K]
	Memory at ff2f4000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: [44] Power Management version 2
	Kernel driver in use: ohci1394

02:09.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5703X Gigabit Ethernet (rev 02)
	Subsystem: Tyan Computer Device 2885
	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 24
	Memory at ff3f0000 (64-bit, non-prefetchable) [size=64K]
	Expansion ROM at ff3e0000 [disabled] [size=64K]
	Capabilities: [40] PCI-X non-bridge device
	Capabilities: [48] Power Management version 2
	Capabilities: [50] Vital Product Data
	Capabilities: [58] MSI: Enable- Count=1/8 Maskable- 64bit+
	Kernel driver in use: tg3

04:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-8151 System Controller (rev 14)
	Subsystem: Advanced Micro Devices [AMD] AMD-8151 System Controller
	Flags: bus master, medium devsel, latency 0
	Memory at <ignored> (32-bit, prefetchable)
	Capabilities: [a0] AGP version 3.0
	Capabilities: [c0] HyperTransport: Slave or Primary Interface
	Kernel driver in use: agpgart-amd64

04:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8151 AGP Bridge (rev 14) (prog-if 00 [Normal decode])
	Flags: bus master, 66MHz, medium devsel, latency 64
	Bus: primary=04, secondary=05, subordinate=05, sec-latency=64
	I/O behind bridge: 0000a000-0000cfff
	Memory behind bridge: ff500000-ff5fffff
	Prefetchable memory behind bridge: 9eb00000-beafffff

05:00.0 VGA compatible controller: ATI Technologies Inc RV570 [Radeon X1950 Pro] (rev 9a) (prog-if 00 [VGA controller])
	Subsystem: PC Partner Limited Device e190
	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
	Memory at a0000000 (32-bit, prefetchable) [size=256M]
	I/O ports at c000 [size=256]
	Memory at ff5f0000 (32-bit, non-prefetchable) [size=64K]
	Expansion ROM at ff5c0000 [disabled] [size=128K]
	Capabilities: [50] Power Management version 2
	Capabilities: [58] AGP version 3.0
	Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit+
	Kernel driver in use: radeon

05:00.1 Display controller: ATI Technologies Inc RV570 [Radeon X1950 Pro] (secondary) (rev 9a)
	Subsystem: PC Partner Limited Device e191
	Flags: bus master, 66MHz, medium devsel, latency 64
	Memory at ff5e0000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: [50] Power Management version 2


-- 
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48


More information about the xorg-driver-ati mailing list