Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1131919ybt; Wed, 8 Jul 2020 22:35:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzwcL+e7HFBagM2/kuZCH5lo2ddNClgjgw+QgGYNVWFO5AFk6bK5HMqGnIwUI2GVH6OtrMV X-Received: by 2002:a17:906:784c:: with SMTP id p12mr54899125ejm.123.1594272919957; Wed, 08 Jul 2020 22:35:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594272919; cv=none; d=google.com; s=arc-20160816; b=Kjve1CZ2S8t9XNkP7DAVrWX6fKu3x2ykrr5x8Skv+HfGis/EGp01LDH5xQfsxfq/AQ BHW25H+DseH7FD4sVX76oNSAJwpIcUqamGF7lg7rUiz9kqGVfZQ3dCQl6hkzUOwftoi/ 4EaCoxIML4HQ0Lp+yKOYX7qDrKB2mmbrCO36JuFgH/QbYAUmyIdh+u6E3fIbBDVu/uF1 wHoDHKDjy63sXhQsssvz7aQg7x/N9kHKjXP9E0YVNjhvWNK0J41UE5LttsOK1RdkVXyG 44XqMnI/rr8POFp75jDl+N+UvGxN884rumSgwBKyY7nVT2UiQnvpnvo3nfEabDbcZpWZ sVTg== 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:message-id :date:subject:cc:to:from:dkim-signature:dkim-filter; bh=svvG9bfEaBwsMMJ2sZbl29gt4nnz77D4sLbE0v99Y1Y=; b=OQ1VHfjSsIa1nqnyuh4x7H/H7VzNgDIKR64fYzI7LyUxBHPGFlgnuzoVOCapGPArE1 CLviRSBtIXdUJ3OAwF7BPxgXLtXdGoVBVGk49z5RtlDsTDzCqljhcKlAU7gdgsSOiC4z ESmkfl+Yin5W1hxDwVUwSuqZI8heMJYHAYNNNeJcMl1ZjeO+57998C7wf6b/KIHnkYs3 ZmZTSFFw/NDFrZKhAzlkR/nRDrH1fFYqkkEltXZEVr8yZGsi5KTkIhVmmxaE4NW+81Qf eJF3emVapQTCZBjvh4HA0HapImDsJ0UuMvOFCECWhKWvfxyWrpjux9LLc4RoP5srPjJY A0hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=nPoR3y+1; 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 h20si1299559ejk.652.2020.07.08.22.34.51; Wed, 08 Jul 2020 22:35:19 -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=nPoR3y+1; 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 S1726628AbgGIFds (ORCPT + 99 others); Thu, 9 Jul 2020 01:33:48 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:17527 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726247AbgGIFdp (ORCPT ); Thu, 9 Jul 2020 01:33:45 -0400 Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20200709053343epoutp02424d3a7e4435625c4d6996fc879dfa67~f-q_NeJJ_1546015460epoutp024 for ; Thu, 9 Jul 2020 05:33:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20200709053343epoutp02424d3a7e4435625c4d6996fc879dfa67~f-q_NeJJ_1546015460epoutp024 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1594272823; bh=svvG9bfEaBwsMMJ2sZbl29gt4nnz77D4sLbE0v99Y1Y=; h=From:To:Cc:Subject:Date:References:From; b=nPoR3y+1lSiYFdAti3w12gk47ipF6lFFK9RYCb/APzbEtFIeTL361srugikKmB45p bPD5y/WRSdYNAxuQ3/YrHn126ZGOaZigoSit1MBJ8l3eLFyp2PpP+2gQUhBKKVWYME /DLvpendlkbKjtbVFlN7rtFbewa3FOLaa+7nXe9U= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20200709053342epcas1p4e82981b7d32a17c37afd53c18107f3de~f-q9x9KWZ1953219532epcas1p4e; Thu, 9 Jul 2020 05:33:42 +0000 (GMT) Received: from epsmges1p5.samsung.com (unknown [182.195.40.157]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4B2Pwh31YqzMqYm9; Thu, 9 Jul 2020 05:33:40 +0000 (GMT) Received: from epcas1p1.samsung.com ( [182.195.41.45]) by epsmges1p5.samsung.com (Symantec Messaging Gateway) with SMTP id 7C.89.28578.43CA60F5; Thu, 9 Jul 2020 14:33:40 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p2.samsung.com (KnoxPortal) with ESMTPA id 20200709053339epcas1p23fb1c080b21c758940514c4672949cfa~f-q7NtslJ1480714807epcas1p2B; Thu, 9 Jul 2020 05:33:39 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200709053339epsmtrp2a3a11e617c782e343e3515a7b9d5d062~f-q7MyvIT0317203172epsmtrp2k; Thu, 9 Jul 2020 05:33:39 +0000 (GMT) X-AuditID: b6c32a39-8dfff70000006fa2-be-5f06ac34671c Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 74.F6.08303.33CA60F5; Thu, 9 Jul 2020 14:33:39 +0900 (KST) Received: from localhost.localdomain (unknown [10.113.221.102]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200709053339epsmtip1f3f7f400e515b20002a5a4ef51f31e4d~f-q65kJYo0804408044epsmtip19; Thu, 9 Jul 2020 05:33:39 +0000 (GMT) From: Chanwoo Choi To: lukasz.luba@arm.com, k.konieczny@samsung.com, krzk@kernel.org, kgene@kernel.org Cc: s.nawrocki@samsung.com, willy.mh.wolff.ml@gmail.com, b.zolnierkie@samsung.com, cw00.choi@samsung.com, chanwoo@kernel.org, myungjoo.ham@samsung.com, kyungmin.park@samsung.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 0/2] PM / devfreq: Add delayed timer for polling Date: Thu, 9 Jul 2020 14:45:02 +0900 Message-Id: <20200709054504.656-1-cw00.choi@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrDKsWRmVeSWpSXmKPExsWy7bCmrq7JGrZ4g8czxCw2zljPajHxxhUW i+tfnrNaLPg0g9Wi//FrZovz5zewW5xtesNusenxNVaLy7vmsFl87j3CaDHj/D4mi4VNLewW txtXsFkcftPOavHtxCNGB36PNfPWMHrsnHWX3WPTqk42j81L6j36tqxi9Pi8SS6ALSrbJiM1 MSW1SCE1Lzk/JTMv3VbJOzjeOd7UzMBQ19DSwlxJIS8xN9VWycUnQNctMwfoZCWFssScUqBQ QGJxsZK+nU1RfmlJqkJGfnGJrVJqQUpOgWWBXnFibnFpXrpecn6ulaGBgZEpUGFCdsakae+Y CuZzVJw7/4WlgXELWxcjB4eEgInE4s1FXYxcHEICOxgluo+vZIZwPjFKfNz2A8r5zCjR0bKb tYuRE6xj7r3nTBCJXYwSd1e/YYVwvjBKvPk2HayKTUBLYv+LG2wgtohAqMTse1PBRjEL7GKS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0Mk JCWmXTzK3MXIAWQLSxw+XAxR84lRYnXHYSaQGjYBLYn9L26ADRIRiJQ433CUDaSIWeAYk8Ty t+0sIAlhAWeJv1dnsIMMYhFQlTh91g0kzCtgIfFsB8wueYnVGw4wT2DkWcDIsIpRMrWgODc9 t9iwwCgvtVyvODG3uDQvXS85P3cTIzg4tbR2MO5Z9UHvECMTB+MhRgkOZiURXgNF1ngh3pTE yqrUovz4otKc1OJDjNIcLErivF9nLYwTEkhPLEnNTk0tSC2CyTJxcEo1MAX+kf+w1UoyZh2b uKEDl5X/kZnnW4Oql/E/WniF9axhxzshvZVTH84Sko5cI+cVfq540+TlJ8w41m+b7bVsJ986 /rTdbvXLPPYv3agxl9N+MU/Q3xXfNv7hSG79ePPOvJ4/7XufJbEv/Sp1pt7mh8z6vr75i5ht 0t478S/6uy7B1cZOPmjFihO83ztdgn4xBE8vmGU250Rvyoyfv3jm+wQ7JVQUiwZ941iUZfd0 k5DIbCON+MQ3EZZebDJHo2dUu/TxK7ZWtnbnqKstSP595M5M9xWHrk5cbvCqWGta4YSAfzcW GFvVnUq8ZOO9dQFD3eNQHwOP7enWrJtWSi75XP+pZHWln5urqYZzqUd0mRJLcUaioRZzUXEi AEos+we9AgAA X-CMS-MailID: 20200709053339epcas1p23fb1c080b21c758940514c4672949cfa 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: 20200709053339epcas1p23fb1c080b21c758940514c4672949cfa References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the delayed timer to devfreq framework in order to support the periodical polling mode without stop caused by CPU idle state. Some Non-CPU device must need to monitor the device status like utilization regardless of CPU state. - patch1 explains the detailed reason why the delayed timer is required. - patch2 initializes that exynos5422-dmc device use delayed timer as default instead of deferrable timer. Changes from v2: - Add reviewed-by tag - Fix typo on patch description - Remove 'RFC' work from patch title - Check whether 'df->governor' is NULL or not on timer_store() Chanwoo Choi (2): PM / devfreq: Add support delayed timer for polling mode memory: samsung: exynos5422-dmc: Use delayed timer as default Documentation/ABI/testing/sysfs-class-devfreq | 12 +++ drivers/devfreq/devfreq.c | 86 ++++++++++++++++++- drivers/memory/samsung/exynos5422-dmc.c | 1 + include/linux/devfreq.h | 9 ++ 4 files changed, 107 insertions(+), 1 deletion(-) -- 2.17.1