Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031964AbdDZWnG (ORCPT ); Wed, 26 Apr 2017 18:43:06 -0400 Received: from cloudserver094114.home.net.pl ([79.96.170.134]:53187 "EHLO cloudserver094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031941AbdDZWm4 (ORCPT ); Wed, 26 Apr 2017 18:42:56 -0400 From: "Rafael J. Wysocki" To: "David E. Box" , jacob.jun.pan@linux.intel.com Cc: lenb@kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH] x86/intel_idle: add GLK support Date: Thu, 27 Apr 2017 00:36:42 +0200 Message-ID: <5173906.Kty4Ih4RO9@aspire.rjw.lan> User-Agent: KMail/4.14.10 (Linux/4.11.0-rc6+; KDE/4.14.9; x86_64; ; ) In-Reply-To: <20170423060625.4593-1-david.e.box@linux.intel.com> References: <20170423060625.4593-1-david.e.box@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1285 Lines: 37 On Saturday, April 22, 2017 11:06:25 PM David E. Box wrote: > From: "Box, David E" > > Gemini Lake uses the same C-states as Broxton and also uses the > IRTL MSR's to determine maximum C-state latency. > > Signed-off-by: David E. Box You could use the code names consistently in your subjects (but I can fix this up). Jacob, any concerns? > --- > drivers/idle/intel_idle.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c > index e045a5c..778af71 100644 > --- a/drivers/idle/intel_idle.c > +++ b/drivers/idle/intel_idle.c > @@ -1097,6 +1097,7 @@ static const struct x86_cpu_id intel_idle_ids[] __initconst = { > ICPU(INTEL_FAM6_XEON_PHI_KNL, idle_cpu_knl), > ICPU(INTEL_FAM6_XEON_PHI_KNM, idle_cpu_knl), > ICPU(INTEL_FAM6_ATOM_GOLDMONT, idle_cpu_bxt), > + ICPU(INTEL_FAM6_ATOM_GEMINI_LAKE, idle_cpu_bxt), > ICPU(INTEL_FAM6_ATOM_DENVERTON, idle_cpu_dnv), > {} > }; > @@ -1309,6 +1310,7 @@ static void intel_idle_state_table_update(void) > ivt_idle_state_table_update(); > break; > case INTEL_FAM6_ATOM_GOLDMONT: > + case INTEL_FAM6_ATOM_GEMINI_LAKE: > bxt_idle_state_table_update(); > break; > case INTEL_FAM6_SKYLAKE_DESKTOP: >