Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: grunwald@foobar.cs.colorado.edu (Dirk Grunwald)
Subject: Re: PCI Sparse Address Space
Date: 1996/09/17	[thread overview]
Message-ID: <qxpk9ttglh7.fsf@foobar.cs.colorado.edu> (raw)
In-Reply-To: 51k83t$c70@mashie.cs.umd.edu



Here's my experienced based on trying to port the driver for the
Myricom Myrinet PCi interface to the DEC Alpha.

The system start up code (not certain if it's the SROM bootup or the
SRM firmware) puts a device into "sparse space" based on a number of
reasons.  The importance of this varies from machine to machine.

For example, the AlphaServer 2100 PCI interface (the "T3" chip, I
think) maps any device as "sparse" if it marks a memory region as "not
prefetchable". The myrinet has a 256KByte on-chip SRAM memory that was
marked "not prefetchable", and thus communication with that memory
requires the PIO functions. More recently, I've received EEPROM
upgrades that mark it as "prefetchable", and that should fix the
problem ( but I haven't had time to plug it into the 2100's).

By comparison, a system using the 21070 or 21170 PCI interface chipset
doesn't appear to care diddly about the "prefetch" bit. On both EV4
and EV5 based systems, the same Myrinet card can be mapped into a
"dense" address space.

If you trace the code path for the code that reads/writes sparse
address space, you'll get down ( in .../src/kernel/arch/alpha/hal) to
a hardware abstraction layer that diddles the appropriate PCI bridge
in the proper manner.

We couldn't afford the overhead of those function calls for the
Myrinet interface and asked Myricom to spin another FPGA with the
prefetch bit marked as prefetchable.

Dirk Grunwald                 Assoc. Prof, Univ. of Colorado at Boulder



  reply	other threads:[~1996-09-17  4:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-16  4:00 PCI Sparse Address Space Jeff Hollingsworth
1996-09-17  4:00 ` Dirk Grunwald [this message]
1996-09-19  4:00   ` Fred Kleinsorge
1996-09-17  4:00 ` Hubert Robitaille
1996-09-18  4:00 ` Fred Kleinsorge
1996-09-18  4:00 ` Fred Zwarts
1996-09-19  4:00 ` zrepachol
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox