Skip to content

RFC MCPM/TC2 support for CPU powerdown synchronisation

Dave Martin linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ARM: mcpm: Factor out logical-to-physical CPU translationarch/arm/common/mcpm_platsmp.c+13 -41 reply
2/3ARM: mcpm: Implement cpu_kill() to synchronise on powerdownarch/arm/common/mcpm_entry.c arch/arm/common/mcpm_platsmp.c arch/arm/include/asm/mcpm.h+46 -01 reply
2/3ARM: mcpm: Implement cpu_kill() to synchronise on powerdown+0 -01 reply
3/3ARM: vexpress/TC2: Implement MCPM power_down_finish()arch/arm/mach-vexpress/spc.c arch/arm/mach-vexpress/spc.h arch/arm/mach-vexpress/tc2_pm.c+95 -51 reply
3/3ARM: vexpress/TC2: Implement MCPM power_down_finish()+0 -00 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchNicolas Pitre
1/3A-b
2/3
2/3
3/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC PATCH 0/3] MCPM/TC2 support for CPU powerdown synchronisation

This series adds MCPM support for detecting when a CPU is safely powered down, and provides an implementation for TC2.

This is sufficient to for working kexec with real power management on TC2. To test it, you'll also need:

* CONFIG_KEXEC=y
* CONFIG_PROC_DEVICE_TREE=y
* CONFIG_MCPM=y
* CONFIG_ARCH_VEXPRESS_TC2_PM=y
* sufficiently new kexec-tools

    (git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git
    v2.0.4 worked for me)

To prevent CPUs from running off into the weeds across kexec, this series requires Lorenzo's patch
http://lists.infradead.org/pipermail/linux-arm-kernel/2013-September/200917.html
(arm: vexpress: tc2: fix hotplug/idle/kexec race on cluster power down).

Dave Martin (3):
ARM: mcpm: Factor out logical-to-physical CPU translation
ARM: mcpm: Implement cpu_kill() to synchronise on powerdown
ARM: vexpress/TC2: Implement MCPM power_down_finish()

 arch/arm/common/mcpm_entry.c    |    5 ++++
 arch/arm/common/mcpm_platsmp.c  |   27 +++++++++++++++---
 arch/arm/include/asm/mcpm.h     |   31 ++++++++++++++++++++
 arch/arm/mach-vexpress/spc.c    |   39 +++++++++++++++++++++++++
 arch/arm/mach-vexpress/spc.h    |    1 +
 arch/arm/mach-vexpress/tc2_pm.c |   60 +++++++++++++++++++++++++++++++++++----
 6 files changed, 154 insertions(+), 9 deletions(-)
Signature · 1 line
1.7.9.5