Skip to content

arm: berlin: add cpu hotplug support

Jisheng Zhang linux-arm-kernel lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/22 patches 3 repliesIn review
  2. v1 posting 1/22 patches 2 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2arm: berlin: use non-self-cleared reset register to reset cpuarch/arm/mach-berlin/platsmp.c+3 -13 replies
2/2arm: berlin: add CPU hotplug supportarch/arm/mach-berlin/platsmp.c+25 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH RESEND 0/2] arm: berlin: add cpu hotplug support

These patches try to add cpu hotplug support for Marvell BG2, BG2Q SoCs. These SoCs can't power off cpu independently, but we still want cpu hotplug support for them. However, we need to address "CPU still sat on kernel text" as pointed out by Mark Rutland[1]. We achieved this 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.

patch1 use non-self-cleared control register to reset cpu. This is to prepare for the next cpu hotplug commit.

patch2 adds the cpu hotplug support finally.

[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2015-May/342642.html

Jisheng Zhang (2):
arm: berlin: use non-self-cleared reset register to reset cpu
arm: berlin: add CPU hotplug support

 arch/arm/mach-berlin/platsmp.c | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)
Signature · 1 line
2.5.1