]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
arm: berlin: add CPU hotplug support
authorJisheng Zhang <jszhang@marvell.com>
Mon, 14 Sep 2015 06:47:45 +0000 (14:47 +0800)
committerSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Thu, 15 Oct 2015 19:14:28 +0000 (21:14 +0200)
commita7b3d5a715f489ee542e59d722281c9f16da50dc
tree11d08feb2a78ecd1f6306b73c6cf21fe83398b01
parentac7fc233b2c337880d7d973be19f6fb03108d6f7
arm: berlin: add CPU hotplug support

Add cpu hotplug support for berlin SoCs such as BG2 and BG2Q. These SoC
don't support power off cpu independently, but we also want cpu hotplug
support in these SoCs. We achieve this goal by putting the dying CPU in
WFI state after the coherency is disabled, then asserting the dying CPU
reset bit to put the CPU in reset state.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
arch/arm/mach-berlin/platsmp.c