public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* UIO DMA to userspace question
@ 2010-08-07 18:38 Leon Woestenberg
  2010-08-09 11:11 ` Hans J. Koch
  2010-08-15 11:33 ` Avi Kivity
  0 siblings, 2 replies; 6+ messages in thread
From: Leon Woestenberg @ 2010-08-07 18:38 UTC (permalink / raw)
  To: Tom Lyon, mst, hjk, gregkh, chrisw, joro, avi, linux-kernel

Hello all,

can I use the UIO framework for the following?

The userspace portion of the driver allocates memory in user-space
using malloc() - usually resulting in a scatter pages in physical
memory.
The UIO kernel portion of the driver maps those using pci_map_sg().

Is this possible, or does the UIO framework assume memory for DMA is
allocated in kernel space?


Thanks,
-- 
Leon

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

end of thread, other threads:[~2010-08-15 15:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-07 18:38 UIO DMA to userspace question Leon Woestenberg
2010-08-09 11:11 ` Hans J. Koch
2010-08-10  0:12   ` Hans J. Koch
2010-08-11 18:42     ` Leon Woestenberg
2010-08-12  0:14       ` Hans J. Koch
2010-08-15 11:33 ` Avi Kivity

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