[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091025032813.GB2475@redhat.com>
Date: Sat, 24 Oct 2009 23:28:14 -0400
From: Dave Jones <davej@...hat.com>
To: Krzysztof Helt <krzysztof.h1@...zta.fm>
Cc: cpufreq@...r.kernel.org, LKLM <linux-kernel@...r.kernel.org>,
Rafal Bilski <rafalbilski@...eria.pl>
Subject: Re: [PATCH] longhaul: select Longhaul version 2 for capable CPUs
On Sat, Oct 24, 2009 at 05:25:38PM +0200, Krzysztof Helt wrote:
> From: Krzysztof Helt <krzysztof.h1@...pl>
>
> There is a typo in the longhaul detection code so only Longhaul v1 or Longhaul v3
> is selected. The Longhaul v2 is not selected even for CPUs which are capable of.
>
> Tested on PCChips Giga Pro board. Frequency changes work and the Longhaul v2
> detects that the board is not capable of changing CPU voltage.
>
> Signed-off-by: Krzysztof Helt <krzysztof.h1@...pl>
It seems we deliberately changed this two years ago, though the changelog
is a bit sparse on details..
commit 07844252ffd81ec192a62014bada1016c9703765
Author: Rafal Bilski <rafalbilski@...eria.pl>
Date: Sun Apr 22 12:26:04 2007 +0200
[CPUFREQ] Longhaul - Revert Longhaul ver. 2
There is something wrong with this code. It needs more
testing. It is better to disable it for now because support
for some machines will be broken.
Signed-off-by: Rafal Bilski <rafalbilski@...eria.pl>
Signed-off-by: Dave Jones <davej@...hat.com>
In hindsight, changing it to report V1 instead of V2 was the wrong thing
to do, and we should have done something like -ENODEV with
a printk explaining why.
I've not got any old VIA CPUs/boards to test with any more, but I'm inclined
to apply your change, but we'll have to keep an eye out for any strange
bugs on affected systems. Currently this driver should do nothing, as the
longhaul v1 registers that don't exist on longhaul V2 CPUs. With this change,
we're going to be actually doing scaling again, which may introduce instability
on some machines, as iirc, we never did get this driver 100% stable due
to a lot of really crappy motherboards.
Perhaps we should printk a warning related to this.
(We should definitly mention it in the Kconfig too, which I thought we already had)
Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists