Received: by 10.223.176.46 with SMTP id f43csp3108576wra; Mon, 22 Jan 2018 08:32:23 -0800 (PST) X-Google-Smtp-Source: AH8x225mXddNFUqizGPumA5AkoNb/b8IQiNMVY0+2Jo4anKlglH1/EAxmyjfkT78ByrV7kqjXvG1 X-Received: by 10.107.179.195 with SMTP id c186mr8353430iof.41.1516638743667; Mon, 22 Jan 2018 08:32:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516638743; cv=none; d=google.com; s=arc-20160816; b=XGmWPpEMs+YerqDR7yGC/kRkd2STTwHfflT2xAyRsrCuxriK37p8YPJ1sHk6FdZtwN pcRJS6kl6FW13lH3u9jA2uWPopY0VnO3O/Y3WT1CPO77K9UkTQAYCLJUuioAf7lB6ntz Mn+Lh8yTag8Ar13/kj+k0oEe1A0X5aOXBgPwpb2M2VfL2c01mBScg/+n3TnmAfQ5j5HK w32AbE27okqaAqp+b8Srev5g94vS8JUZ/1Kk+4HSv62a2idpt2kYfN2iZd8j9rhF5MmC cOn/BsOxL+9KL5IhQ+jmFBwN2NUQ9ndIi643rT9lnTQ7SBi0pddCJjBZgNa+RRrSD/r5 /lMw== 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:organization:from:references:to:subject:cc :arc-authentication-results; bh=PXWO6DBNwhZnTNwWcHTOc5q5MJKco3LvJXOL2EG7VZE=; b=FYPOMxN2HlPfNLbUORrfqD/iu/r17QylqBd5+p8rJ5I2O/nv8HClnt7s8mU/asWCsr ctepBhb1ubJfmUAbhXmPfhTbqJ9Ov8glKJoIRthMCLNfU91rCLniRT+8+w9UEnzXYQOO 9JyfTaHwMmOlt9ziVIOlZVzi66ronaYZjybAKfh4WerOF+rmf3US/hLLOLd+eSnGD3kX 38Nz/S57ShbWSCfpgBxyL5zgR2QJA6TIKshmXXFQhjWtLVQepQjsu5plItVGuYbNvBgG psY58SodJoXAiPZY50mH01Il9a9aIo0uxgyNalWukMd99MOdtVxwcucO8Vu+tXzDRhsY 1MJw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 62si6207872itm.135.2018.01.22.08.32.10; Mon, 22 Jan 2018 08:32:23 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751133AbeAVQam (ORCPT + 99 others); Mon, 22 Jan 2018 11:30:42 -0500 Received: from foss.arm.com ([217.140.101.70]:60994 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750848AbeAVQak (ORCPT ); Mon, 22 Jan 2018 11:30:40 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 287D31529; Mon, 22 Jan 2018 08:30:40 -0800 (PST) Received: from [10.1.210.28] (unknown [10.1.210.28]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1E9633F41F; Mon, 22 Jan 2018 08:30:37 -0800 (PST) Cc: "Rafael J. Wysocki" , Daniel Lezcano , linux-kernel@vger.kernel.org, Jonathan Corbet , Greg KH , Sudeep Holla , Julia Lawall Subject: Re: [PATCH] Documentation/ABI: update cpuidle sysfs documentation To: Aishwarya Pant , linux-pm@vger.kernel.org, linux-doc@vger.kernel.org References: <20180122160922.GA13380@mordor.localdomain> From: Sudeep Holla Organization: ARM Message-ID: Date: Mon, 22 Jan 2018 16:30:35 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20180122160922.GA13380@mordor.localdomain> Content-Type: text/plain; charset=utf-8 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 22/01/18 16:09, Aishwarya Pant wrote: > Update cpuidle documentation using git logs and existing documentation > in Documentation/cpuidle/sysfs.txt. This might be useful for scripting > and tracking changes in the ABI. > > Signed-off-by: Aishwarya Pant > --- > Documentation/ABI/testing/sysfs-devices-system-cpu | 79 ++++++++++++++++++++++ > 1 file changed, 79 insertions(+) > > diff --git a/Documentation/ABI/testing/sysfs-devices-system-cpu b/Documentation/ABI/testing/sysfs-devices-system-cpu > index bfd29bc8d37a..f38e52d08be1 100644 > --- a/Documentation/ABI/testing/sysfs-devices-system-cpu > +++ b/Documentation/ABI/testing/sysfs-devices-system-cpu > @@ -126,6 +126,85 @@ Description: Discover cpuidle policy and mechanism > See files in Documentation/cpuidle/ for more information. > > > +What: /sys/devices/system/cpu/cpuidle/current_driver > +What: /sys/devices/system/cpu/cpuidle/available_governors > +What: /sys/devices/system/cpu/cpuidle/current_governor > +Date: September 2007 > +KernelVersion: v2.6.24 > +Contact: Linux kernel mailing list > +Description: > + With the cpuidle_sysfs_switch boot option enabled (meant for > + developer testing), the following three attributes are visible > + instead: > + > + current_driver: (RO) Display the current idle mechanism. > + > + available_governors: (RO) Display a space separated list of > + available governors > + > + current_governor: (RW) Display the current idle policy. Users > + can switch the governor at runtime by writing to this file. > + May be you can merge above with the previous entry which already has /sys/devices/system/cpu/cpuidle/current_driver /sys/devices/system/cpu/cpuidle/current_governer_ro Otherwise looks good. -- Regards, Sudeep