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

Bug#678116: linux: Please backport x86 CPU driver autoprobing from Linux 3.4 to 3.2



Source: linux
Version: 3.2.20-1
Severity: normal
Tags: upstream
affects: cpufrequtils

Dear Debian folks,


»x86 CPU driver autoprobing« was merged to Linux 3.4 [1].

        There's a growing number of drivers that support a specific x86
        feature or CPU. Currently loading these drivers currently on a
        generic distribution requires various driver specific hacks and
        it often doesn't work. For example a common issue is not loading
        the SSE 4.2 accelerated CRC module: this can significantly lower
        the performance of Btrfs which relies on fast CRC. Another issue
        is loading the right CPUFREQ driver for the current CPU.
        Currently distributions often try all all possible driver until
        one sticks, which is not really a good way to do this.

        Linux already has autoprobing mechanisms for drivers, based in
        kernel notifications and udev. In this release, Linux adds auto
        probing support for CPU drivers, based on the x86 CPUID
        information, in particular based on vendor/family/model number
        and also based on CPUID feature bits. Code: (commit 1), 2, 3, 4,
        5, 6, 7, 8, 9)

This feature would also make `cpufrequtils` [2] currently shipping an
init.d script for loading the CPUFREQ driver [2] obsolete for x86 based
systems.

Since Debian Wheezy is going to ship Linux 3.2 the recommendation gotten
on systemd-devel to use a newer Linux kernel [3] do not help much. It
would be great if that feature could be backported. Probably all
distributions shipping Linux 3.2 are interested in this so it would be
great if that could be done at the upstream stable Linux 3.2.


Thanks,

Paul


[1] http://kernelnewbies.org/Linux_3.4#head-9df4e508cb97f4e138c590b9ccff3e0eda6cc7fc
[2] http://packages.debian.org/sid/cpufrequtils
[3] http://lists.freedesktop.org/archives/systemd-devel/2012-June/005514.html

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

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


Reply to: