All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Malek <dan@embeddededge.com>
To: Prashant Alange <prashant.alange@gmail.com>
Cc: Linuxppc-embedded@ozlabs.org
Subject: Re: Problem allocating large meory using m8260_cpm_hostalloc
Date: Thu, 28 Jul 2005 14:06:04 -0400	[thread overview]
Message-ID: <5367eda3a78096bb46168292371e9530@embeddededge.com> (raw)
In-Reply-To: <6d145b4205072809505b101b48@mail.gmail.com>


On Jul 28, 2005, at 12:50 PM, Prashant Alange wrote:

> Could anyone tell what I am missing here?

You are not supposed to be using this function for such memory
allocations.

> How can I allocate large memory in my driver using this hostalloc 
> function?

You don't.  If you look at the existing drivers and comments, you'll 
see it's
intended to only allocate small objects that are too inefficient to 
manage
with the usual Linux DMA allocation functions.  You must use the 
standard
Linux DMA for large allocations.  Read Documentation/DMA-API.txt, and
in particular the non-PCI functions.

Thanks.


	-- Dan

  reply	other threads:[~2005-07-28 18:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-28 16:50 Problem allocating large meory using m8260_cpm_hostalloc Prashant Alange
2005-07-28 18:06 ` Dan Malek [this message]
2005-07-28 18:29   ` Prashant Alange
2005-07-28 19:03     ` Dan Malek
  -- strict thread matches above, loose matches on Subject: below --
2005-07-28 17:29 Goodman, Brad
2005-07-28 17:55 ` Prashant Alange

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=5367eda3a78096bb46168292371e9530@embeddededge.com \
    --to=dan@embeddededge.com \
    --cc=Linuxppc-embedded@ozlabs.org \
    --cc=prashant.alange@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.