Re: [PATCH v2 3/3] PM / EM: Skip inefficient OPPs

From: Viresh Kumar
Date: Tue Jun 01 2021 - 04:56:37 EST


On 01-06-21, 09:47, Vincent Donnefort wrote:
> Seems like no one has been really convinced about the arguments in favor of
> keeping inefficiencies into EM :) Let me then give a shot with marking the OPPs
> for the next version.

Right, I think this is what you should do:

- Add another flag for OPP entries, and mark them inefficient.

- Whoever traverses the list to find the next frequency (cpufreq here), checks
that flag somehow (or replicates that to its own table) and get the right
frequency out.

--
viresh