• Dave Jones's avatar
    [CPUFREQ] fix HT oops on speedstep-ich system · b8176b8c
    Dave Jones authored
    Bugfix for #3012 @ http://bugme.osdl.org/show_bug.cgi?id=3012
    
    The speedstep-ich driver only registers for CPU0 (which is a sane thing to
    do). However, cpufreq_notify_transition() currently assumes the CPU
    specified in the freqs.cpu parameter has actually been registered with the
    CPUfreq core. This is obviously not the case for HT speedstep-ich CPUs,
    causing an OOPS. The long-term solution will be to merge the "cpufreq
    CPU group awareness patches" already RFC'ed to this list; but they still
    need a bit of polishing and testing.
    
    Thanks to Boris Fersing for reporting the bug and testing this fix.
    Signed-off-by: default avatarDominik Brodowski <linux@brodo.de>
    Signed-off-by: default avatarDave Jones <davej@redhat.com>
    b8176b8c
cpufreq.c 29.9 KB