[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191209144425.13321-1-k.konieczny@samsung.com>
Date: Mon, 9 Dec 2019 15:44:21 +0100
From: Kamil Konieczny <k.konieczny@...sung.com>
To: k.konieczny@...sung.com
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
Chanwoo Choi <cw00.choi@...sung.com>,
Krzysztof Kozlowski <krzk@...nel.org>,
Kyungmin Park <kyungmin.park@...sung.com>,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
Marek Szyprowski <m.szyprowski@...sung.com>,
MyungJoo Ham <myungjoo.ham@...sung.com>
Subject: [PATCH 0/4] PM / devfreq: add possibility for delayed work
Add possibility for changing work from deferred to delayed in devfreq
workqueue. This can be done with
echo 1 > /sys/class/devfreq/devfreqX/delayed_timer
Second way is to use config option, in that case delayed timer will be
used from devfreq start.
Default behaviour is to stick with old delayed timer.
This patchset was inspired by Lukasz Luba patches and discussion that
follows, see
[v1] https://marc.info/?l=linux-pm&m=154904631226997&w=2
[v2] https://marc.info/?l=linux-pm&m=154989907416072&w=2
[v3] https://marc.info/?l=linux-pm&m=155001027823904&w=2
Kamil Konieczny (4):
PM / devfreq: reuse system workqueue machanism
PM / devfreq: add possibility for delayed work
PM / devfreq: Kconfig: add DEVFREQ_DELAYED_TIMER option
PM / devfreq: use delayed work if DEVFREQ_DELAYED_TIMER set
Documentation/ABI/testing/sysfs-class-devfreq | 10 ++++
drivers/devfreq/Kconfig | 12 ++++
drivers/devfreq/devfreq.c | 55 +++++++++++++++++--
include/linux/devfreq.h | 2 +
4 files changed, 75 insertions(+), 4 deletions(-)
--
2.24.0
Powered by blists - more mailing lists