Linux SCSI subsystem development
 help / color / mirror / Atom feed
From: Anil kumar <anils_r@yahoo.com>
To: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: dma_pool_alloc restrict < 4GB address
Date: Wed, 12 Nov 2008 14:14:24 -0800 (PST)	[thread overview]
Message-ID: <231988.14599.qm@web32401.mail.mud.yahoo.com> (raw)

Hi,

Is there anyway to restrict the returned bus address(dma address) from dma_poll_alloc to < 4GB ?
The function returns a dma address(of type dma_addr_t). Is there anyway I can ensure to restrict it to < 4B address.
I guess we can do that in pci_alloc_consistent as by default it returns 32bit address. 

with regards,
  Anil


      

             reply	other threads:[~2008-11-12 22:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-12 22:14 Anil kumar [this message]
2008-11-13  3:03 ` dma_pool_alloc restrict < 4GB address Matthew Wilcox

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=231988.14599.qm@web32401.mail.mud.yahoo.com \
    --to=anils_r@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    /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