From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 32605 invoked from network); 16 Mar 1999 13:12:11 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 16 Mar 1999 13:12:11 -0000 Received: from ares.cs.Virginia.EDU (ares.cs.Virginia.EDU [128.143.137.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id IAA15640 for ; Tue, 16 Mar 1999 08:02:38 -0500 Received: from adder.cs.Virginia.EDU (adder.cs.Virginia.EDU [128.143.137.18]) by ares.cs.Virginia.EDU (8.9.2/8.9.2/UVACS-1999030200) with ESMTP id IAA05632 for ; Tue, 16 Mar 1999 08:02:37 -0500 (EST) From: Greg Lindahl Received: (from lindahl@localhost) by adder.cs.Virginia.EDU (8.8.5/8.8.5) id IAA04733 for axp-list@redhat.com; Tue, 16 Mar 1999 08:02:37 -0500 (EST) Message-Id: <199903161302.IAA04733@adder.cs.Virginia.EDU> Subject: Re: supporting large memory on alphas today To: axp-list@redhat.com Date: Tue, 16 Mar 1999 08:02:36 -0500 (EST) In-Reply-To: <199903150137.UAA03619@alpha1.estabrook.org> from "Jay.Estabrook@digital.com" at Mar 14, 99 08:37:24 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > > 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