[RFC/PATCH v4 4/7] ARM: ARM11 MPCore: clean_dcache_area is not preempt safe

George G. Davis gdavis at mvista.com
Tue Oct 18 14:13:54 EDT 2011


On Oct 18, 2011, at 1:43 PM, Tony Lindgren wrote:

> * George G. Davis <gdavis at mvista.com> [111018 09:56]:
>> Hello Tony/Ohad,
>> 
>> On Oct 18, 2011, at 1:08 PM, Tony Lindgren wrote:
>> 
>>> Hi,
>>> 
>>> * gdavis at mvista.com <gdavis at mvista.com> [111018 06:13]:
>>>> From: George G. Davis <gdavis at mvista.com>
>>>> 
>>>> If preemption and subsequent task migration occurs during calls to
>>>> clean_dcache_area on ARM11 MPCore machines, global memory state
>>>> can become inconsistent.  To prevent inconsistent memory state on
>>>> these machines, disable preemption in callers of these functions
>>>> around memory modifications and subsequent clean_dcache_area calls.
>>> 
>>> This one needs to be refreshed against what's queued in for-next as
>>> Ohad has moved most of the iommu code into drivers. I've added
>>> Ohad to Cc as well.
>> 
>> If you do not use ARM11 MPCore with those drivers, then we can drop this altogether.
> 
> No MPCore omaps available AFAIK, so that sounds OK to me.

Good, I'll drop it then.

Thanks!

--
Regards,
George

> 
> Tony




More information about the linux-arm-kernel mailing list