Problem with dma_alloc_coherent at linux-2.6.33-arm1 , with RealView platform,board PBX-A9 and armv7 instructions.

Shilimkar, Santosh santosh.shilimkar at ti.com
Thu Jul 15 06:04:58 EDT 2010


> -----Original Message-----
> From: linux-arm-kernel-bounces at lists.infradead.org [mailto:linux-arm-
> kernel-bounces at lists.infradead.org] On Behalf Of David Yang
> Sent: Thursday, July 15, 2010 3:27 PM
> To: Russell King - ARM Linux
> Cc: linux-arm-kernel at lists.infradead.org; Ben Dooks
> Subject: Re: Problem with dma_alloc_coherent at linux-2.6.33-arm1 , with
> RealView platform,board PBX-A9 and armv7 instructions.
> 
> I have explicitly added the barrier() in my driver, but it did't work.
> 
> I will go on testing until solve the problem. I need more advice.
>
The 'barrier()' is just a compiler barrier. You should be using "mb" "rmb" 
or "wmb"  depending on the usage.

Regards,
Santosh



More information about the linux-arm-kernel mailing list