Re: [RFC PATCH 4/9] opp: core: Don't warn if required OPP device does not exist

From: Viresh Kumar
Date: Tue Oct 12 2021 - 01:51:53 EST


On 12-10-21, 14:34, Hector Martin wrote:
> The table *is* assigned to a genpd (the memory controller), it's just that
> that genpd isn't actually a parent of the CPU device. Without the patch you
> end up with:
>
> [ 3.040060] cpu cpu4: Failed to set performance rate of cpu4: 0 (-19)
> [ 3.042881] cpu cpu4: Failed to set required opps: -19
> [ 3.045508] cpufreq: __target_index: Failed to change cpu frequency: -19

Hmm, Saravana and Sibi were working on a similar problem earlier and decided to
solve this using devfreq instead. Don't remember the exact series which got
merged for this, Sibi ?

If this part fails, how do you actually set the performance state of the memory
controller's genpd ?

--
viresh