linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: sp@scali.no (Steffen Persvold)
Cc: helgehaf@idb.hist.no (Helge Hafting),
	pvvvarma@techmas.hcltech.com (Vasu Varma P V),
	linux-kernel@vger.kernel.org
Subject: Re: DMA memory limitation?
Date: Fri, 6 Jul 2001 12:08:51 +0100 (BST)	[thread overview]
Message-ID: <E15ITTf-0004Dz-00@the-village.bc.nu> (raw)
In-Reply-To: <3B458888.75C50552@scali.no> from "Steffen Persvold" at Jul 06, 2001 11:44:40 AM

> A problem arises on 64 bit platforms (such as IA64) if your PCI card is only 32bit (can
> address the first 4G) and you don't wan't to use bounce buffers. If you use GFP_DMA on

GFP_DMA is ISA dma reachable, Forget the IA64, their setup is weird and 
should best be ignored until 2.5 as and when they sort it out.

> bounce buffers are needed. On Alpha GFP_DMA is not limited at all (I think). Correct me if

Alpha has various IOMMU facilities

> I'm wrong, but I really think there should be a general way of allocating memory that is
> 32bit addressable (something like GFP_32BIT?) so you don't need a lot of #ifdef's in your
> code.

No ifdefs are needed

	GFP_DMA - ISA dma reachable
	pci_alloc_* and friends - PCI usable memory



  reply	other threads:[~2001-07-06 11:12 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-05 11:47 DMA memory limitation? Vasu Varma P V
2001-07-05 11:53 ` Alan Cox
2001-07-05 11:54 ` Arjan van de Ven
2001-07-05 12:37   ` Vasu Varma P V
2001-07-05 12:37 ` Richard B. Johnson
2001-07-05 17:07   ` Christophe Beaumont
2001-07-05 17:19     ` Richard B. Johnson
2001-07-06  8:59 ` Helge Hafting
2001-07-06  9:44   ` Steffen Persvold
2001-07-06 11:08     ` Alan Cox [this message]
2001-07-06 11:27       ` Jeff Garzik
2001-07-06 15:16         ` Steffen Persvold
2001-07-06 15:39           ` Jeff Garzik
2001-07-06 15:48           ` Alan Cox
2001-07-06 15:56 Matt_Domsch

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=E15ITTf-0004Dz-00@the-village.bc.nu \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=helgehaf@idb.hist.no \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pvvvarma@techmas.hcltech.com \
    --cc=sp@scali.no \
    /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;
as well as URLs for NNTP newsgroup(s).