From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Google-Smtp-Source: AH8x225PoFF46r9sYfiWYNUJkHALynJyWP8lw60gzgu8GyLU3E3H4eFhp4+sUAzcBpX3b0j9/Xgm ARC-Seal: i=1; a=rsa-sha256; t=1516638640; cv=none; d=google.com; s=arc-20160816; b=UlNDM4FRUvTKmMbk/ow2BA/8nG2PCZ18zcxPez8kVdPyGBdtkfcULu3t9ZVDppTlBV GMNAs+Ou/BVVYHNmzxdcrZ71bccYLrzBm1eh7WDiQwMIxl1sH9VmUtTVf9zUwv33wFb6 Zp6T0RQU5zXLPxePbLXoudhRJHippJv3gKBTOgYEG/1tEZXLPNSGUKj7+LVXKk+aar3D lA9V1UBnIh67RTtLwFJ9JYzE/iY16k92ecCwCnN5R+pKkD+cSOFA/yF3h9an4IAcW+1A LG8B1YIz6H6+sP7ORY+KByb7fGIiKiQoeS4p4o6jPKLDRjpE4Il5IxmfMy4800k5/3CQ wGMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=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=sEaoNcysL9PdNGN+08CEj5rPvlcnKH/tAAd9gBFKjFxNuPyr+sofwUFI/0XRkVOAUv OdtNwN09Z6zOIIaPLxquHundJDFIoHW8xJbRgYMeCXohroojG8qmVcFceUpD3hva8+Y+ /O//+GICZQUEROte9WRpTj0QL5SVBiN9mk3gX3rioHfBUfRduGG4WlN2Il/z4kyIKJ3u Ys5BlrMtqhTkFIp7/u0dQWPGn9YkIfF8U09pIVdFA1SeCe2Cxs0NXgEMw2DdKRkB00dn BXPuzaDprCozM11R4YPid6s/rJ4MEtzBTbhS7Ooy5H6Utu0vtytxlWTFyQrJ6yEMD8Wd 8g/g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of sudeep.holla@arm.com designates 217.140.101.70 as permitted sender) smtp.mailfrom=sudeep.holla@arm.com Authentication-Results: mx.google.com; spf=pass (google.com: domain of sudeep.holla@arm.com designates 217.140.101.70 as permitted sender) smtp.mailfrom=sudeep.holla@arm.com 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: =?utf-8?q?1590309545205953776?= X-GMAIL-MSGID: =?utf-8?q?1590310879473009261?= X-Mailing-List: linux-kernel@vger.kernel.org List-ID: 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