linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* PCI Buses
@ 2000-08-15 18:46 tom_gall
  2000-08-15 19:14 ` Ani Joshi
  2000-08-15 19:39 ` Michel Lanners
  0 siblings, 2 replies; 10+ messages in thread
From: tom_gall @ 2000-08-15 18:46 UTC (permalink / raw)
  To: linuxppc-dev


Hi *,

  Just a stupid question here for those of you that have Mac hardware. Of all
the Mac hardware in existance right now, all Macs have at most one PCI bus
right?

  Thanks for any info!

  Regards,

  Tom

--
Tom Gall - PowerPC Linux Team    "Where's the ka-boom? There was
Linux Technology Center           supposed to be an earth
(w) tom_gall@vnet.ibm.com         shattering ka-boom!"
(w) 507-253-4558                 -- Marvin Martian
(h) tgall@uswest.net
http://oss.software.ibm.com/developerworks/opensource/linux

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: PCI Buses
@ 2000-08-15 18:52 jlquinn
  2000-08-15 19:13 ` David Riley
  0 siblings, 1 reply; 10+ messages in thread
From: jlquinn @ 2000-08-15 18:52 UTC (permalink / raw)
  To: tom_gall; +Cc: linuxppc-dev


I thought the 9500/9600 had two PCI buses with 3 slots each?

Jerry Quinn


tom_gall@vnet.ibm.com@lists.linuxppc.org on 08/15/2000 02:46:15 PM
Hi *,

  Just a stupid question here for those of you that have Mac hardware. Of
all
the Mac hardware in existance right now, all Macs have at most one PCI bus
right?

  Thanks for any info!

  Regards,

  Tom


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: PCI Buses
  2000-08-15 18:52 PCI Buses jlquinn
@ 2000-08-15 19:13 ` David Riley
  2000-08-16  8:51   ` Gabriel Paubert
  0 siblings, 1 reply; 10+ messages in thread
From: David Riley @ 2000-08-15 19:13 UTC (permalink / raw)
  To: jlquinn; +Cc: tom_gall, linuxppc-dev


jlquinn@us.ibm.com wrote:

> I thought the 9500/9600 had two PCI buses with 3 slots each?
>
> Jerry Quinn
>

Well, the 9500/9600 have 6 PCI slots, though it's anyone's guess as to how
many are on each bus.  However, the Blue G3's and all G4's as well as the
iBook and any other computer with AGP (including the "fake AGP" fast PCI slot
on the blue G3's) have two PCI busses, since AGP is only a fast PCI bus (with
a few enhancements, but as far as Linux is concerned, it's PCI).  AGP slots
will run compatible PCI cards at 66MHz (though there are certain keys which
prevent insertion unless the card is compatible).  A notable example is
3Dfx's Voodoo2 1000 card (and several other brands) which allow a 66 MHz bus.

On a side note, does anyone know if Linux properly supports the 64-bit PCI
slots in the Blue G3's and G4's?  The only cards I know of that use them are
several SCSI cards and TotalImpact cards.

Thanks,
    David


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: PCI Buses
  2000-08-15 18:46 tom_gall
@ 2000-08-15 19:14 ` Ani Joshi
  2000-08-15 19:39 ` Michel Lanners
  1 sibling, 0 replies; 10+ messages in thread
From: Ani Joshi @ 2000-08-15 19:14 UTC (permalink / raw)
  To: tom_gall; +Cc: linuxppc-dev


Most Macs have 1 bus (almost all from the OldWorld series), but some 9x00
have 2 busses.  Also recent Apple G4's have 3.


ani




On Tue, 15 Aug 2000 tom_gall@vnet.ibm.com wrote:

>
> Hi *,
>
>   Just a stupid question here for those of you that have Mac hardware. Of all
> the Mac hardware in existance right now, all Macs have at most one PCI bus
> right?
>
>   Thanks for any info!
>
>   Regards,
>
>   Tom
>
> --
> Tom Gall - PowerPC Linux Team    "Where's the ka-boom? There was
> Linux Technology Center           supposed to be an earth
> (w) tom_gall@vnet.ibm.com         shattering ka-boom!"
> (w) 507-253-4558                 -- Marvin Martian
> (h) tgall@uswest.net
> http://oss.software.ibm.com/developerworks/opensource/linux
>
>


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: PCI Buses
  2000-08-15 18:46 tom_gall
  2000-08-15 19:14 ` Ani Joshi
@ 2000-08-15 19:39 ` Michel Lanners
  2000-08-15 23:16   ` tom_gall
  1 sibling, 1 reply; 10+ messages in thread
From: Michel Lanners @ 2000-08-15 19:39 UTC (permalink / raw)
  To: tom_gall; +Cc: linuxppc-dev


Hi Tom,

On  15 Aug, this message from tom_gall@vnet.ibm.com echoed through cyberspace:
>   Just a stupid question here for those of you that have Mac hardware. Of all
> the Mac hardware in existance right now, all Macs have at most one PCI bus
> right?

Wrong :-)

As has been said before, the 9x00 have two PCI busses on two identical
bandit host bridges.

Also, the 73/75/76/85/8600 have an additional bus called VCI by Apple,
for accessing video in/out hardware, that behaves exactly like a PCI
bus.

Then, there are newer Macs, with those based on UniNorth having three
PCI buses (AGP counted in).

Michel

-------------------------------------------------------------------------
Michel Lanners                 |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes            |    Ask Questions.  Make Mistakes.
L-1710 Luxembourg              |
email   mlan@cpu.lu            |
http://www.cpu.lu/~mlan        |                     Learn Always. "


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: PCI Buses
  2000-08-15 19:39 ` Michel Lanners
@ 2000-08-15 23:16   ` tom_gall
  2000-08-16  0:19     ` David Riley
  2000-08-17 20:37     ` Matt Porter
  0 siblings, 2 replies; 10+ messages in thread
From: tom_gall @ 2000-08-15 23:16 UTC (permalink / raw)
  To: mlan; +Cc: linuxppc-dev


Michel Lanners wrote:
>
> Hi Tom,
>
> On  15 Aug, this message from tom_gall@vnet.ibm.com echoed through cyberspace:
> >   Just a stupid question here for those of you that have Mac hardware. Of all
> > the Mac hardware in existance right now, all Macs have at most one PCI bus
> > right?

Hi All,

  I thank you much for the information. It took me a little bit but as I've been
looking at the PCI code I ran across the pmac PCI implementation which
definately has support for more than one PCI bus.

  Where I'm coming from is getting the same thing working on IBM PowerPC
hardware for multiple pythons... fun fun fun...

  Thanks again!


> Wrong :-)
>
> As has been said before, the 9x00 have two PCI busses on two identical
> bandit host bridges.
>
> Also, the 73/75/76/85/8600 have an additional bus called VCI by Apple,
> for accessing video in/out hardware, that behaves exactly like a PCI
> bus.
>
> Then, there are newer Macs, with those based on UniNorth having three
> PCI buses (AGP counted in).

It's definately interesting to hear that AGP is really just another PCI... or at
least treated that way. Being PCI/AGP stupid I appreciate the info... if it's
just another "PCI" of sorts, doesn't that have performance implications or is
that addressed really by the hardware implementation as apposed to the Linux
side of things?

Regards,

--
Tom Gall - PowerPC Linux Team    "Where's the ka-boom? There was
Linux Technology Center           supposed to be an earth
(w) tom_gall@vnet.ibm.com         shattering ka-boom!"
(w) 507-253-4558                 -- Marvin Martian
(h) tgall@uswest.net
http://oss.software.ibm.com/developerworks/opensource/linux

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: PCI Buses
  2000-08-15 23:16   ` tom_gall
@ 2000-08-16  0:19     ` David Riley
  2000-08-16 14:45       ` Geert Uytterhoeven
  2000-08-17 20:37     ` Matt Porter
  1 sibling, 1 reply; 10+ messages in thread
From: David Riley @ 2000-08-16  0:19 UTC (permalink / raw)
  To: tom_gall; +Cc: linuxppc-dev


tom_gall@vnet.ibm.com wrote:

> It's definately interesting to hear that AGP is really just another PCI... or at
> least treated that way. Being PCI/AGP stupid I appreciate the info... if it's
> just another "PCI" of sorts, doesn't that have performance implications or is
> that addressed really by the hardware implementation as apposed to the Linux
> side of things?

It really is just another PCI (there is a 66 MHz PCI specification, and AGP uses
it), though there are improvements made (for example, sidebanding, which gives us
the 2x and 4x modes).  Additionally, it's adapted on the Intel side of things for
"write combining" (if anyone comes up with an exact definition of how that works,
please let me know).  I'm not sure what you mean by performance implications, but
PCI isn't a horrible bus to start with...


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: PCI Buses
  2000-08-15 19:13 ` David Riley
@ 2000-08-16  8:51   ` Gabriel Paubert
  0 siblings, 0 replies; 10+ messages in thread
From: Gabriel Paubert @ 2000-08-16  8:51 UTC (permalink / raw)
  To: David Riley; +Cc: jlquinn, tom_gall, linuxppc-dev


On Tue, 15 Aug 2000, David Riley wrote:

> On a side note, does anyone know if Linux properly supports the 64-bit PCI
> slots in the Blue G3's and G4's?  The only cards I know of that use them are
> several SCSI cards and TotalImpact cards.

>From a software point of view 64 bit PCI is indistinguishable from 32 bit.
Actually MVME boards have a 64 bit PCI host bridge, although only the VME
bridge (Tundra's Universe) is a 64 bit device. The software just does not
care. PIO transfers of 32 bit or less (in practice all on a 32 bit
processor) will use standard PCI bus protocol for reads; writes may be
merged under some conditions by the processor or the host bridge as
explained for example in the PPC750 or CPC710 (IBM) doc. Still these
operations are often short (with the exception of graphics adapter memory
accesses) and the benefit of 64 bit transfers versus a short burst of 32
bit transfers is minimal.

DMA operations on the other hand benefit a lot from 64 bit transfers,
since well designed adapters will have large FIFOs and generate bursts of
several tens of transfers at which point the overhead of setting up the
operation becomes small. In practice this almost halves the bus
utilization.


	Regards,
	Gabriel


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: PCI Buses
  2000-08-16  0:19     ` David Riley
@ 2000-08-16 14:45       ` Geert Uytterhoeven
  0 siblings, 0 replies; 10+ messages in thread
From: Geert Uytterhoeven @ 2000-08-16 14:45 UTC (permalink / raw)
  To: David Riley; +Cc: tom_gall, linuxppc-dev


On Tue, 15 Aug 2000, David Riley wrote:
> tom_gall@vnet.ibm.com wrote:
> > It's definately interesting to hear that AGP is really just another PCI... or at
> > least treated that way. Being PCI/AGP stupid I appreciate the info... if it's
> > just another "PCI" of sorts, doesn't that have performance implications or is
> > that addressed really by the hardware implementation as apposed to the Linux
> > side of things?
>
> It really is just another PCI (there is a 66 MHz PCI specification, and AGP uses
> it), though there are improvements made (for example, sidebanding, which gives us
> the 2x and 4x modes).  Additionally, it's adapted on the Intel side of things for
> "write combining" (if anyone comes up with an exact definition of how that works,
> please let me know).  I'm not sure what you mean by performance implications, but
> PCI isn't a horrible bus to start with...

`write combining' means that the PCI bridge will buffer successive writes to
successive addresses and combine them into one burst of writes. Since burst
writes are more efficient than individual writes (which require an address
setup operation for every write), this is a win. Of course you cannot always
use write combining (think about register writes), but for frame buffer
accesses it's nice.

BTW, if you look at the specs for the host bridge IBM used in the (dead?) POP
design, you'll see that it actually has 2 PCI buses: one at 33 MHz and one at
66 MHz. The 66 MHz can be used as an AGP bus as well, as is done in the POP
design.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: PCI Buses
  2000-08-15 23:16   ` tom_gall
  2000-08-16  0:19     ` David Riley
@ 2000-08-17 20:37     ` Matt Porter
  1 sibling, 0 replies; 10+ messages in thread
From: Matt Porter @ 2000-08-17 20:37 UTC (permalink / raw)
  To: tom_gall; +Cc: mlan, linuxppc-dev


On Tue, Aug 15, 2000 at 11:16:14PM +0000, tom_gall@vnet.ibm.com wrote:
>
> Michel Lanners wrote:
> >
> > Hi Tom,
> >
> > On  15 Aug, this message from tom_gall@vnet.ibm.com echoed through cyberspace:
> > >   Just a stupid question here for those of you that have Mac hardware. Of all
> > > the Mac hardware in existance right now, all Macs have at most one PCI bus
> > > right?
>
> Hi All,
>
>   I thank you much for the information. It took me a little bit but as I've been
> looking at the PCI code I ran across the pmac PCI implementation which
> definately has support for more than one PCI bus.
>
>   Where I'm coming from is getting the same thing working on IBM PowerPC
> hardware for multiple pythons... fun fun fun...

Do you mean two separate physical buses like on the CPC710 PHB?  If so,
then check out the SBS K2 LSP code in MontaVista CDK1.2 release
(ftp.mvista.com).  There's some extra layering in their to allow
for kernel resident PCI autoconfiguration before the generic bus scan
as well as transparent handling of config space accesses via the different
CFGA/CFGD addresses.

--
Matt Porter
MontaVista Software, Inc.
mporter@mvista.com

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2000-08-17 20:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-15 18:52 PCI Buses jlquinn
2000-08-15 19:13 ` David Riley
2000-08-16  8:51   ` Gabriel Paubert
  -- strict thread matches above, loose matches on Subject: below --
2000-08-15 18:46 tom_gall
2000-08-15 19:14 ` Ani Joshi
2000-08-15 19:39 ` Michel Lanners
2000-08-15 23:16   ` tom_gall
2000-08-16  0:19     ` David Riley
2000-08-16 14:45       ` Geert Uytterhoeven
2000-08-17 20:37     ` Matt Porter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).