ARM: exynos: add support secondary core bootup in big.LITTLE processor. 23/32023/6
authorHyungwon Hwang <human.hwang@samsung.com>
Thu, 11 Dec 2014 07:47:30 +0000 (16:47 +0900)
committerHyungwon Hwang <human.hwang@samsung.com>
Wed, 24 Dec 2014 02:20:19 +0000 (11:20 +0900)
commitc25aae8a02c0e3132df581d1d12be1d6738a08d6
tree849e5fe850909bbfd55bb7beb028e79915bac129
parent996ac4b387722b1c9214a33bc424f793c30dd67f
ARM: exynos: add support secondary core bootup in big.LITTLE processor.

This patch adds support secondary core bootup in big.LITTLE processor
for platsmp. Just core id cannot be used for identification, because
there is a pair of the cores which have same core id. Cluster id have
to be included for their identification. This patch makes cpu index
using cluster id and core id for the calculation of their register
address and the identification. But there is a problem to use cluster id
for core index creation. That is, cluster id does not start from 0 in
old processors which do not have more than one cluster. For example,
Exynos4412's cluster id for its 4 core is 0xa. So I makes all cluster id
to 0 when they are bigger than 1. Normally big.LITTLE processor does not
use platsmp. But at this moment, just for the minimal functionality of
big.LITTLE, this patch adds support for it. This patch can be reverted
after another CPU management method is adopted.

Change-Id: Ifa2d62545dd4174998f962c9608fd6d9b6034c16
Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
arch/arm/mach-exynos/headsmp.S
arch/arm/mach-exynos/hotplug.c
arch/arm/mach-exynos/platsmp.c