linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Lezcano <daniel.lezcano@linaro.org>
To: Keita Kobayashi <keita.kobayashi.ym@renesas.com>,
	horms@verge.net.au, rjw@rjwysocki.net
Cc: linux-sh@vger.kernel.org, linux-pm@vger.kernel.org,
	magnus.damm@gmail.com
Subject: Re: [RFC/PATCH 0/6] Add CPUIdle support for Renesas SoCs
Date: Thu, 05 Mar 2015 18:02:11 +0000	[thread overview]
Message-ID: <54F89A23.1060008@linaro.org> (raw)
In-Reply-To: <1425444946-3084-1-git-send-email-keita.kobayashi.ym@renesas.com>

On 03/04/2015 05:55 AM, Keita Kobayashi wrote:
> Hello
>
> These patches add CPUIdle support for Renesas SoCs.
> These patches have been tested on Renesas Gen2 series with
> following cases on renesas-devel-20150301-v4.0-rc1 tag.
>
> [Test case]
>     a. Lager board(CA15 * 4)
>     b. Lager board(CA7 * 4)
>     c. Lager board(CA15 * 4 + CA7 *4)
>     d. Koelsch board(CA15 * 2)
>
> These cases work fine.
>
> Keita Kobayashi (6):
>    cpuidle: renesas: Add CPUIdle Driver for Renesas SoCs
>    ARM: shmobile: Change CPUIdle InterFace
>    ARM: shmobile: APMU: Add Core-Standby function for CPUIdle
>    ARM: shmobile: r8a7791: Add Core-Standby CPUIdle support for r8a7791
>    ARM: shmobile: r8a7790: Add Core-Standby CPUIdle support for r8a7790
>    ARM: shmobile: Enable Renesas CPUIdle for shmobile_defconfig
>
>   arch/arm/configs/shmobile_defconfig           |   2 +
>   arch/arm/mach-shmobile/common.h               |   8 +-
>   arch/arm/mach-shmobile/cpuidle.c              |  31 ++++---
>   arch/arm/mach-shmobile/platsmp-apmu.c         |  20 ++++-
>   arch/arm/mach-shmobile/pm-r8a7790.c           |  55 ++++++++++++
>   arch/arm/mach-shmobile/pm-r8a7791.c           |  41 +++++++++
>   drivers/cpuidle/Kconfig.arm                   |   8 ++
>   drivers/cpuidle/Makefile                      |   1 +
>   drivers/cpuidle/cpuidle-renesas.c             | 118 ++++++++++++++++++++++++++
>   include/linux/platform_data/renesas-cpuidle.h |  24 ++++++
>   10 files changed, 294 insertions(+), 14 deletions(-)
>   create mode 100644 drivers/cpuidle/cpuidle-renesas.c
>   create mode 100644 include/linux/platform_data/renesas-cpuidle.h

Hi Keita,

the platform approach to pass private data from the arch specific to the 
cpuidle driver no longer accepted. Unfortunately, there is no alternate 
solution upstream.

But hopefully, there is a patchset [1] submitted for upstreaming which 
unify arm32/64 into a single generic cpuidle driver and use the DT to 
define the idle functions to be used.

I suggest you have a look at this patchset if it can fit your need.

   -- Daniel

[1] https://lkml.org/lkml/2015/3/3/271


-- 
  <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog


  parent reply	other threads:[~2015-03-05 18:02 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-04  4:55 [RFC/PATCH 0/6] Add CPUIdle support for Renesas SoCs Keita Kobayashi
2015-03-04  4:55 ` [RFC/PATCH 1/6] cpuidle: renesas: Add CPUIdle Driver " Keita Kobayashi
2015-03-05 18:05   ` Daniel Lezcano
2015-03-04  4:55 ` [RFC/PATCH 2/6] ARM: shmobile: Change CPUIdle InterFace Keita Kobayashi
2015-03-04  4:55 ` [RFC/PATCH 3/6] ARM: shmobile: APMU: Add Core-Standby function for CPUIdle Keita Kobayashi
2015-03-04  4:55 ` [RFC/PATCH 4/6] ARM: shmobile: r8a7791: Add Core-Standby CPUIdle support for r8a7791 Keita Kobayashi
     [not found]   ` <CAKDJKT6vx8xhHtxCerXen0NqRao5d5hzZdj8LtSJ4hiMjhZXdA@mail.gmail.com>
2015-03-05  0:29     ` Simon Horman
2015-03-05  1:19       ` keita kobayashi
2015-03-05 18:11   ` Daniel Lezcano
2015-03-04  4:55 ` [RFC/PATCH 5/6] ARM: shmobile: r8a7790: Add Core-Standby CPUIdle support for r8a7790 Keita Kobayashi
2015-03-05 18:13   ` Daniel Lezcano
2015-03-04  4:55 ` [RFC/PATCH 6/6] ARM: shmobile: Enable Renesas CPUIdle for shmobile_defconfig Keita Kobayashi
2015-03-05 18:02 ` Daniel Lezcano [this message]
2015-03-06  9:38   ` [RFC/PATCH 0/6] Add CPUIdle support for Renesas SoCs keita kobayashi
2015-03-09 15:21     ` Lina Iyer
2015-03-09 15:32       ` Daniel Lezcano
2015-03-13  5:01         ` keita kobayashi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54F89A23.1060008@linaro.org \
    --to=daniel.lezcano@linaro.org \
    --cc=horms@verge.net.au \
    --cc=keita.kobayashi.ym@renesas.com \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=rjw@rjwysocki.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).