[regression] opp issues on devices with multiple power-domains

From: Linux regression tracking (Thorsten Leemhuis)
Date: Fri Apr 05 2024 - 11:21:33 EST


Hi, Thorsten here, the Linux kernel's regression tracker.

Viresh Kumar, I noticed a report about a regression in
bugzilla.kernel.org that appears to be caused by a change of yours
(e37440e7e2c276 ("OPP: Call dev_pm_opp_set_opp() for required OPPs")
[v6.8-rc1]). As many (most?) kernel developers don't keep an eye on it,
I decided to forward it by mail.

Quoting from https://bugzilla.kernel.org/show_bug.cgi?id=218682 :

> Created attachment 306086 [details]
> Dmesg from xiaomi-onclite
>
> Devices with multiple power-domains has issues with required_opps is
> pointing to wrong opp table because it lazily just uses dt node to find it.
> But every genpd device has its own table.
>
> The issue was fixed downstream with this commit:
> https://github.com/msm8953-mainline/linux/commit/6afec1ea2cf1cdb968d646c45d1d1a80f6cb5fb2

See the ticket for more details. Note, you have to use bugzilla to reach
the reporter, as I sadly[1] can not CCed them in mails like this.

Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat)
--
Everything you wanna know about Linux kernel regression tracking:
https://linux-regtracking.leemhuis.info/about/#tldr
If I did something stupid, please tell me, as explained on that page.

[1] because bugzilla.kernel.org tells users upon registration their
"email address will never be displayed to logged out users"

P.S.: let me use this mail to also add the report to the list of tracked
regressions to ensure it's doesn't fall through the cracks:

#regzbot introduced: e37440e7e2c2760475d60c5556b59c8880a7fd63
#regzbot title: OPP: issues on devices with multiple power-domains
#regzbot from: Barnabás Czémán
#regzbot duplicate: https://bugzilla.kernel.org/show_bug.cgi?id=218682
#regzbot ignore-activity