[lkml]   [2001]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: DMA to/from user buffers
Sebastian Heidl wrote:
> Hi,
> two questions about using an user-supplied buffer (e.g. malloced
> in user space) for DMA transfers:
> 1. Is it possible ?
> 2. What restrictions/requirements apply for the buffer (alignment...) ?
> Documentation/DMA-mapping.txt only talks about buffers allocated in
> kernel space.

Lock down the user pages using kiobufs (see include/linux/iobufs.h),
then feed these pages to the pci_* functions.


Damn lot people confuse usability and eye-candy.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:02    [W:0.021 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site