Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3471266pxu; Mon, 19 Oct 2020 12:58:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxn45ki9OuM6EONM92KxkjdC7cegI+cLZUu8jNF6IPxp7g77WK5JkY3sYPxCKE7yn2H+92w X-Received: by 2002:a17:906:3a1a:: with SMTP id z26mr1460057eje.519.1603137517062; Mon, 19 Oct 2020 12:58:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603137517; cv=none; d=google.com; s=arc-20160816; b=s+zH0aRcyXAS8CycJq1elEOPfGL3x+VtFHvU+lAj/j6tOYOAs2aHHq/kCORhXSeR50 5DjbwUsyUAwHaJcKWNlD+Cn0ce8KB9MpmpPMWA9tBSRfoKmruFo62B+0yWw5PxD0uMGD 3QNGCF2HFSEuRD6FJ4dSKJ5m2hQRhv5vbzkso4KxyglwiZS+C1/eJsasHLIiU6+bHy6j xIHIyOhOj67zc3XqYUfWOSrhOQj+bI7OadT6K5SC87jb5xfsdQQFuNQbhwaEK5ylzkGV 7CXcjzmg+pjSANz0T+GRPuHVsCve1n/GpUoA4/aWiSlDzYYDdylDoC2uWlhBskXrUQ/g 3EZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type :content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:organization:from:cc:to:subject :dkim-signature:dkim-filter; bh=oRJpa3IYSgzpxiEPraiJpZ41NHzoahgdfRcWkR+DQBA=; b=kYtZkjqx+CwclXGP89HlUtv2/VMB5AXDHuaWqyGc4jJ05etG9jerh7CXg5mWeZqtAH CazVYiizd57CpsB23qKew1qhwkz+rBc8z4oYjl+s4xOIzDvy+8G4TIzQQiYHfD3fd8nZ JIMn85UzGKjGSO7fnAS64JMQChPBuUwilds0Uo/LrCWBtYZBx+Z+sWVJiASDD8VhcQcd wb6a1uEdAo+ZhPHNlaPXua66bKOGzc7bn3fhO6Z0+/BQ6k/viA9XdPv3WapDYeOBiYj0 UTOaq/v/p4HfK/6bUWqQAezs0ynt64CQc872uP4AmEAVdzHJS1kmYi5yPWEhpUtd36nS XBzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=L5BIFXm0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dc4si641591ejb.526.2020.10.19.12.58.14; Mon, 19 Oct 2020 12:58:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=L5BIFXm0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731590AbgJSDmk (ORCPT + 99 others); Sun, 18 Oct 2020 23:42:40 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:60393 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731528AbgJSDmj (ORCPT ); Sun, 18 Oct 2020 23:42:39 -0400 Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20201019034237epoutp026e04813bef9bda0388b3e181e2b9feef~-R9FuGXv70660606606epoutp022 for ; Mon, 19 Oct 2020 03:42:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20201019034237epoutp026e04813bef9bda0388b3e181e2b9feef~-R9FuGXv70660606606epoutp022 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1603078957; bh=oRJpa3IYSgzpxiEPraiJpZ41NHzoahgdfRcWkR+DQBA=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=L5BIFXm03c2TkvSSywztk/IDp/Vnj2bk4J7JjYd0SWWaoX2RcnRAz8PLtRMBV7qnY X6CkKbLvmRp4UVEZJ2e4UDqDGcHMgFpagdN9huU2259gG9oIVK3M2YjaUT/Th/QI8/ MRu85QLsCQnexar4bDq+J3ipbgLDgnLWVI86NtWU= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20201019034236epcas1p282ec51c5a586068851723318ae8d89a8~-R9FQNWiX0388903889epcas1p2x; Mon, 19 Oct 2020 03:42:36 +0000 (GMT) Received: from epsmges1p3.samsung.com (unknown [182.195.40.152]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4CF2dQ1Y6mzMqYm8; Mon, 19 Oct 2020 03:42:34 +0000 (GMT) Received: from epcas1p1.samsung.com ( [182.195.41.45]) by epsmges1p3.samsung.com (Symantec Messaging Gateway) with SMTP id 31.A2.09582.A2B0D8F5; Mon, 19 Oct 2020 12:42:34 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas1p1.samsung.com (KnoxPortal) with ESMTPA id 20201019034233epcas1p1ef81512dec819d2e2f269b5ab8600c07~-R9Ciyvp-0092100921epcas1p1f; Mon, 19 Oct 2020 03:42:33 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20201019034233epsmtrp121eb7337688477ba9c3fb2bf8bbc5bd5~-R9Ch7LCJ1750317503epsmtrp16; Mon, 19 Oct 2020 03:42:33 +0000 (GMT) X-AuditID: b6c32a37-899ff7000000256e-f3-5f8d0b2a19a4 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 36.91.08745.92B0D8F5; Mon, 19 Oct 2020 12:42:33 +0900 (KST) Received: from [10.113.221.102] (unknown [10.113.221.102]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20201019034233epsmtip18c87992ec19756baaae868213e31094f~-R9CMmaMD0773107731epsmtip1j; Mon, 19 Oct 2020 03:42:33 +0000 (GMT) Subject: Re: [PATCH v3 2/2] PM / devfreq: Add governor attribute flag for specifc sysfs nodes To: Dmitry Osipenko , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org Cc: leonard.crestez@nxp.com, lukasz.luba@arm.com, enric.balletbo@collabora.com, hl@rock-chips.com, thierry.reding@gmail.com, jonathanh@nvidia.com, abel.vesa@nxp.com, k.konieczny@samsung.com, b.zolnierkie@samsung.com, chanwoo@kernel.org, myungjoo.ham@samsung.com, kyungmin.park@samsung.com From: Chanwoo Choi Organization: Samsung Electronics Message-ID: <70d5e625-aae0-cb86-e5d5-1c362098876e@samsung.com> Date: Mon, 19 Oct 2020 12:55:58 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Thunderbird/59.0 MIME-Version: 1.0 In-Reply-To: <63ac80e9-7f31-8447-06ca-e7d830a4aed4@gmail.com> Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrFJsWRmVeSWpSXmKPExsWy7bCmrq4Wd2+8wa41LBbLLh1ltNg4Yz2r xcQbV1gsVn98zGix5vYhRosfG04xW7TMWsRiseDTDFaLs01v2C1W3P3IanF51xw2i8+9Rxgt Or/MYrNY2NTCbnG7cQWbxc9d81gcBDzWzFvD6LHj7hJGj52z7rJ7bFrVyebR2/yOzWPjux1M Hn9n7Wfx6NuyitHj8ya5AM6obJuM1MSU1CKF1Lzk/JTMvHRbJe/geOd4UzMDQ11DSwtzJYW8 xNxUW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S-MailID: 20201019034233epcas1p1ef81512dec819d2e2f269b5ab8600c07 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20201007045340epcas1p3b4d0f9187f5330a45d20d9d9b79f1767 References: <20201007050703.20759-1-cw00.choi@samsung.com> <20201007050703.20759-3-cw00.choi@samsung.com> <63ac80e9-7f31-8447-06ca-e7d830a4aed4@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/19/20 9:38 AM, Dmitry Osipenko wrote: > ... >> diff --git a/Documentation/ABI/testing/sysfs-class-devfreq b/Documentation/ABI/testing/sysfs-class-devfreq >> index deefffb3bbe4..67af3f31e17c 100644 >> --- a/Documentation/ABI/testing/sysfs-class-devfreq >> +++ b/Documentation/ABI/testing/sysfs-class-devfreq >> @@ -37,20 +37,6 @@ Description: >> The /sys/class/devfreq/.../target_freq shows the next governor >> predicted target frequency of the corresponding devfreq object. >> >> -What: /sys/class/devfreq/.../polling_interval >> -Date: September 2011 >> -Contact: MyungJoo Ham >> -Description: >> - The /sys/class/devfreq/.../polling_interval shows and sets >> - the requested polling interval of the corresponding devfreq >> - object. The values are represented in ms. If the value is >> - less than 1 jiffy, it is considered to be 0, which means >> - no polling. This value is meaningless if the governor is >> - not polling; thus. If the governor is not using >> - devfreq-provided central polling >> - (/sys/class/devfreq/.../central_polling is 0), this value >> - may be useless. >> - >> What: /sys/class/devfreq/.../trans_stat >> Date: October 2012 >> Contact: MyungJoo Ham >> @@ -65,14 +51,6 @@ Description: >> as following: >> echo 0 > /sys/class/devfreq/.../trans_stat >> >> -What: /sys/class/devfreq/.../userspace/set_freq >> -Date: September 2011 >> -Contact: MyungJoo Ham >> -Description: >> - The /sys/class/devfreq/.../userspace/set_freq shows and >> - sets the requested frequency for the devfreq object if >> - userspace governor is in effect. >> - >> What: /sys/class/devfreq/.../available_frequencies >> Date: October 2012 >> Contact: Nishanth Menon >> @@ -109,6 +87,35 @@ Description: >> The max_freq overrides min_freq because max_freq may be >> used to throttle devices to avoid overheating. >> >> +What: /sys/class/devfreq/.../polling_interval >> +Date: September 2011 >> +Contact: MyungJoo Ham >> +Description: >> + The /sys/class/devfreq/.../polling_interval shows and sets >> + the requested polling interval of the corresponding devfreq >> + object. The values are represented in ms. If the value is >> + less than 1 jiffy, it is considered to be 0, which means >> + no polling. This value is meaningless if the governor is >> + not polling; thus. If the governor is not using >> + devfreq-provided central polling >> + (/sys/class/devfreq/.../central_polling is 0), this value >> + may be useless. >> + >> + A list of governors that support the node: >> + - simple_ondmenad >> + - tegra_actmon >> + >> +What: /sys/class/devfreq/.../userspace/set_freq >> +Date: September 2011 >> +Contact: MyungJoo Ham >> +Description: >> + The /sys/class/devfreq/.../userspace/set_freq shows and >> + sets the requested frequency for the devfreq object if >> + userspace governor is in effect. >> + >> + A list of governors that support the node: >> + - userspace >> + >> What: /sys/class/devfreq/.../timer >> Date: July 2020 >> Contact: Chanwoo Choi >> @@ -120,3 +127,6 @@ Description: >> as following: >> echo deferrable > /sys/class/devfreq/.../timer >> echo delayed > /sys/class/devfreq/.../timer >> + >> + A list of governors that support the node: >> + - simple_ondemand > > Hello, Chanwoo! > > Could you please explain the reason of changing the doc? It looks like > you only added the lists of governors, but is it a really useful change? > Are you going to keep these lists up-to-date? I think that is is useful. Because user cannot know why specific sysfs node (like 'timer') is absence according to governor. So, in order to remove the user confusion, better to add the information to documentation. -- Best Regards, Chanwoo Choi Samsung Electronics