Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp492420ybn; Thu, 3 Oct 2019 08:01:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqz6hfuKpccGVUlOkT4EZzQegSigSPyu+FmgjxiPb8ykCBdGQyMEN6YGpue/UA4fWECHoaNi X-Received: by 2002:a05:6402:1a52:: with SMTP id bf18mr10066683edb.67.1570114866170; Thu, 03 Oct 2019 08:01:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570114866; cv=none; d=google.com; s=arc-20160816; b=mwTZHV+njHRddVmcgvI+LuHS3c2Z25yCWeY/7ScirSa4cmCuH/0PDsSSaVNwcKytQ2 Jx+bQ5c4j43/2+m1dzGVpRJQxJ0gKXJuIeBRhJ7+OFCB6dqEKBkLDeoaNEWkPZyb7/p+ wHUGwl0YVXKp1Yh3/LcqDjDf6Ww5HLCfUaMmMv9e0FyKwT/0SDt6Q2zVvhAmW2B633sZ CyK+a5YDPT2zLj8YVN344QTuG+rYZO9x3Q/q7PpRmekYumlDTN2AS0k1zcrDyy4RoLJR k3ABaC0yEd/CKV0vvOKxT4cEGm1LynfM/qlbUc3z6l6v4dMMWrCFAWB+NjbbgYCEz8le qx2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=okX/jr+sxObS6Smjk7WQ3QcTPymCzhVGKqJfDdmpITI=; b=yoOpKHfJJPemEcP8GoE/Sftb/n7xHatDOaTSoCSXfdnP+lOkM20d8W+Rv0n9Q5SeJk kqk8ISrp6w0LGmgE8ew/5gf1UxeP8WS/5K2E/34Nf9AuhILwfI0dPiiiSMyBrMrdlxOB gwYkRvLb9thvVsdNzIeWNv5Qm7C9O+7wuxp8ZXJT9scEaDkYsrwLmJhRFoPv103YfwiD 3x/R/TCAFocWjnQseO7V0DUjoLRKYj4N9b8HUJFjXgSxZDrT0p6HbjkqsU0WfMa6Pp2L IAWk376garCUJ2orSu2FIb9YPoGCNNl2DUK7d1AKWlRUZSoR93jCVqQI4fEDKmXLhXkX AzXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dAnqZUeo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f6si1376377ejx.293.2019.10.03.08.00.36; Thu, 03 Oct 2019 08:01:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dAnqZUeo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728766AbfJCOiz (ORCPT + 99 others); Thu, 3 Oct 2019 10:38:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:48052 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726199AbfJCOiz (ORCPT ); Thu, 3 Oct 2019 10:38:55 -0400 Received: from [192.168.1.112] (c-24-9-64-241.hsd1.co.comcast.net [24.9.64.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 216F320865; Thu, 3 Oct 2019 14:38:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570113534; bh=8iDJP4OSCGobLMg+w/PIyt2SvnXlydJll5PC5aK6pUk=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=dAnqZUeojGD1ygRt+/5H/4Fp1IPvujZCZGWeW/f1du7O+gw9aHkP7IYvj4Q773k8r wfrnlkKkT9OK26gYsOMyRF6b3PBak4izJHsHWeCDvZhnLztusmCPrHp47LCwj1B0Wq ekNL/6a9kZKkXTY9A4yFVDnFN2nZLOEAMVY2xYac= Subject: Re: [PATCH v2] cpupower : Handle set and info subcommands correctly To: Abhishek Goel , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: trenn@suse.com, ego@linux.vnet.ibm.com, shuah References: <20190913080712.26383-1-huntbag@linux.vnet.ibm.com> From: shuah Message-ID: <2614b112-5e19-96dc-179b-8d4e3b8c8858@kernel.org> Date: Thu, 3 Oct 2019 08:38:53 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190913080712.26383-1-huntbag@linux.vnet.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/13/19 2:07 AM, Abhishek Goel wrote: > Cpupower tool has set and info options which are being used only by > x86 machines. This patch removes support for these two subcommands > from generic cpupower utility. Thus, these two subcommands will now be > available only for intel. > This removes the ambiguous error message while using set option in case > of using non-intel systems. > > Without this patch on a non-intel box: > > root@ubuntu:~# cpupower info > System does not support Intel's performance bias setting > > root@ubuntu:~# cpupower set -b 10 > Error setting perf-bias value on CPU > > With this patch on a non-intel box: > > root@ubuntu:~# cpupower info > Supported commands are: > frequency-info > frequency-set > idle-info > idle-set > monitor > help > > Same result for set subcommand. > > This patch does not affect results on a intel box. > > Signed-off-by: Abhishek Goel > Acked-by: Thomas Renninger > --- > > changes from v1: > Instead of bailing out early in set and info commands, in V2, we > are cutting out support for these two commands for non-intel > systems. thanks. I will get this in for 5.4-rc3 veru likely. Definitely in 5.4 -- Shuah