linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] MCPM maintenance for v4.1
@ 2015-03-25 16:46 Nicolas Pitre
  2015-04-02 16:49 ` Nicolas Pitre
  2015-04-03 19:53 ` Olof Johansson
  0 siblings, 2 replies; 3+ messages in thread
From: Nicolas Pitre @ 2015-03-25 16:46 UTC (permalink / raw)
  To: linux-arm-kernel

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(-)

Thanks


Nicolas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [GIT PULL] MCPM maintenance for v4.1
  2015-03-25 16:46 [GIT PULL] MCPM maintenance for v4.1 Nicolas Pitre
@ 2015-04-02 16:49 ` Nicolas Pitre
  2015-04-03 19:53 ` Olof Johansson
  1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Pitre @ 2015-04-02 16:49 UTC (permalink / raw)
  To: linux-arm-kernel


Ping.

On Wed, 25 Mar 2015, Nicolas Pitre wrote:

> 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(-)
> 
> Thanks
> 
> 
> Nicolas
> 
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [GIT PULL] MCPM maintenance for v4.1
  2015-03-25 16:46 [GIT PULL] MCPM maintenance for v4.1 Nicolas Pitre
  2015-04-02 16:49 ` Nicolas Pitre
@ 2015-04-03 19:53 ` Olof Johansson
  1 sibling, 0 replies; 3+ messages in thread
From: Olof Johansson @ 2015-04-03 19:53 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Mar 25, 2015 at 12:46:47PM -0400, Nicolas Pitre wrote:
> 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).

Hi,

This was based on a newer -rc than any other arm-soc contents (-rc4). I ended
up cherry-picking the patches over instead.

So, contents picked up but I didn't do it by merging the branch.


Thanks,

-Olof

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-03 19:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-25 16:46 [GIT PULL] MCPM maintenance for v4.1 Nicolas Pitre
2015-04-02 16:49 ` Nicolas Pitre
2015-04-03 19:53 ` Olof Johansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).