linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Viresh Kumar <viresh.kumar@linaro.org>
To: Nishanth Menon <nm@ti.com>,
	"Rafael J. Wysocki" <rjw@rjwysocki.net>,
	Stephen Boyd <sboyd@kernel.org>,
	Viresh Kumar <vireshk@kernel.org>
Cc: Viresh Kumar <viresh.kumar@linaro.org>,
	linux-pm@vger.kernel.org,
	Vincent Guittot <vincent.guittot@linaro.org>,
	niklas.cassel@linaro.org, d-gerlach@ti.com,
	linux-kernel@vger.kernel.org
Subject: [PATCH 0/4] OPP: Fix more bugs and improve error handling
Date: Thu,  4 Oct 2018 09:46:19 +0530	[thread overview]
Message-ID: <cover.1538625101.git.viresh.kumar@linaro.org> (raw)

Hello,

Few more bugs have surfaced recently, few of which have been there
forever but came to light only after the recent changes in OPP core.

Dave already sent fix for one of them sometime back and as he isn't
around for a week, I picked up the patch, modified it and posting V2 of
it here.

Niklas already helped testing two of these on Qcom hardware where he
originally faced the issues.

--
Viresh

Dave Gerlach (1):
  PM / OPP: _of_add_opp_table_v2(): increment count only if OPP is added

Viresh Kumar (3):
  OPP: Improve error handling in dev_pm_opp_of_cpumask_add_table()
  OPP: Return error on error from dev_pm_opp_get_opp_count()
  cpufreq: dt: Try freeing static OPPs only if we have added them

 drivers/cpufreq/cpufreq-dt.c | 34 +++++++++++++-----------
 drivers/opp/core.c           |  2 +-
 drivers/opp/of.c             | 51 ++++++++++++++++++++++--------------
 3 files changed, 52 insertions(+), 35 deletions(-)

-- 
2.18.0.rc1.242.g61856ae69a2c

             reply	other threads:[~2018-10-04  4:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-04  4:16 Viresh Kumar [this message]
2018-10-04  4:16 ` [PATCH 1/4] OPP: Improve error handling in dev_pm_opp_of_cpumask_add_table() Viresh Kumar
2018-10-04  4:16 ` [PATCH 2/4] OPP: Return error on error from dev_pm_opp_get_opp_count() Viresh Kumar
2018-10-04  4:16 ` [PATCH 3/4] cpufreq: dt: Try freeing static OPPs only if we have added them Viresh Kumar
2018-10-04  4:16 ` [PATCH V2 4/4] PM / OPP: _of_add_opp_table_v2(): increment count only if OPP is added Viresh Kumar

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=cover.1538625101.git.viresh.kumar@linaro.org \
    --to=viresh.kumar@linaro.org \
    --cc=d-gerlach@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=niklas.cassel@linaro.org \
    --cc=nm@ti.com \
    --cc=rjw@rjwysocki.net \
    --cc=sboyd@kernel.org \
    --cc=vincent.guittot@linaro.org \
    --cc=vireshk@kernel.org \
    /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).