Re: [PATCH 2.6] cpufreq longrun driver fix

From: Dominik Brodowski
Date: Mon Apr 05 2004 - 12:41:13 EST


On Mon, Apr 05, 2004 at 05:50:12PM +0200, Stelian Pop wrote:
> Hi,
>
> My TM5600 Crusoe processor, found inside a Sony Vaio C1VE laptop,
> does not work with the longrun cpufreq driver.
>
> Upon investigation, the reason is that trying to set the performance
> to 80% in longrun_determine_freqs leaves the performance to 100%.
> The performance level, at least on this particular model, can be lowered
> only in 33% steps. And in order to put the performance to 66%, the
> code should try to set the barrier to 70%.
>
> The following patch does even more, it tries every value from 80%
> to 10% in 10% steps, until it succeeds in lowering the performance.
> I'm not sure this is the best way to do it but in any case,
> it works for me (and should continue to work for everybody else).

Patch looks good to me -- thanks, Stelian!
Dave, could you merge it, please?

Thanks,
Dominik

Attachment: pgp00000.pgp
Description: PGP signature