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

From: Ulf Hansson
Date: Mon Sep 02 2024 - 18:48:30 EST


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@xxxxxxxxxx/


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