Linux Power Management development
 help / color / mirror / Atom feed
From: Ulf Hansson <ulf.hansson@linaro.org>
To: Viresh Kumar <vireshk@kernel.org>, Nishanth Menon <nm@ti.com>,
	Stephen Boyd <sboyd@kernel.org>,
	Dikshita Agarwal <quic_dikshita@quicinc.com>
Cc: Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <quic_kdybcio@quicinc.com>,
	Nikunj Kela <nkela@quicinc.com>,
	Bryan O'Donoghue <bryan.odonoghue@linaro.org>,
	Thierry Reding <thierry.reding@gmail.com>,
	Mikko Perttunen <mperttunen@nvidia.com>,
	Jonathan Hunter <jonathanh@nvidia.com>,
	Stephan Gerhold <stephan@gerhold.net>,
	Ilia Lin <ilia.lin@kernel.org>,
	Stanimir Varbanov <stanimir.k.varbanov@gmail.com>,
	Vikash Garodia <quic_vgarodia@quicinc.com>,
	Ulf Hansson <ulf.hansson@linaro.org>,
	linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] OPP/pmdomain: Assign the correct required-dev
Date: Tue,  3 Sep 2024 00:48:13 +0200	[thread overview]
Message-ID: <20240902224815.78220-1-ulf.hansson@linaro.org> (raw)

The recent series for OPP/pmdomains [1] that has been queued for v6.12 via the
pmdomain tree introduces a regression for the Qcom Venus driver, which was
reported to me offlist.

This small series attempts to fix the problem by making the assignment of the
required-devs more robust and correct. More details are available in the commit
messages.

I have tested this on specific test setup with Qemu, trying to model all the
various way required-opps are being used. I would appreciate help with further
test on HW and reviews, of course!

Kind regards
Ulf Hansson

[1]
https://lore.kernel.org/all/20240822224547.385095-1-ulf.hansson@linaro.org/


Ulf Hansson (2):
  OPP: Add helper to retrieve the OF node for an OPP table
  OPP/pmdomain: Fix the assignment of the required-devs

 drivers/opp/core.c      | 15 +++++++-----
 drivers/opp/of.c        | 12 ++++++++++
 drivers/pmdomain/core.c | 52 +++++++++++++++++++++++------------------
 include/linux/pm_opp.h  | 13 +++++++++--
 4 files changed, 61 insertions(+), 31 deletions(-)

-- 
2.34.1


             reply	other threads:[~2024-09-02 22:48 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-02 22:48 Ulf Hansson [this message]
2024-09-02 22:48 ` [PATCH 1/2] OPP: Add helper to retrieve the OF node for an OPP table Ulf Hansson
2024-09-02 22:48 ` [PATCH 2/2] OPP/pmdomain: Fix the assignment of the required-devs Ulf Hansson
2024-09-03  7:16   ` Viresh Kumar
2024-09-03  9:54     ` Ulf Hansson
2024-09-03 10:53       ` Viresh Kumar
2024-09-03 11:43         ` Ulf Hansson
2024-09-04  6:40           ` Viresh Kumar
2024-09-04 12:57             ` Ulf Hansson
2024-09-06  6:14               ` Viresh Kumar
2024-09-06  8:49                 ` Ulf Hansson
2024-09-11  6:02                   ` Viresh Kumar
2024-09-11 14:15                     ` Ulf Hansson
2024-09-12 10:13                       ` Ulf Hansson

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=20240902224815.78220-1-ulf.hansson@linaro.org \
    --to=ulf.hansson@linaro.org \
    --cc=andersson@kernel.org \
    --cc=bryan.odonoghue@linaro.org \
    --cc=ilia.lin@kernel.org \
    --cc=jonathanh@nvidia.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=mperttunen@nvidia.com \
    --cc=nkela@quicinc.com \
    --cc=nm@ti.com \
    --cc=quic_dikshita@quicinc.com \
    --cc=quic_kdybcio@quicinc.com \
    --cc=quic_vgarodia@quicinc.com \
    --cc=sboyd@kernel.org \
    --cc=stanimir.k.varbanov@gmail.com \
    --cc=stephan@gerhold.net \
    --cc=thierry.reding@gmail.com \
    --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