Re: [PATCH 2/2] V4L/DVB: buf-dma-sg.c: support non-pageable user-allocated memory

2010-05-20 Thread Arnout Vandecappelle
On Thursday 06 May 2010 06:06:21, Mauro Carvalho Chehab wrote: > Hi Arnout, > > Arnout Vandecappelle wrote: > > videobuf_dma_init_user_locked() uses get_user_pages() to get the > > virtual-to-physical address mapping for user-allocated memory. > > However, the user-allocated memory may be non-pag

Re: [PATCH 2/2] V4L/DVB: buf-dma-sg.c: support non-pageable user-allocated memory

2010-05-05 Thread Mauro Carvalho Chehab
Hi Arnout, Arnout Vandecappelle wrote: > videobuf_dma_init_user_locked() uses get_user_pages() to get the > virtual-to-physical address mapping for user-allocated memory. > However, the user-allocated memory may be non-pageable because it > is an I/O range or similar. get_user_pages() fails with

RE: [PATCH 2/2] V4L/DVB: buf-dma-sg.c: support non-pageable user-allocated memory

2010-03-18 Thread Aguirre, Sergio
.@infradead.org; arn...@mind.be > Subject: [PATCH 2/2] V4L/DVB: buf-dma-sg.c: support non-pageable user- > allocated memory > > videobuf_dma_init_user_locked() uses get_user_pages() to get the > virtual-to-physical address mapping for user-allocated memory. > However, the user-all

[PATCH 2/2] V4L/DVB: buf-dma-sg.c: support non-pageable user-allocated memory

2010-03-17 Thread Arnout Vandecappelle
videobuf_dma_init_user_locked() uses get_user_pages() to get the virtual-to-physical address mapping for user-allocated memory. However, the user-allocated memory may be non-pageable because it is an I/O range or similar. get_user_pages() fails with -EFAULT in that case. If the user-allocated mem

[PATCH 2/2] V4L/DVB: buf-dma-sg.c: support non-pageable user-allocated memory

2010-03-04 Thread Arnout Vandecappelle
videobuf_dma_init_user_locked() uses get_user_pages() to get the virtual-to-physical address mapping for user-allocated memory. However, the user-allocated memory may be non-pageable because it is an I/O range or similar. get_user_pages() fails with -EFAULT in that case. If the user-allocated mem