Re: query regarding 'map_user_kiobuf'

2001-05-30 Thread David Woodhouse
[EMAIL PROTECTED] said: > I have a couple of user DMA drivers up and running, but in light of > your comment, I am not so sure. I'm sorry, it seems I lied. Although map_user_kiobuf in 2.2 used to lock the pages, apparently that's no longer necessary. You just need to make sure they're marked

Re: query regarding 'map_user_kiobuf'

2001-05-30 Thread William Waddington
On Tue, 29 May 2001 19:30:06 GMT, in fa.linux.kernel you wrote: > >[EMAIL PROTECTED] said: >> After using the 'map_user_kiobuf', I observed the followiing: >> >> 1. 'kiobuf->maplist[0]->virtual' contains a different virtual address than >> the user space buffer address >> 2. But these two addres

Re: query regarding 'map_user_kiobuf'

2001-05-29 Thread David Woodhouse
[EMAIL PROTECTED] said: > After using the 'map_user_kiobuf', I observed the followiing: > > 1. 'kiobuf->maplist[0]->virtual' contains a different virtual address than > the user space buffer address > 2. But these two addresses are mapped as when i write something using the > address 'kiobuf->ma

query regarding 'map_user_kiobuf'

2001-05-29 Thread mdaljeet
I am using linux kernel version 2.4.2 on Intel PC. I have been trying my luck for over a week regarding usage of 'map_user_kiobuf' for doing a DMA into a memory area that belongs to user space. Actually my requirement is that I want to do DMA into a user space memory area. What I have done throu