Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp266747imm; Wed, 30 May 2018 23:19:32 -0700 (PDT) X-Google-Smtp-Source: ADUXVKINYyP98/fq8MLBWFy7qVEpKPnVde07Bn6LjabfUEmLyzkI1raxe7Y1efKSUO/hbxoFz8Nf X-Received: by 2002:a17:902:7009:: with SMTP id y9-v6mr5780762plk.217.1527747572898; Wed, 30 May 2018 23:19:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527747572; cv=none; d=google.com; s=arc-20160816; b=01ckv8A3SfMOfohqlU7M74hUXiO2c5eWarzw4g0wh4k1xfOhTBg1usSbmzEoIeDr4i sfrNkWOiV1z46Ykv5ESJuc9q56dHD7pK+/og19yyRVWpiJsH+k8yMYeR2u1gkaIHsVEI aUQak9tMRbGOkEB7vNGmTSxAfetJnSXAeyRtd33+fGRvVF80GaQX2Ctg7Y0b+gjbb2MT 9nTCVmoBbeAz5HNpK/tWKL2Iq6CSWQbvYfkX6mJwbMfHsK936q9kYzNExCiK5BJNqkP+ +95Ulfg0/1VMijJnpIYWVbxW5X+PrAUygNZ/WQt/BMeWQU3U0aGlSbBgG/xbva7sUiCc 7IeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:dlp-filter:cms-type :content-transfer-encoding:date:message-id:in-reply-to:cc:to:from :reply-to:subject:mime-version:dkim-signature:dkim-filter :arc-authentication-results; bh=bpLiluyi/a9J/Mvpd+tIUh7/OGZI/6m1dXOon2lr6+Q=; b=WO+Mt8KIBMrawCQL/rOuqTs+phSwFAZgOBfopDjtZL3K6jAtTfd6xrHmCEz+6Rec2F pWoR/WSJZbzLU8GeAV4Q0401zV2nE8qrs6nbSghx1eeWnnh45wC6f9Hr/kyp3DsZCL/2 pLOIShc4CjlkLBHJm+GIZ0+OvcJpC1nVmcSqaVgkOF//9ZaFytCoDzvAUd6dvpeRhXAI 6J4Hi17sYAOGh0OJDIk1ak+Iwq1t1wx//W1gij7XFNHBG+W4brsd+YTEBuhMwMOEkf07 EjGV9YKhsUP6rLPN4iSRRd4l90XCfLfXl7TnwnnFlSEM30FBme6c+68nX068JwxbHlEf ijqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=CLDrnuRo; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q2-v6si36350063plh.136.2018.05.30.23.19.19; Wed, 30 May 2018 23:19:32 -0700 (PDT) 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; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=CLDrnuRo; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754037AbeEaGRe (ORCPT + 99 others); Thu, 31 May 2018 02:17:34 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:57679 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753772AbeEaGR2 (ORCPT ); Thu, 31 May 2018 02:17:28 -0400 Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20180531061727epoutp03b0cc7050f6c60612000480923810d5ab~zpjVvo9690403404034epoutp03X for ; Thu, 31 May 2018 06:17:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20180531061727epoutp03b0cc7050f6c60612000480923810d5ab~zpjVvo9690403404034epoutp03X DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1527747447; bh=bpLiluyi/a9J/Mvpd+tIUh7/OGZI/6m1dXOon2lr6+Q=; h=Subject:Reply-To:From:To:CC:In-Reply-To:Date:References:From; b=CLDrnuRoXw/0bmTEKhW97pzSfUcsWMmCNROF06x7Ow7U1nb+wGA0i1kCKghNFgA61 7tN+day62BwBqtAFU32ZAbY1gMlBs50izjH9Mn0sasrJJ4s53LBxda5G0c1zwQDA3E Nbdttk2T7XsIzTUe38TuFoUgL2FQ2dp3PjHbc5Ew= Received: from epsmges1p4.samsung.com (unknown [182.195.40.152]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20180531061724epcas1p48deb422993b6607c4304e8b117785a14~zpjTCf05v0177601776epcas1p4C; Thu, 31 May 2018 06:17:24 +0000 (GMT) X-AuditID: b6c32a38-78bff700000010f7-50-5b0f9370ed91 Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p4.samsung.com (Symantec Messaging Gateway) with SMTP id 1A.CE.04343.0739F0B5; Thu, 31 May 2018 15:17:20 +0900 (KST) Mime-Version: 1.0 Subject: RE: [RFC] PM / devfreq: Add support for alerts Reply-To: myungjoo.ham@samsung.com From: MyungJoo Ham To: Akhil P Oommen , "linux-pm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "mka@chromium.org" CC: "jcrouse@codeaurora.org" , Kyungmin Park , Chanwoo Choi , "linux-arm-msm@vger.kernel.org" X-Priority: 3 X-Content-Kind-Code: NORMAL In-Reply-To: <1527745019-25155-1-git-send-email-akhilpo@codeaurora.org> X-Drm-Type: N,general X-Msg-Generator: Mail X-Msg-Type: PERSONAL X-Reply-Demand: N Message-ID: <20180531061720epcms1p31f5451bcf3150a7dddd33e1e415bb730@epcms1p3> Date: Thu, 31 May 2018 15:17:20 +0900 X-CMS-MailID: 20180531061720epcms1p31f5451bcf3150a7dddd33e1e415bb730 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-CPGSPASS: Y X-CPGSPASS: Y CMS-TYPE: 101P X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprEJsWRmVeSWpSXmKPExsWy7bCmgW7BZP5og613LS1m9T1ls3h5SNPi +pfnrBYbF2RbnG16w24xcf9ZdovLu+awWXzuPcJo8XnDY0YHTo/ZDRdZPC739TJ59G1Zxejx eZNcAEtUqk1GamJKapFCal5yfkpmXrqtkndwvHO8qZmBoa6hpYW5kkJeYm6qrZKLT4CuW2YO 0CVKCmWJOaVAoYDE4mIlfTubovzSklSFjPziElulaENDIz1DA3M9IyMgbRxrZWQKVJKQmnHu 2mSWgrdsFYu2bWVpYNzL2sXIySEhYCJx9dtcpi5GLg4hgR2MEpPmbWDsYuTg4BUQlPi7Qxik RljAXOLD3Xlg9UICShINN/cxQ8T1JToebGMEsdkEdCW2brjLAjJHROAMo8TrnZfZQRxmgdOM Em+P/GSG2MYrMaP9KQuELS2xfflWsG5OAXeJU6/62SHiohI3V7+Fs98fm88IYYtItN47CzVH UOLBz91QcSmJJ28XQtXXS1z/vAjsGwmBCYwSv2/8h0roSzy6MpsN4jNfiVt380DCLAKqEu2v F0CVuEhM2/sPzGYWkJfY/nYOM0g5s4CmxPpd+jDnN2z8zY7OZhbgk3j3tYcVJr5j3hMmCFtN 4tDuJVD1MhKnpy+EOt9DYv7umywTGBVnIYJ6FpLFsxAWL2BkXsUollpQnJueWmxYYKJXnJhb XJqXrpecn7uJEZwetSx2MO4553OIUYCDUYmHd8NKvmgh1sSy4srcQ4wSHMxKIrxTyvijhXhT EiurUovy44tKc1KLDzGaAv0/kVlKNDkfmLrzSuINTY2MjY0tTAzNTA0NlcR528z/RQkJpCeW pGanphakFsH0MXFwSjUwNqvKzHE6wv52uuvKSNEvHRpa725t0NP4cu6MgkLNtipL9eUTn+1b lfaHzYht+rrts5Tf3q7cfErps/Xql9vDDZ+c+eHgMl9erNmaJWJa0XFX+0JOuV2TJPckq5zI rvV+9/TWzmNipROe2prbM/9OkT32yvfRI2/n7zNvu8050XJMPfyv5cpjAkosxRmJhlrMRcWJ ACnXPuqlAwAA DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20180531053717epcas5p48e0d962e2108d04529b4582a70cd7d5a References: <1527745019-25155-1-git-send-email-akhilpo@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Currently, DEVFREQ reevaluates the device state periodically and/or > based on the OPP list changes. Private API has to be exposed to allow > the device driver to alert/notify the governor to reevaluate when a new > set of data is available. This makes the governor more coupled to a > particular device driver. We can improve here by exposing a DEVFREQ API > to allow the device drivers to send generic alerts to the governor. > > Signed-off-by: Akhil P Oommen > --- > drivers/devfreq/devfreq.c | 21 +++++++++++++++++++++ > drivers/devfreq/governor.h | 1 + > include/linux/devfreq.h | 5 +++++ > 3 files changed, 27 insertions(+) > Hello Akhil, It appears that this will have the same effect with "[PATCH 08/11] PM / devfreq: Make update_devfreq() public" from Matthias Kaehlcke, doesn't it? Cheers, MyungJoo