Penwell has IOMMU feature?
As far as I know only part of Intel server processors have this feature which 
is designed originally for VT(virtualization technology).

Wen,
Can you refer to other ISP Soc drivers and see how they are dealing with this 
issue?
I don't understand why you need to manage MMU inside ISP, I think the real 
problem is how can we allocate a large number of memory pages from IA side 
where ISP can access to by DMA.
Any ISP document can be shared to help us understand what's the problem?

-Bin

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of 
Wang, Wen W
Sent: Tuesday, February 08, 2011 11:27 PM
To: Kanigeri, Hari K; Iyer, Sundar; Yang, Jianwei; [email protected]; 
[email protected]
Cc: Jozef Kruger
Subject: Re: [Umg-meego-handset-kernel] Memory allocation in Video4Linux

Hi Hari,

You are right. What we need is virtual address.

Currently we alloc pages (alloc_pages()) for any request. Store those pages for 
an image buffer into a list. We also manage the virtual address for ISP by 
ourself (the range from 0 to 4GB) and the page table for our MMU which is 
independent to system MMU page table.

Thanks
Wen

>-----Original Message-----
>From: Kanigeri, Hari K
>Sent: 2011年2月9日 15:22
>To: Iyer, Sundar; Wang, Wen W; Yang, Jianwei; [email protected];
>[email protected]
>Cc: Jozef Kruger
>Subject: RE: Memory allocation in Video4Linux
>
>
>
>> -----Original Message-----
>> From: [email protected]
>> [mailto:[email protected]] On
>> Behalf Of Iyer, Sundar
>> Sent: Wednesday, February 09, 2011 12:20 PM
>> To: Wang, Wen W; Yang, Jianwei; [email protected]; umg-meego-
>> [email protected]
>> Cc: Jozef Kruger
>> Subject: Re: [Umg-meego-handset-kernel] Memory allocation in
>> Video4Linux
>>
>> I remember some Continous Memory Allocator (CMA) being iterated down a
>> few versions on
>> some mailing lists? IIRC, it is also for large buffers and management
>> for video IPs.
>
>I believe CMA is for allocating physically contiguous memory and from what Wen
>mentioned he also needs virtual memory management, which the IOMMU will
>provide. Please check the open source discussion on CMA, the last I heard CMA
>proposal was shot down.
>Reference: http://www.spinics.net/lists/linux-media/msg26875.html
>
>Wen, how are you currently allocating physical memory ?
>
>
>Thank you,
>Best regards,
>Hari
_______________________________________________
Umg-meego-handset-kernel mailing list
[email protected]
http://umglistsvr.jf.intel.com/mailman/listinfo/umg-meego-handset-kernel

Reply via email to