[PATCH V5 3/6] arm: cache-l2x0: add support for Aurora L2 cache ctrl

Gregory CLEMENT gregory.clement at free-electrons.com
Thu Sep 27 05:35:22 EDT 2012


On 09/26/2012 07:11 PM, Catalin Marinas wrote:> On 26 September 2012 17:02, Gregory CLEMENT
> <gregory.clement at free-electrons.com> wrote:
>> +static void aurora_pa_range(unsigned long start, unsigned long end,
>> +                       unsigned long offset)
>> +{
>> +       unsigned long flags;
>> +
>> +       raw_spin_lock_irqsave(&l2x0_lock, flags);
>> +       writel(start, l2x0_base + AURORA_RANGE_BASE_ADDR_REG);
>> +       writel(end, l2x0_base + offset);
> 
> Just use writel_relaxed() here for consistency and possible deadlock avoidance.
> 

OK I fixed it in the git repo and I also send the updated patch.

Russell do you agree to take the series now?

Thanks.






More information about the linux-arm-kernel mailing list