Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp817752ybe; Thu, 5 Sep 2019 06:27:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqx6on2N9pdpUobVquHB+qE7wALecmCO9cznya8rQcTo2mazo2W1uo4aMKfALH+EtmQzYOVQ X-Received: by 2002:a62:be04:: with SMTP id l4mr3768811pff.247.1567690030358; Thu, 05 Sep 2019 06:27:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567690030; cv=none; d=google.com; s=arc-20160816; b=LCibDEbFCijijnA+QPOBKBrwS0HsG96bKoZ16svwdhjzrmawRyS0oig5YzOT9X9mCD NzAidjzx3kO251a/h5AD2BU3XyMawgmcBDadZrIKNpiVldTYFcpAMqE2/KWUQFp6KAMz rv8yGlzKSV15+3iHf4h83RiIrz1Yu6un1ciUoPdbRSIjY08O+PXaMZyqbGzcSPGtzixs wrcmAC+tsLWw0FbK0EiXTx9cwLKQjZs3r/AVNLxVw7/A1t0ZQZpPbWzWddE/8BwzUj0u mcy44YUxlJGRynj/zBuEvFiDvIy2Is+QNFw6FuD44ROsk4vWDhBxuCE/MdRDK7zyGO+i wATQ== 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:mime-version :message-id:date:subject:cc:to:from; bh=rrae9rik63B+39h2zbZp/sfPeVXnfqw1AJB8gyPwIqI=; b=pERNO25Av6zPhnbY2Fk3oHv4f5/Wu+TlehCECiNIsLT5SKp5n6A/m39PCFeA8CkpiE pws3QwqxN/mDprE3T6h2ke2HetsXIVr0HJuBlY73OLVZrvVUVLoil0ByDs9U6MrLcyWz yPLcdDneSbE3o3OPTvrC4TjXgOJqZnI5xf+Xs4/buTKPch++vDp0alKyoSngXw/5+1Ca jOD88pXkUOQgLbjHXVk82ETXsgWXmdJkGKSPCYBnOArZokY4HGLrvKbWWbzitnfD/x3o YgzMkS3ZvrB/3V53nnZQXdavZw8mb2eb9GRpsBMK79sZxeShXiCAoI8zhUWcsfOgYgls z1og== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i5si2067623pfr.263.2019.09.05.06.26.54; Thu, 05 Sep 2019 06:27:10 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389050AbfIEMDU (ORCPT + 99 others); Thu, 5 Sep 2019 08:03:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46548 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731486AbfIEMDU (ORCPT ); Thu, 5 Sep 2019 08:03:20 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E970C18C4271; Thu, 5 Sep 2019 12:03:19 +0000 (UTC) Received: from prarit.bos.redhat.com (prarit-guest.khw1.lab.eng.bos.redhat.com [10.16.200.63]) by smtp.corp.redhat.com (Postfix) with ESMTP id 413C310001B7; Thu, 5 Sep 2019 12:03:19 +0000 (UTC) From: Prarit Bhargava To: platform-driver-x86@vger.kernel.org Cc: andriy.shevchenko@intel.com, Prarit Bhargava , Srinivas Pandruvada , David Arcari , linux-kernel@vger.kernel.org Subject: [PATCH v2 0/9] tools-power-x86-intel-speed-select: Fixes and updates for output Date: Thu, 5 Sep 2019 08:03:02 -0400 Message-Id: <20190905120311.15286-1-prarit@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.redhat.com [10.5.110.62]); Thu, 05 Sep 2019 12:03:20 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some general fixes and updates for intel-speed-select. Fixes include some typos as well as an off-by-one cpu count reporting error. Updates for the output are - switching to MHz as a standard - reporting CPU frequencies instead of ratios as a standard - viewing a human-readable CPU list. - avoiding reporting "0|1" as success|fail as these can be confusing for a user. v2: Add additional patch to fix memory leak and remove help text in 8/9. Cc: Srinivas Pandruvada Cc: David Arcari Cc: linux-kernel@vger.kernel.org Prarit Bhargava (9): tools/power/x86/intel-speed-select: Fix package typo tools/power/x86/intel-speed-select: Fix help option typo tools/power/x86/intel-speed-select: Fix cpu-count output tools/power/x86/intel-speed-select: Simplify output for turbo-freq and base-freq tools/power/x86/intel-speed-select: Switch output to MHz tools/power/x86/intel-speed-select: Change turbo ratio output to maximum turbo frequency tools/power/x86/intel-speed-select: Output human readable CPU list tools/power/x86/intel-speed-select: Output success/failed for command output tools/power/x86/intel-speed-select: Fix memory leak .../x86/intel-speed-select/isst-config.c | 21 +-- .../x86/intel-speed-select/isst-display.c | 120 +++++++++++++----- 2 files changed, 98 insertions(+), 43 deletions(-) -- 2.21.0