From patchwork Tue May 8 15:12:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juri Lelli X-Patchwork-Id: 10386349 X-Patchwork-Delegate: rjw@sisk.pl Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5CCD260353 for ; Tue, 8 May 2018 15:13:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B3BA27FA9 for ; Tue, 8 May 2018 15:13:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3FF132833E; Tue, 8 May 2018 15:13:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AAEFE28174 for ; Tue, 8 May 2018 15:13:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754913AbeEHPNI (ORCPT ); Tue, 8 May 2018 11:13:08 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:37527 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754828AbeEHPNH (ORCPT ); Tue, 8 May 2018 11:13:07 -0400 Received: by mail-wr0-f196.google.com with SMTP id h5-v6so8737821wrm.4 for ; Tue, 08 May 2018 08:13:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=AsLHlghrEvpQkh0HuFkzwsK80GpQkO16pzDmCzipwxc=; b=HnxCT7lCOGP19IOg7/0QpVuMoMJXYfKOToUUnViIYQzi62m61Inv4gOG15uKKLYwHV /eTKVzA5eR8h8cZTQg4K7WCqjSF7rLdS0o0C0JA3VqWQpA8ul8P3PWVXWFqxMs2NxCax 7w9UqpngZGR6mllLA85NlDeUtZ+EcJD2yI9gCWtYOP8VuWEoFJ7SSz7h3CVtQji/ml0N L49IlzTpbu0Vt1NmI7hCgREY6wSG6icFxj/Jmd1FRpy5OBUIYx5pQBomGet3L8wBQFby BwW4oMONZowKS8s8MvYsSz/KFhogSMTuRiMugzrg8elQDAI4thyN4u10iDVeu+gLi8s3 XODg== X-Gm-Message-State: ALQs6tB2ujSzkQYKW5mmz2AatNBh4ThwofZmIrKf2DVBlakSSXP+ffxq 3Wts7WwefUqxlMCZbIHCHYXXOw== X-Google-Smtp-Source: AB8JxZrdxBdN+hhkf/Lg8UmubvmIb9UDkZyKTFEIbwdFIJBS1oO+gH9L5YEhkwoBsXagVdc913cxjg== X-Received: by 2002:adf:87ab:: with SMTP id b40-v6mr35677803wrb.156.1525792385865; Tue, 08 May 2018 08:13:05 -0700 (PDT) Received: from localhost.localdomain.com ([151.15.207.48]) by smtp.gmail.com with ESMTPSA id w40-v6sm42696982wrc.69.2018.05.08.08.13.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 08 May 2018 08:13:05 -0700 (PDT) From: Juri Lelli To: linux-kernel@vger.kernel.org Cc: Juri Lelli , Jonathan Corbet , "Rafael J. Wysocki" , Srinivas Pandruvada , linux-doc@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH] Documentation/admin-guide/pm/intel_pstate: fix Active Mode w/o HWP paragraph Date: Tue, 8 May 2018 17:12:09 +0200 Message-Id: <20180508151209.9314-1-juri.lelli@redhat.com> X-Mailer: git-send-email 2.14.3 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP P-state selection algorithm (powersave or performance) is selected by echoing the desired choice to scaling_governor sysfs attribute and not to scaling_cur_freq (as currently stated). Fix it. Signed-off-by: Juri Lelli Cc: Jonathan Corbet Cc: "Rafael J. Wysocki" Cc: Srinivas Pandruvada Cc: linux-doc@vger.kernel.org Cc: linux-pm@vger.kernel.org Reviewed-by: Srinivas Pandruvada --- Documentation/admin-guide/pm/intel_pstate.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/admin-guide/pm/intel_pstate.rst b/Documentation/admin-guide/pm/intel_pstate.rst index d2b6fda3d67b..ab2fe0eda1d7 100644 --- a/Documentation/admin-guide/pm/intel_pstate.rst +++ b/Documentation/admin-guide/pm/intel_pstate.rst @@ -145,7 +145,7 @@ feature enabled.] In this mode ``intel_pstate`` registers utilization update callbacks with the CPU scheduler in order to run a P-state selection algorithm, either -``powersave`` or ``performance``, depending on the ``scaling_cur_freq`` policy +``powersave`` or ``performance``, depending on the ``scaling_governor`` policy setting in ``sysfs``. The current CPU frequency information to be made available from the ``scaling_cur_freq`` policy attribute in ``sysfs`` is periodically updated by those utilization update callbacks too.