Linux SCSI subsystem development
 help / color / mirror / Atom feed
* dma_pool_alloc restrict < 4GB address
@ 2008-11-12 22:14 Anil kumar
  2008-11-13  3:03 ` Matthew Wilcox
  0 siblings, 1 reply; 2+ messages in thread
From: Anil kumar @ 2008-11-12 22:14 UTC (permalink / raw)
  To: linux-kernel, linux-scsi

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


      

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-13  3:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-12 22:14 dma_pool_alloc restrict < 4GB address Anil kumar
2008-11-13  3:03 ` Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox