mapping uncached memory

Budhee Jamaich budheej at gmail.com
Tue Mar 23 08:22:15 EDT 2010


On Wed, Mar 17, 2010 at 1:54 AM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:
> On Wed, Mar 17, 2010 at 01:17:45AM +0200, Budhee Jamaich wrote:
>> these are the alternatives we currently see:
>>
>> 2. use pgprot_noncached when assigning vma->vm_page_prot in our
>> driver's mmap method
>>
>>
>> will that really work ? all memory accesses will be uncached ?
>
> Not on ARMv6 and above - it has become illegal to remap memory with
> differing type attributes.

what about using pgprot_dmacoherent in our driver to mark memory as
uncached ? will this work ?

thank you
budhee



More information about the linux-arm-kernel mailing list