[PATCH 1/2] cpufreq: exynos: use relaxed IO accesors

Ben Dooks ben.dooks at codethink.co.uk
Wed Jun 22 02:37:42 PDT 2016


On 22/06/16 10:35, Viresh Kumar wrote:
> On 22-06-16, 10:33, Ben Dooks wrote:
>> The use of __raw IO accesors is not endian safe and should be used
>> sparingly. The relaxed variants should be as lightweight and also
>> are endian safe.
> 
> I am not sure if exynos's code is required to be endian safe at all or
> not, but this change wouldn't harm as well.
> 
> Acked-by: Viresh Kumar <viresh.kumar at linaro.org>

It is better for any of the ARMv7 and later to do this. We've been
fixing some of the exynos and other code to be endian safe.

-- 
Ben Dooks				http://www.codethink.co.uk/
Senior Engineer				Codethink - Providing Genius



More information about the linux-arm-kernel mailing list