Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932628AbbGUUMG (ORCPT ); Tue, 21 Jul 2015 16:12:06 -0400 Received: from mga01.intel.com ([192.55.52.88]:27491 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754716AbbGUULs (ORCPT ); Tue, 21 Jul 2015 16:11:48 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,518,1432623600"; d="scan'208";a="732976560" Date: Tue, 21 Jul 2015 13:11:47 -0700 From: Kristen Carlson Accardi To: Lukasz Anaczkowski Cc: , , , , , Dasaratharaman Chandramouli Subject: Re: [PATCH] intel_pstate: Add get_scaling cpu_defaults param to Knights Landing Message-ID: <20150721131147.75f772bc@kcaccard-desk.amr.corp.intel.com> In-Reply-To: <1437468073-9668-1-git-send-email-lukasz.anaczkowski@intel.com> References: <1437468073-9668-1-git-send-email-lukasz.anaczkowski@intel.com> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1342 Lines: 33 On Tue, 21 Jul 2015 10:41:13 +0200 Lukasz Anaczkowski wrote: > 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. > > Reported-by: Yasuaki Ishimatsu > Signed-off-by: Dasaratharaman Chandramouli > Signed-off-by: Lukasz Anaczkowski > --- > drivers/cpufreq/intel_pstate.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c > index 15ada47..fcb929e 100644 > --- a/drivers/cpufreq/intel_pstate.c > +++ b/drivers/cpufreq/intel_pstate.c > @@ -681,6 +681,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, > }, > }; Acked-by: Kristen Carlson Accardi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/