Re: WARNING: at drivers/opp/core.c:678 dev_pm_opp_set_rate+0x4cc/0x5d4 - on arm x15

From: Viresh Kumar
Date: Fri Oct 16 2020 - 01:46:01 EST


+Dave,

On 15-10-20, 15:26, Naresh Kamboju wrote:
> The arm x15 boot failed on Linus 's mainline version 5.9.0.

Don't mention the version as this doesn't give the right information.
You tested it over 5.9 + 5.10-rc1 material.

> I have listed the latest commits on drivers/opp/ .
>
> metadata:
> git branch: master
> git repo: https://gitlab.com/Linaro/lkft/mirrors/torvalds/linux-mainline
> git commit: 3e4fb4346c781068610d03c12b16c0cfb0fd24a3
> git describe: v5.9-4105-g3e4fb4346c78
> make_kernelversion: 5.9.0
> kernel-config:
> https://builds.tuxbuild.com/2BB2g61t29VaadVLXEl4cQ/kernel.config
>
>
> ------------[ cut here ]------------
> [ 13.530971] sdhci-omap 4809c000.mmc: Got CD GPIO
> [ 13.535647] WARNING: CPU: 0 PID: 137 at drivers/opp/core.c:678
> dev_pm_opp_set_rate+0x4cc/0x5d4

Looks like the stuff from drivers/opp/ti-opp-supply.c supply didn't
work as expected.

One of the major changes came with these patches:

dc279ac6e5b4 cpufreq: dt: Refactor initialization to handle probe deferral properly
dd461cd9183f opp: Allow dev_pm_opp_get_opp_table() to return -EPROBE_DEFER

And that's where I think it may have gone wrong.

Dave: Will you (or someone else from TI) can have a look at it as well
?

--
viresh