All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chanwoo Choi <cw00.choi@samsung.com>
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: [RFC PATCH 2/2] memory: samsung: exynos5422-dmc: Use delayed timer as default
Date: Fri,  3 Jul 2020 15:26:22 +0900	[thread overview]
Message-ID: <20200703062622.11773-3-cw00.choi@samsung.com> (raw)
In-Reply-To: <20200703062622.11773-1-cw00.choi@samsung.com>

Use delayed timer as default instead of deferrable timer
in order to monitor the DMC status regardless of CPU idle.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
---
 drivers/memory/samsung/exynos5422-dmc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/memory/samsung/exynos5422-dmc.c b/drivers/memory/samsung/exynos5422-dmc.c
index 25196d6268e2..93e9c2429c0d 100644
--- a/drivers/memory/samsung/exynos5422-dmc.c
+++ b/drivers/memory/samsung/exynos5422-dmc.c
@@ -945,6 +945,7 @@ static int exynos5_dmc_get_cur_freq(struct device *dev, unsigned long *freq)
  * It provides to the devfreq framework needed functions and polling period.
  */
 static struct devfreq_dev_profile exynos5_dmc_df_profile = {
+	.timer = DEVFREQ_TIMER_DELAYED,
 	.target = exynos5_dmc_target,
 	.get_dev_status = exynos5_dmc_get_status,
 	.get_cur_freq = exynos5_dmc_get_cur_freq,
-- 
2.17.1


WARNING: multiple messages have this Message-ID (diff)
From: Chanwoo Choi <cw00.choi@samsung.com>
To: lukasz.luba@arm.com, k.konieczny@samsung.com, krzk@kernel.org,
	kgene@kernel.org
Cc: willy.mh.wolff.ml@gmail.com, linux-samsung-soc@vger.kernel.org,
	s.nawrocki@samsung.com, b.zolnierkie@samsung.com,
	linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
	cw00.choi@samsung.com, kyungmin.park@samsung.com,
	myungjoo.ham@samsung.com, chanwoo@kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH 2/2] memory: samsung: exynos5422-dmc: Use delayed timer as default
Date: Fri,  3 Jul 2020 15:26:22 +0900	[thread overview]
Message-ID: <20200703062622.11773-3-cw00.choi@samsung.com> (raw)
In-Reply-To: <20200703062622.11773-1-cw00.choi@samsung.com>

Use delayed timer as default instead of deferrable timer
in order to monitor the DMC status regardless of CPU idle.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
---
 drivers/memory/samsung/exynos5422-dmc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/memory/samsung/exynos5422-dmc.c b/drivers/memory/samsung/exynos5422-dmc.c
index 25196d6268e2..93e9c2429c0d 100644
--- a/drivers/memory/samsung/exynos5422-dmc.c
+++ b/drivers/memory/samsung/exynos5422-dmc.c
@@ -945,6 +945,7 @@ static int exynos5_dmc_get_cur_freq(struct device *dev, unsigned long *freq)
  * It provides to the devfreq framework needed functions and polling period.
  */
 static struct devfreq_dev_profile exynos5_dmc_df_profile = {
+	.timer = DEVFREQ_TIMER_DELAYED,
 	.target = exynos5_dmc_target,
 	.get_dev_status = exynos5_dmc_get_status,
 	.get_cur_freq = exynos5_dmc_get_cur_freq,
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2020-07-03  6:15 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20200703061508epcas1p171aa3c0ab832b77e5837d8bd1e563742@epcas1p1.samsung.com>
2020-07-03  6:26 ` [RFC PATCH 0/2] PM / devfreq: Add delayed timer for polling Chanwoo Choi
2020-07-03  6:26   ` Chanwoo Choi
     [not found]   ` <CGME20200703061509epcas1p10446471df6497b4b2d7066280daa7f87@epcas1p1.samsung.com>
2020-07-03  6:26     ` [RFC PATCH 1/2] PM / devfreq: Add support delayed timer for polling mode Chanwoo Choi
2020-07-03  6:26       ` Chanwoo Choi
2020-07-07 14:13       ` Dan Carpenter
2020-07-07 14:13         ` Dan Carpenter
     [not found]   ` <CGME20200703061509epcas1p3e338b614c44f5d8b566dae92f11cc8cb@epcas1p3.samsung.com>
2020-07-03  6:26     ` Chanwoo Choi [this message]
2020-07-03  6:26       ` [RFC PATCH 2/2] memory: samsung: exynos5422-dmc: Use delayed timer as default Chanwoo Choi
2020-07-08 12:33       ` Krzysztof Kozlowski
2020-07-08 12:33         ` Krzysztof Kozlowski
2020-07-09  5:44         ` Chanwoo Choi
2020-07-09  5:44           ` Chanwoo Choi
2020-07-03 12:33   ` [RFC PATCH 0/2] PM / devfreq: Add delayed timer for polling Willy Wolff
2020-07-03 12:33     ` Willy Wolff
2020-07-08 14:25     ` Lukasz Luba
2020-07-08 14:25       ` Lukasz Luba
2020-07-10 15:12       ` Willy Wolff
2020-07-10 15:12         ` Willy Wolff
2020-07-13  8:55         ` Lukasz Luba
2020-07-13  8:55           ` Lukasz Luba
2020-07-08 10:52   ` Bartlomiej Zolnierkiewicz
2020-07-08 10:52     ` Bartlomiej Zolnierkiewicz
2020-07-08 14:01   ` Lukasz Luba
2020-07-08 14:01     ` Lukasz Luba

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200703062622.11773-3-cw00.choi@samsung.com \
    --to=cw00.choi@samsung.com \
    --cc=b.zolnierkie@samsung.com \
    --cc=chanwoo@kernel.org \
    --cc=k.konieczny@samsung.com \
    --cc=kgene@kernel.org \
    --cc=krzk@kernel.org \
    --cc=kyungmin.park@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=lukasz.luba@arm.com \
    --cc=myungjoo.ham@samsung.com \
    --cc=s.nawrocki@samsung.com \
    --cc=willy.mh.wolff.ml@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.