[[PATCH v2] 03/11] ARM: EXYNOS: fixups for big-endian operation
Krzysztof Kozlowski
k.kozlowski at samsung.com
Tue Jun 21 04:16:24 PDT 2016
On 06/21/2016 12:20 PM, Ben Dooks wrote:
> If the kernel is built big endian, then using the __raw read and write IO
> accessors is not going to work as they end up writing big-endian data to
> little-endian IO registers. Fix this by using the readl and writel relaxed
> versions which ensure little endian IO.
>
> Signed-off-by: Ben Dooks <ben.dooks at codethink.co.uk>
> ---
> arch/arm/mach-exynos/firmware.c | 16 ++++++++--------
> arch/arm/mach-exynos/headsmp.S | 3 +++
> arch/arm/mach-exynos/platsmp.c | 4 ++--
> 3 files changed, 13 insertions(+), 10 deletions(-)
Thanks, applied for v4.8.
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list