[GIT PULL] MCPM maintenance for v4.1

Nicolas Pitre nicolas.pitre at linaro.org
Wed Mar 25 09:46:47 PDT 2015

Please consider pulling the following:

http://git.linaro.org/people/nicolas.pitre/linux.git mcpm_for_armsoc

This series greatly simplifies things by moving all the locking handling 
to the core code, leaving machine specific backend only with simple and 
straight forward operations performed under lock protection. It will no 
longer be necessary for backend authors to know about all the MCPM 
subtleties for their code to be "right".

To avoid a flag day, the new scheme is introduced in parallel to the 
existing backend interface. This series may be merged at the same time 
as new backends still using the previous interface. That old interface 
should be removed in a subsequent merge cycle after everything is 
converted over.

The diffstat also shows a clear benefit.  Despite the addition of new 
documentation and the previous interface still in place, the number of 
lines actually goes down.

Tested on Versatile Express TC2 and Exynos 5800 (Chromebook2).

 arch/arm/common/mcpm_entry.c       | 202 +++++++++++++++++----
 arch/arm/include/asm/mcpm.h        |  65 ++++++-
 arch/arm/mach-exynos/mcpm-exynos.c | 247 ++++++--------------------
 arch/arm/mach-vexpress/dcscb.c     | 197 +++++++--------------
 arch/arm/mach-vexpress/tc2_pm.c    | 291 +++++++++----------------------
 5 files changed, 436 insertions(+), 566 deletions(-)



More information about the linux-arm-kernel mailing list