• Dave Mueller's avatar
    It looks like commit 394122ab ("cpumask: · e9a0d8f0
    Dave Mueller authored
    avoid playing with cpus_allowed in speedstep-ich.c") broke the
    speedstep-ich driver.
    
    The problem seems to be that speedstep-lib.c:speedstep_get_frequency() is
    called with a wrong value as "processor" parameter by the code below,
    resulting in a return value of 0.  The "processor" parameter should be the
    value returned by "speedstep_detect_processor()"
    
    Addresses http://bugzilla.kernel.org/show_bug.cgi?id=14340
    
    Cc: Rusty Russell <rusty@rustcorp.com.au>
    Cc: Dominik Brodowski <linux@brodo.de>
    Cc: Dave Jones <davej@redhat.com>
    Cc: Eric Pielbug <e.a.b.piel@tudelft.nl>
    Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    e9a0d8f0
speedstep-ich.c 10.9 KB