From: "Rafael J. Wysocki" <rjw@rjwysocki.net>
To: Akshay Adiga <akshay.adiga@linux.vnet.ibm.com>
Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
linux-pm@vger.kernel.org, stewart@linux.vnet.ibm.com,
benh@kernel.crashing.org, svaidy@linux.vnet.ibm.com,
ego@linux.vnet.ibm.com, npiggin@gmail.com, mpe@ellerman.id.au
Subject: Re: [PATCH v3 0/2] powernv/cpuidle Device-tree parsing cleanup
Date: Wed, 04 Jul 2018 12:54:16 +0200 [thread overview]
Message-ID: <1970525.ZJ2QEpmLmV@aspire.rjw.lan> (raw)
In-Reply-To: <1530609656-13301-1-git-send-email-akshay.adiga@linux.vnet.ibm.com>
On Tuesday, July 3, 2018 11:20:54 AM CEST Akshay Adiga wrote:
>
> Device-tree parsed multiple time in powernv cpuidle and powernv
> hotplug code.
>
> First to identify supported flags. Second time, to identify deepest_state
> and first deep state. Third time, during cpuidle init to find the available
> idle states. Any change in device-tree format will lead to make changes in
> these 3 places. Errors in device-tree can be handled in a better manner.
>
> This series adds code to parse device tree once and save in global structure.
>
> Changes from v2 :
> - Fix build error (moved a hunk from patch 1 to patch 2)
> Changes from v1 :
> - fold first 2 patches into 1
> - rename pm_ctrl_reg_* as psscr_*
> - added comment stating removal of pmicr parsing code
> - removed parsing code for pmicr
> - add member valid in pnv_idle_states_t to indicate if the psscr-mask/val
> are valid combination,
> - Change function description of pnv_parse_cpuidle_dt
> - Added error handling code.
>
>
> Akshay Adiga (2):
> powernv/cpuidle: Parse dt idle properties into global structure
> powernv/cpuidle: Use parsed device tree values for cpuidle_init
>
> arch/powerpc/include/asm/cpuidle.h | 13 ++
> arch/powerpc/platforms/powernv/idle.c | 216 ++++++++++++++++----------
> drivers/cpuidle/cpuidle-powernv.c | 154 ++++--------------
> 3 files changed, 177 insertions(+), 206 deletions(-)
>
>
I am assuming that this series will go in via the powerpc tree.
Thanks,
Rafael
prev parent reply other threads:[~2018-07-04 10:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-03 9:20 Akshay Adiga
2018-07-03 9:20 ` [PATCH v3 1/2] powernv/cpuidle: Parse dt idle properties into global structure Akshay Adiga
2018-07-03 9:46 ` Gautham R Shenoy
2018-07-03 9:20 ` [PATCH v3 2/2] powernv/cpuidle: Use parsed device tree values for cpuidle_init Akshay Adiga
2018-07-03 9:47 ` Gautham R Shenoy
2018-07-04 10:54 ` Rafael J. Wysocki [this message]
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=1970525.ZJ2QEpmLmV@aspire.rjw.lan \
--to=rjw@rjwysocki.net \
--cc=akshay.adiga@linux.vnet.ibm.com \
--cc=benh@kernel.crashing.org \
--cc=ego@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=npiggin@gmail.com \
--cc=stewart@linux.vnet.ibm.com \
--cc=svaidy@linux.vnet.ibm.com \
/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
all inboxes | Powered by JetHome®