Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Greg Lindahl <lindahl@cs.virginia.edu>
To: axp-list@redhat.com
Subject: Re: supporting large memory on alphas today
Date: Tue, 16 Mar 1999 08:02:36 -0500 (EST)	[thread overview]
Message-ID: <199903161302.IAA04733@adder.cs.Virginia.EDU> (raw)
In-Reply-To: <199903150137.UAA03619@alpha1.estabrook.org> from "Jay.Estabrook@digital.com" at Mar 14, 99 08:37:24 pm

> > OK, so that needs to get fixed on a driver-by-driver basis.
> > Fortunately that's pretty easy although tedious: look for kmalloc
> > calls.
> 
> That'll catch the obvious ones, anyway... ;-}
> 
> And once you *do* find one, what'll you do with it? Simply add GFP_DMA to
> the flags? At the moment, that'd only work for XL and RUFFIAN, as all the
> other Alphas don't limit ISA DMA addresses to anything less than 32
> bits,

Well, that depends. If you raise the ISA_DMA_THRESHHOLD to the PCI
limit (breaking ISA devices), then GPF_DMA will do the trick ;-) It's
a hack, and it's really no easier than implementing GPF_DMA32.

> Unfortunately, it still doesn't handle the case of a request for DMA to a
> user buffer, when that buffer is not in the reachable range, as Steve has
> pointed out. Perhaps the bounce buffer technique in the SCSI subsystem could
> be modified to catch this, but then, that'd only handle the SCSI case...

The hack of raising the ISA_DMA_THRESHHOLD will make the SCSI code
work. What other drivers dma to user buffers? My myrinet networking
card does, but supposedly normal video and networking cards do not.

-- g


  reply	other threads:[~1999-03-16 13:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-14 20:31 supporting large memory on alphas today Greg Lindahl
1999-03-14 20:44 ` Dave Gilbert
1999-03-14 20:56   ` Greg Lindahl
1999-03-14 21:14     ` Jay.Estabrook
1999-03-14 21:47       ` Greg Lindahl
1999-03-15  1:37         ` Jay.Estabrook
1999-03-16 13:02           ` Greg Lindahl [this message]
1999-03-16 18:12             ` Jay.Estabrook
1999-03-16 19:48               ` Greg Lindahl
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