[lkml]   [1999]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectPCI DMA question
I've come across something that I would like someone to verify.

It appears that the standard linux kernel lacks a way for a character driver
to DMA data directly to the user buffer.

I was searching for the way to lock pages into memory. This eventually lead
me to the following patch, which doesn't appear to have been added to the
standard kernel at any point:

I've also found partial messages where David S. Miller and Linus were
discussing the need for this (Linus mentioned dma_map()), but I couldn't
find enough of the discussion to know if anything was implemented or not.

Since I've got a device that is quite capable of scatter-gather and have no
interest in double copying, it appears that I will need this patch in order
to get reasonable performance.

Is something like this in the 2.3 kernel, or is this yet another patch that
didn't get accepted?


SBS Technologies, Connectivity Products
... solutions for real-time connectivity

Bret Indrelee, Engineer
SBS Technologies, Inc., Connectivity Products
1284 Corporate Center Drive, St. Paul MN 55121
Direct: (651) 905-4731
Main: (651) 905-4700 Fax: (651) 905-4701

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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