lkml.org 
[lkml]   [2015]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.1 112/123] intel_pstate: Add get_scaling cpu_defaults param to Knights Landing
    Date
    4.1-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Lukasz Anaczkowski <lukasz.anaczkowski@intel.com>

    commit 69cefc273f942bd7bb347a02e8b5b738d5f6e6f3 upstream.

    Scaling for Knights Landing is same as the default scaling (100000).
    When Knigts Landing support was added to the pstate driver, this
    parameter was omitted resulting in a kernel panic during boot.

    Fixes: b34ef932d79a (intel_pstate: Knights Landing support)
    Reported-by: Yasuaki Ishimatsu <yishimat@redhat.com>
    Signed-off-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
    Signed-off-by: Lukasz Anaczkowski <lukasz.anaczkowski@intel.com>
    Acked-by: Kristen Carlson Accardi <kristen@linux.intel.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    drivers/cpufreq/intel_pstate.c | 1 +
    1 file changed, 1 insertion(+)

    --- a/drivers/cpufreq/intel_pstate.c
    +++ b/drivers/cpufreq/intel_pstate.c
    @@ -678,6 +678,7 @@ static struct cpu_defaults knl_params =
    .get_max = core_get_max_pstate,
    .get_min = core_get_min_pstate,
    .get_turbo = knl_get_turbo_pstate,
    + .get_scaling = core_get_scaling,
    .set = core_set_pstate,
    },
    };



    \
     
     \ /
      Last update: 2015-08-09 01:01    [W:6.527 / U:0.072 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site