]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: mvebu: Split low level functions to manipulate HW coherency
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Mon, 14 Apr 2014 15:10:08 +0000 (17:10 +0200)
committerJason Cooper <jason@lakedaemon.net>
Sat, 26 Apr 2014 00:08:12 +0000 (00:08 +0000)
commit3901a1c125689bceb17623f73751cfef8b38cb1d
treed72f84d8ff27bab4b69a70cb80a1bef51b7541f3
parentcfa292006fb7016fad58659d01e84a3aba488db2
ARM: mvebu: Split low level functions to manipulate HW coherency

Actually enabling coherency and adding a CPU on a SMP group are two
different operations which can be done separately. This patch splits
this in two functions.

Moreover as they use common pattern, this patch also creates local low
level functions (ll_get_coherency_base and ll_get_cpuid) to be used by
the exposed functions (ll_add_cpu_to_smp_group and
ll_enable_coherency)

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Link: https://lkml.kernel.org/r/1397488214-20685-6-git-send-email-gregory.clement@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-mvebu/coherency.c
arch/arm/mach-mvebu/coherency_ll.S
arch/arm/mach-mvebu/headsmp.S