[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cpufrequtils doesn't support new AMD cpus



On Fri, 2012-02-03 at 04:16 +0200, Touko Korpela wrote:
> On Sat, Jan 07, 2012 at 03:30:04PM +0200, Touko Korpela wrote:
> > I think you should also add family 18 (AMD Fusion Llano).
> > http://www.phoronix.com/vr.php?view=16292
> > 
> > 
> > On Sat, Jan 07, 2012 at 12:06:05AM -0600, Robert Keevil wrote:
> > > Package: cpufrequtils
> > > Version: 007-2
> > > Severity: normal
> > > Tags: patch
> > > 
> > > /etc/init.d/loadcpufreq does not support AMD Bulldozer CPUs, which have a CPU
> > > family of 21. The processor is supported by the powernow_k8 module.
> > 
> > > --- debian/cpufrequtils.loadcpufreq.init.dist	2012-01-06 23:35:24.867961318 -0600
> > > +++ debian/cpufrequtils.loadcpufreq.init	2012-01-06 23:35:32.759956550 -0600
> > > @@ -119,7 +119,7 @@
> > >                      # K7
> > >                      MODULE=powernow-k7
> > >                      ;;
> > > -                15|16|17|20)
> > > +                15|16|17|20|21)
> > >                      # K8
> > >                      MODULE=powernow-k8
> > >                      ;;
> 
> I hope that you upload cpufrequtils with support for AMD processor families 18 and 21

There has been some work to generate module aliases and uevents for x86
CPU features.  This would allow udev to load cpufreq drivers just like
any other device, removing the need for cpufrequtils to know which
drivers handle which CPUs.  It looks like this will be going into Linux
3.4 but I would be open to backporting this feature to 3.2 for wheezy.

The changes I see in linux-next are:

commit 644e9cbbe3fc032cc92d0936057e166a994dc246
Author: Andi Kleen <ak@linux.intel.com>
Date:   Thu Jan 26 00:09:05 2012 +0100

    Add driver auto probing for x86 features v4

commit 3bd391f056df61e928de1680ff4a3e7e07e5b399
Author: Andi Kleen <ak@linux.intel.com>
Date:   Thu Jan 26 00:09:06 2012 +0100

    crypto: Add support for x86 cpuid auto loading for x86 crypto drivers

commit 267fc9788d0cdb77edafb506063f06961e1418f5
Author: Andi Kleen <ak@linux.intel.com>
Date:   Thu Jan 26 00:09:09 2012 +0100

    HWMON: Convert via-cputemp to x86 cpuid autoprobing

commit 9b38096fde5f9b93c3657911c3be7892cc155cbd
Author: Andi Kleen <ak@linux.intel.com>
Date:   Thu Jan 26 00:09:10 2012 +0100

    HWMON: Convert coretemp to x86 cpuid autoprobing

commit fa8031aefec0cf7ea6c2387c93610d99d9659aa2
Author: Andi Kleen <ak@linux.intel.com>
Date:   Thu Jan 26 00:09:12 2012 +0100

    cpufreq: Add support for x86 cpuinfo auto loading v4

(The crypto change should finally let us fix #568008.)

Ben.

-- 
Ben Hutchings
Lowery's Law:
             If it jams, force it. If it breaks, it needed replacing anyway.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: