Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9DB57C433F5 for ; Sun, 6 Mar 2022 14:51:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230215AbiCFOwI (ORCPT ); Sun, 6 Mar 2022 09:52:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229541AbiCFOwI (ORCPT ); Sun, 6 Mar 2022 09:52:08 -0500 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D531B6A035 for ; Sun, 6 Mar 2022 06:51:15 -0800 (PST) X-IronPort-AV: E=McAfee;i="6200,9189,10277"; a="254172859" X-IronPort-AV: E=Sophos;i="5.90,159,1643702400"; d="scan'208";a="254172859" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Mar 2022 06:51:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,159,1643702400"; d="scan'208";a="812235549" Received: from linux.intel.com ([10.54.29.200]) by fmsmga005.fm.intel.com with ESMTP; 06 Mar 2022 06:51:15 -0800 Received: from abityuts-desk1.fi.intel.com (abityuts-desk1.fi.intel.com [10.237.68.32]) by linux.intel.com (Postfix) with ESMTP id 1AD06580A85; Sun, 6 Mar 2022 06:51:13 -0800 (PST) Message-ID: Subject: Re: [PATCH] turbostat: fix PC6 displaying on some systems From: Artem Bityutskiy To: "Rafael J. Wysocki" Cc: Linux PM Mailing List Date: Sun, 06 Mar 2022 16:51:12 +0200 In-Reply-To: <20211004105224.3145916-1-dedekind1@gmail.com> References: <20211004105224.3145916-1-dedekind1@gmail.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.4 (3.38.4-1.fc33) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org On Mon, 2021-10-04 at 13:52 +0300, Artem Bityutskiy wrote: > From: Artem Bityutskiy > > 'MSR_PKG_CST_CONFIG_CONTROL' encodes the deepest allowed package C-state limit, > and turbostat decodes it. > > Before this patch: turbostat does not recognize value "3" on Ice Lake Xeon > (ICX), treats it as "unknown", and does not display any package C-states in the > results table. > > After this patch: turbostat recognizes value 3 on ICX, treats it as "PC6", and > correctly displays package C-states in the results table. > > Signed-off-by: Artem Bityutskiy Hi Rafael, would you please take a look at this patch and possibly apply it? Thanks!