From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1CC6CC3F68F for ; Fri, 31 Jan 2020 11:24:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E881F22522 for ; Fri, 31 Jan 2020 11:24:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728374AbgAaLY3 (ORCPT ); Fri, 31 Jan 2020 06:24:29 -0500 Received: from mga05.intel.com ([192.55.52.43]:31212 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728268AbgAaLY3 (ORCPT ); Fri, 31 Jan 2020 06:24:29 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Jan 2020 03:24:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,385,1574150400"; d="scan'208";a="218585313" Received: from linux.intel.com ([10.54.29.200]) by orsmga007.jf.intel.com with ESMTP; 31 Jan 2020 03:24:28 -0800 Received: from abityuts-desk1.fi.intel.com (abityuts-desk1.fi.intel.com [10.237.68.148]) by linux.intel.com (Postfix) with ESMTP id A121A580277; Fri, 31 Jan 2020 03:24:25 -0800 (PST) Message-ID: <28a92577c83276baf355dc8de272a79dc854025a.camel@linux.intel.com> Subject: Re: [PATCH 2/2] intel_idle: Introduce 'states_off' module parameter From: Artem Bityutskiy Reply-To: artem.bityutskiy@linux.intel.com To: David Laight , "'Rafael J. Wysocki'" , Linux PM Cc: Linux ACPI , LKML , Len Brown , Zhang Rui , David Box , "Rafael J. Wysocki" Date: Fri, 31 Jan 2020 13:24:24 +0200 In-Reply-To: <86fb1cd10e344f76a3e96c4b6c722680@AcuMS.aculab.com> References: <1720216.0Jr2BLnqKp@kreacher> <16995896.bQtfYxEEOs@kreacher> <86fb1cd10e344f76a3e96c4b6c722680@AcuMS.aculab.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.5 (3.32.5-1.fc30) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org On Fri, 2020-01-31 at 11:07 +0000, David Laight wrote: > Unless you know exactly which cpu table is being used the > only constraint a user can request is the latency. Hi David, in all my use-cases I always know what is the CPU I am dealing with and what are the C-states. Simply because in my view they are always CPU- dependent in terms of what they do and how are they named. What you say sounds to me like you would want to disable some C-states without knowing anything (or much) about the CPU you are dealing with and the C-state names. If so, could you please share examples of such use-cases? Thanks! -- Best Regards, Artem Bityutskiy