Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1883860pxb; Mon, 18 Jan 2021 02:26:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJzz3d0DXjTNrZenQZnfMFABY+mEfJlcUOMkeGiZ9bWub3tBi111DUihiUWR99phemQNRmpz X-Received: by 2002:a17:906:2747:: with SMTP id a7mr4327741ejd.250.1610965611580; Mon, 18 Jan 2021 02:26:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610965611; cv=none; d=google.com; s=arc-20160816; b=hXSlbYONa2Oe2XYEnJQfIMfvC4Ck2EbyX9XvZDd5lCJ/clui3a51yfK/B8Ejd5o1vt XAi3fKRMyCWan1CXctKKT5N31QSC8xDlOf0hWW/IzSGpSGyR3VeTyt448c8tMt6VRMh5 WBLvKEuXfjTahaZ0PjWnpoFtZG4Kn9KCEj1Vzke98EAgIUaKB4yb0702Zjo30gSm5/kG cflSa8ePbT2tVrB9LKCgGBfQb/yNcbCyp7BeaABPDyaQXcsVyLBXbI6SzTJJi4XXB4F3 AMELasANNTMophgtFGVn2muzP8nEA8fTOTKTrkpNPLnHTY6F6WoKauic3bMee50B2YzX +W8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=FXsb+pVoJFMf6XyP+rvvlmx0qSzIdJc4cIDsROaHACI=; b=KSYTcZlM1thUt+MV/pKeBO0LzlqXQqbJ6Wp6M6hu5crag7yu51UpF6P8w01QHCc+Jv 37Yil30wtybjroqDlUyT3Q+v2qzBIWYuU/srrnhtfZqoWuC2dP+2RAbWZQLpuAciyCHx 0d+6saVARR3/SXAtY7AC+p7j++Nx00ZSzy1hbQyVRtju54NchExvpbqpy9JDaVQgwhvF bOKydUIUhQP2LO4cyiLhhcC6UFe1shCa8NBFCE/GZAXp13nUPTDzcZ9vdH8UJ/fyLFLY yGYLK8yxLikY+s6HFY3JRoCeS8W13w5SddXbOkjO9grnr1G8/xXVeb+etuAIHkIA5dbR ondQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h6si865334ejj.149.2021.01.18.02.26.26; Mon, 18 Jan 2021 02:26:51 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389960AbhARKSc (ORCPT + 99 others); Mon, 18 Jan 2021 05:18:32 -0500 Received: from foss.arm.com ([217.140.110.172]:59874 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389378AbhARJ5N (ORCPT ); Mon, 18 Jan 2021 04:57:13 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4DCCC1FB; Mon, 18 Jan 2021 01:56:27 -0800 (PST) Received: from [10.57.2.166] (unknown [10.57.2.166]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1BE193F66E; Mon, 18 Jan 2021 01:56:25 -0800 (PST) Subject: Re: [PATCH] PM / devfreq: Add sysfs attributes to simple_ondemand governor To: Chanwoo Choi , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Cc: myungjoo.ham@samsung.com, kyungmin.park@samsung.com References: <20210115170530.22603-1-lukasz.luba@arm.com> From: Lukasz Luba Message-ID: <3b0c23f9-a160-6cbc-e2e1-8b9afd2d094d@arm.com> Date: Mon, 18 Jan 2021 09:56:24 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Chanwoo, On 1/18/21 6:49 AM, Chanwoo Choi wrote: > Hi Lukasz, > > I has been developed[1] the sysfs attributes for upthreshold and downdifferential. > But, I has not yet posted it[1]. I'll post my approach with some changes. Fair enough. Please add me on CC when you post it. I can help you with reviewing it. > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git/commit/?h=devfreq-testing&id=e7c59dfb4afebe0c96de54516e9be23d76d96492 Thank you for the link. The code looks pretty good, just use kstrtouint() instead of sscanf() - checkpatch would not complain. Regards, Lukasz