From: Bjorn Helgaas <bjorn.helgaas@hp.com>
To: Paul Mackerras <paulus@samba.org>
Cc: Jesse Barnes <jbarnes@engr.sgi.com>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
werner@sgi.com, Linus Torvalds <torvalds@osdl.org>,
davej@redhat.com,
Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: Re: AGP bogosities
Date: Fri, 11 Mar 2005 16:22:55 -0700 [thread overview]
Message-ID: <1110583375.4822.88.camel@eeyore> (raw)
In-Reply-To: <16946.7941.404582.764637@cargo.ozlabs.ibm.com>
On Sat, 2005-03-12 at 09:43 +1100, Paul Mackerras wrote:
> On PPC/PPC64 machines, the host bridges generally do not appear as PCI
> devices either. *However*, the AGP spec requires a set of registers
> in PCI config space for controlling the target (host) side of the AGP
> bus. In other words you are required to have a PCI device to
> represent the host side of the AGP bus, with a capability structure in
> its config space which contains the standard AGP registers.
I still don't quite understand this. If the host bridge is not a
PCI device, what PCI device contains the AGP capability that controls
the host bridge? I assume you're saying that you are required to
have TWO PCI devices that have the AGP capability, one for the AGP
device and one for the bridge.
HP boxes certainly don't have that (zx6000 sample below). I guess
it wouldn't be the first time we deviated from a spec ;-)
Can you point me to the relevant section?
0000:00:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE] (prog-if 00 [VGA])
Subsystem: ATI Technologies Inc: Unknown device 010a
Flags: bus master, stepping, 66MHz, medium devsel, latency 192, IRQ 255
Memory at 0000000080000000 (32-bit, prefetchable) [size=128M]
I/O ports at 0d00 [size=256]
Memory at 0000000088020000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at 0000000088000000 [disabled] [size=128K]
Capabilities: [58] AGP version 2.0
Capabilities: [50] Power Management version 2
0000:80:03.0 PCI bridge: Intel Corp. 21154 PCI-to-PCI Bridge (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, medium devsel, latency 128
Bus: primary=80, secondary=81, subordinate=81, sec-latency=128
I/O behind bridge: 00004000-00004fff
Memory behind bridge: a0000000-a40fffff
Capabilities: [dc] Power Management version 1
0000:81:04.0 USB Controller: NEC Corporation USB (rev 41) (prog-if 10 [OHCI])
Subsystem: Hewlett-Packard Company: Unknown device 1293
Flags: bus master, medium devsel, latency 128
Memory at 00000000a4032000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2
0000:81:04.1 USB Controller: NEC Corporation USB (rev 41) (prog-if 10 [OHCI])
Subsystem: Hewlett-Packard Company: Unknown device aa55
Flags: bus master, medium devsel, latency 128
Memory at 00000000a4031000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2
0000:81:04.2 USB Controller: NEC Corporation USB 2.0 (rev 02) (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company: Unknown device aa55
Flags: bus master, medium devsel, latency 128
Memory at 00000000a4030000 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Power Management version 2
0000:81:05.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE] (prog-if 00 [VGA])
Subsystem: Hewlett-Packard Company: Unknown device 1292
Flags: bus master, stepping, medium devsel, latency 128, IRQ 255
Memory at 00000000a0000000 (32-bit, prefetchable) [size=64M]
I/O ports at 4000 [disabled] [size=256]
Memory at 00000000a4020000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at 00000000a4000000 [disabled] [size=128K]
Capabilities: [50] Power Management version 2
0000:a0:01.0 USB Controller: NEC Corporation USB (rev 41) (prog-if 10 [OHCI])
Subsystem: NEC Corporation USB
Flags: bus master, medium devsel, latency 128
Memory at 00000000d0022000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2
0000:a0:01.1 USB Controller: NEC Corporation USB (rev 41) (prog-if 10 [OHCI])
Subsystem: NEC Corporation USB
Flags: bus master, medium devsel, latency 128
Memory at 00000000d0021000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2
0000:a0:01.2 USB Controller: NEC Corporation USB 2.0 (rev 02) (prog-if 20 [EHCI])
Subsystem: NEC Corporation USB 2.0
Flags: bus master, medium devsel, latency 128
Memory at 00000000d0020000 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Power Management version 2
0000:a0:02.0 IDE interface: Silicon Image, Inc. (formerly CMD Technology Inc) PCI0649 (rev 02) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Silicon Image, Inc. (formerly CMD Technology Inc) PCI0649
Flags: bus master, medium devsel, latency 64, IRQ 52
I/O ports at a0e8 [size=8]
I/O ports at a0f4 [size=4]
I/O ports at a0e0 [size=8]
I/O ports at a0f0 [size=4]
I/O ports at a0d0 [size=16]
Capabilities: [60] Power Management version 2
0000:a0:03.0 Ethernet controller: Intel Corp. 82540EM Gigabit Ethernet Controller (rev 02)
Subsystem: Hewlett-Packard Company: Unknown device 1274
Flags: bus master, 66MHz, medium devsel, latency 128, IRQ 51
Memory at 00000000d0000000 (32-bit, non-prefetchable) [size=128K]
I/O ports at a080 [size=64]
Capabilities: [dc] Power Management version 2
Capabilities: [e4] PCI-X non-bridge device.
Capabilities: [f0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
0000:a0:04.0 Multimedia audio controller: Fortemedia, Inc Xwave QS3000A [FM801] (rev b2)
Subsystem: Fortemedia, Inc: Unknown device 1319
Flags: bus master, medium devsel, latency 128
I/O ports at a000 [size=128]
Capabilities: [dc] Power Management version 1
0000:a0:04.1 Input device controller: Fortemedia, Inc Xwave QS3000A [FM801 game port] (rev b2)
Subsystem: Fortemedia, Inc: Unknown device 1319
Flags: bus master, medium devsel, latency 128
I/O ports at a0c0 [size=16]
Capabilities: [dc] Power Management version 1
0000:c0:01.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1010 66MHz Ultra3 SCSI Adapter (rev 01)
Subsystem: Hewlett-Packard Company: Unknown device 1330
Flags: bus master, 66MHz, medium devsel, latency 192, IRQ 53
I/O ports at c000 [size=256]
Memory at 00000000e0022000 (64-bit, non-prefetchable) [size=1K]
Memory at 00000000e0020000 (64-bit, non-prefetchable) [size=8K]
Expansion ROM at 00000000e0000000 [disabled] [size=128K]
Capabilities: [40] Power Management version 2
next prev parent reply other threads:[~2005-03-11 23:26 UTC|newest]
Thread overview: 81+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-11 1:24 AGP bogosities Paul Mackerras
2005-03-11 2:04 ` Jesse Barnes
2005-03-11 2:11 ` Paul Mackerras
2005-03-11 2:18 ` Jesse Barnes
2005-03-11 2:38 ` Benjamin Herrenschmidt
2005-03-11 4:02 ` Jesse Barnes
2005-03-11 4:30 ` Benjamin Herrenschmidt
2005-03-11 16:39 ` Jesse Barnes
2005-03-11 17:59 ` Bjorn Helgaas
2005-03-11 18:04 ` Jesse Barnes
2005-03-12 3:27 ` Mike Werner
2005-03-12 3:58 ` Dave Jones
2005-03-13 3:13 ` Jesse Barnes
2005-03-13 4:08 ` Dave Jones
2005-03-13 4:28 ` Dave Jones
2005-03-11 22:43 ` Paul Mackerras
2005-03-11 23:22 ` Bjorn Helgaas [this message]
2005-03-12 0:12 ` Benjamin Herrenschmidt
2005-03-12 1:34 ` Paul Mackerras
2005-03-11 18:04 ` James Simmons
2005-03-11 18:08 ` Jesse Barnes
2005-03-11 2:04 ` Linus Torvalds
2005-03-11 2:12 ` Dave Jones
2005-03-11 2:18 ` Paul Mackerras
2005-03-11 2:23 ` Dave Jones
2005-03-11 2:40 ` Benjamin Herrenschmidt
2005-03-11 2:49 ` Dave Jones
2005-03-12 20:49 ` Greg KH
2005-03-11 2:42 ` Linus Torvalds
2005-03-11 22:18 ` OGAWA Hirofumi
2005-03-11 22:26 ` Dave Jones
2005-03-11 22:33 ` Chris Wedgwood
2005-03-11 23:52 ` Gene Heskett
2005-03-11 22:44 ` Linus Torvalds
2005-03-11 23:09 ` Paul Mackerras
2005-03-12 0:06 ` Gene Heskett
2005-03-14 8:17 ` Pavel Machek
2005-03-14 8:27 ` David Lang
2005-03-14 8:37 ` dmesg verbosity [was Re: AGP bogosities] Pavel Machek
2005-03-14 16:55 ` Jesse Barnes
2005-03-14 17:03 ` Pavel Machek
2005-03-14 17:17 ` Dave Jones
2005-03-14 17:18 ` Linus Torvalds
2005-03-14 17:27 ` Jesse Barnes
2005-03-14 17:27 ` Pavel Machek
2005-03-15 20:18 ` Greg Stark
2005-03-14 18:12 ` Diego Calleja
2005-03-14 19:07 ` Lee Revell
2005-03-20 6:44 ` David Lang
2005-03-23 0:37 ` Diego Calleja
2005-03-23 0:53 ` Lee Revell
2005-03-23 1:13 ` Dave Jones
2005-03-23 1:29 ` Andrew Morton
2005-03-23 8:21 ` Giuseppe Bilotta
2005-03-23 16:14 ` Dave Jones
2005-03-23 16:49 ` Giuseppe Bilotta
2005-03-23 17:17 ` Dave Jones
2005-03-23 14:10 ` Diego Calleja
2005-03-23 8:19 ` Giuseppe Bilotta
2005-03-30 9:45 ` Pavel Machek
2005-03-23 0:53 ` Zan Lynx
2005-03-23 0:55 ` Grant Coady
2005-03-14 21:55 ` Benjamin Herrenschmidt
2005-03-14 22:08 ` David Lang
2005-03-15 0:02 ` Pavel Machek
2005-03-11 22:42 ` AGP bogosities Dmitry Torokhov
2005-03-11 22:47 ` Dmitry Torokhov
2005-03-12 17:09 ` Linus Torvalds
2005-03-12 22:26 ` OGAWA Hirofumi
2005-03-12 22:34 ` Linus Torvalds
2005-03-11 2:35 ` Benjamin Herrenschmidt
2005-03-11 2:43 ` Dave Jones
2005-03-11 2:37 ` Linus Torvalds
2005-03-11 22:11 ` J.A. Magallon
2005-03-11 22:18 ` Dave Jones
2005-03-11 22:46 ` J.A. Magallon
2005-03-11 23:16 ` Martin Schlemmer
2005-03-11 23:17 ` J.A. Magallon
2005-03-11 23:23 ` Martin Schlemmer
2005-03-11 23:24 ` J.A. Magallon
-- strict thread matches above, loose matches on Subject: below --
2005-03-12 4:33 Ken Ryan
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=1110583375.4822.88.camel@eeyore \
--to=bjorn.helgaas@hp.com \
--cc=benh@kernel.crashing.org \
--cc=davej@redhat.com \
--cc=jbarnes@engr.sgi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=paulus@samba.org \
--cc=torvalds@osdl.org \
--cc=werner@sgi.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox