mbox series

[0/2] OPP/pmdomain: Assign the correct required-dev

Message ID 20240902224815.78220-1-ulf.hansson@linaro.org
Headers show
Series OPP/pmdomain: Assign the correct required-dev | expand

Message

Ulf Hansson Sept. 2, 2024, 10:48 p.m. UTC
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(-)