]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: mvebu: fix big endian booting after coherency code rework
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 22 May 2014 12:47:59 +0000 (14:47 +0200)
committerJason Cooper <jason@lakedaemon.net>
Thu, 22 May 2014 14:25:57 +0000 (14:25 +0000)
commit36f058061a618e5f4a2b91a4b35a20ea95f97469
tree25e1f7d2c6ffac031c5ed08c89fe78805ab0454d
parent9da45c45701f8368836549124e773219e9f16cc6
ARM: mvebu: fix big endian booting after coherency code rework

As part of the introduction of the cpuidle support for Armada XP, the
coherency code was significantly reworked, especially in the
coherency_ll.S file. However, when the ll_get_cpuid function was
created, the big-endian specific code that switches the endianess of
the register was not updated properly.

This patch fixes this code, and therefore makes big endian systems
bootable again.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1400762882-10116-2-git-send-email-thomas.petazzoni@free-electrons.com
Fixes: 9d8f68fb3ef5 ("ARM: mvebu: Split low level functions to manipulate HW coherency")
Reported-by: Kevin Hilman <khilman@linaro.org>
Cc: Kevin Hilman <khilman@linaro.org>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-mvebu/coherency_ll.S