RE: [PATCH 8/9] dspbridge: add map support for big buffers

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Guzman Lugo, Fernando
Date: Friday, July 2, 2010 - 9:27 am

Hi Hari,


Where inside iommu_vmap is the mapping done? I thought the kernel can access to that buffer after get_user_pages() where the user pages are pin and we can get a kernel address. The intention using iommu_vmap was to use api's proved by the iovmmu module. iommu_vmap() it is also tracking the mapped areas, so maybe the next step could be: remove dmm.c/h files and also proc_reserve/unreserved functions. If you think the function is unneeded steps and could affect the performance I can do the change to use only iopgtable_store_entry().

I think a kernel mapping is needed for flush/invalidate api's, please correct me if I am wrong. 

Regards,
Fernando.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 3/9] dspbridge: rename bridge_brd_mem_map/unmap to ..., Fernando Guzman Lugo, (Wed Jun 30, 5:20 pm)
[PATCH 4/9] dspbridge: remove custom mmu code from tiomap3 ..., Fernando Guzman Lugo, (Wed Jun 30, 5:20 pm)
[PATCH 5/9] dspbridge: add mmufault support, Fernando Guzman Lugo, (Wed Jun 30, 5:20 pm)
[PATCH 6/9] dspbridge: remove hw directory, Fernando Guzman Lugo, (Wed Jun 30, 5:20 pm)
[PATCH 7/9] dspbridge: move all iommu related code to a ne ..., Fernando Guzman Lugo, (Wed Jun 30, 5:20 pm)
[PATCH 8/9] dspbridge: add map support for big buffers, Fernando Guzman Lugo, (Wed Jun 30, 5:20 pm)
[PATCH 9/9] dspbridge: cleanup bridge_dev_context and cfg_ ..., Fernando Guzman Lugo, (Wed Jun 30, 5:21 pm)
Re: [PATCH 5/9] dspbridge: add mmufault support, Hiroshi DOYU, (Thu Jul 1, 11:27 pm)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Guzman Lugo, Fernando, (Fri Jul 2, 9:27 am)
RE: [PATCH 5/9] dspbridge: add mmufault support, Guzman Lugo, Fernando, (Fri Jul 2, 9:37 am)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Kanigeri, Hari, (Fri Jul 2, 10:02 am)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Guzman Lugo, Fernando, (Fri Jul 2, 11:39 am)
Re: [PATCH 8/9] dspbridge: add map support for big buffers, Felipe Contreras, (Tue Aug 24, 3:09 am)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Guzman Lugo, Fernando, (Tue Aug 24, 9:31 am)
Re: [PATCH 8/9] dspbridge: add map support for big buffers, Felipe Contreras, (Tue Aug 24, 10:46 am)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Guzman Lugo, Fernando, (Tue Aug 24, 11:44 am)
Re: [PATCH 8/9] dspbridge: add map support for big buffers, Felipe Contreras, (Tue Aug 24, 11:55 am)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Guzman Lugo, Fernando, (Tue Aug 24, 12:05 pm)
Re: [PATCH 8/9] dspbridge: add map support for big buffers, Felipe Contreras, (Tue Aug 24, 12:13 pm)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Guzman Lugo, Fernando, (Tue Aug 24, 12:30 pm)
Re: [PATCH 8/9] dspbridge: add map support for big buffers, Felipe Contreras, (Tue Aug 24, 2:17 pm)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Guzman Lugo, Fernando, (Tue Aug 24, 2:55 pm)
Re: [PATCH 8/9] dspbridge: add map support for big buffers, Felipe Contreras, (Tue Aug 24, 11:05 pm)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Guzman Lugo, Fernando, (Wed Aug 25, 9:00 am)
Re: [PATCH 8/9] dspbridge: add map support for big buffers, Felipe Contreras, (Wed Aug 25, 12:18 pm)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Guzman Lugo, Fernando, (Wed Aug 25, 12:42 pm)
Re: [PATCH 8/9] dspbridge: add map support for big buffers, FUJITA Tomonori, (Wed Aug 25, 11:55 pm)
Re: [PATCH 8/9] dspbridge: add map support for big buffers, Felipe Contreras, (Thu Aug 26, 3:04 am)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Guzman Lugo, Fernando, (Thu Aug 26, 5:38 am)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, FUJITA Tomonori, (Thu Aug 26, 5:56 am)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Guzman Lugo, Fernando, (Thu Aug 26, 6:00 am)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Guzman Lugo, Fernando, (Thu Aug 26, 6:16 am)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, FUJITA Tomonori, (Thu Aug 26, 7:03 am)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Guzman Lugo, Fernando, (Thu Aug 26, 7:13 am)