linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v4 5/5] PM / devfreq: drop comment about thermal setting max_freq
@ 2015-08-18  1:17 MyungJoo Ham
  0 siblings, 0 replies; 2+ messages in thread
From: MyungJoo Ham @ 2015-08-18  1:17 UTC (permalink / raw)
  To: Javi Merino, linux-pm@vger.kernel.org
  Cc: linux-kernel@vger.kernel.org, 최찬우,
	rufus.hamade@imgtec.com

> The thermal infrastructure should use the devfreq cooling device, which
> uses the OPP library to disable OPPs as necessary.
> 
> Fix a couple of typos in the same comment while we are at it.
> 
> Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
> Signed-off-by: Javi Merino <javi.merino@arm.com>
> ---
>  drivers/devfreq/devfreq.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c

Will be applied soon.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>


^ permalink raw reply	[flat|nested] 2+ messages in thread
* [PATCH v4 0/5] Devfreq cooling device
@ 2015-08-14 17:56 Javi Merino
  2015-08-14 17:57 ` [PATCH v4 5/5] PM / devfreq: drop comment about thermal setting max_freq Javi Merino
  0 siblings, 1 reply; 2+ messages in thread
From: Javi Merino @ 2015-08-14 17:56 UTC (permalink / raw)
  To: linux-pm; +Cc: linux-kernel, cw00.choi, rufus.hamade, Javi Merino

This series introduces a devfreq cooling device in the thermal
framework.  Devfreq is used for DVFS for devices other than the CPUs.
With a devfreq cooling device, the thermal framework can throttle them
to control temperature.  The cooling device has the power extensions,
so it can be used by all governors in the thermal framework, including
the power allocator governor.

Changes since v3:
  - Made devfreq_update_stats() a static inline function
  - Add dev_pm_get_voltage_always() to get the voltage even for
    disabled OPPs
  - Don't rely on freq_table from the devfreq->profile being present
    and create our own
  - Don't use devm_k* to allocate memory
  - Move struct devfreq_cooling_register to devfreq_cooling.c

Javi Merino (4):
  PM / devfreq: cache the last call to get_dev_status()
  PM / OPP: add a function to get the voltage for disabled OPPs
  devfreq_cooling: add trace information
  PM / devfreq: drop comment about thermal setting max_freq

Ørjan Eide (1):
  thermal: Add devfreq cooling

 drivers/base/power/opp.c                  |  37 ++
 drivers/devfreq/devfreq.c                 |   6 +-
 drivers/devfreq/governor_simpleondemand.c |  33 +-
 drivers/thermal/Kconfig                   |  10 +
 drivers/thermal/Makefile                  |   3 +
 drivers/thermal/devfreq_cooling.c         | 547 ++++++++++++++++++++++++++++++
 include/linux/devfreq.h                   |  15 +
 include/linux/devfreq_cooling.h           |  72 ++++
 include/linux/pm_opp.h                    |   7 +
 include/trace/events/thermal.h            |  53 +++
 10 files changed, 765 insertions(+), 18 deletions(-)
 create mode 100644 drivers/thermal/devfreq_cooling.c
 create mode 100644 include/linux/devfreq_cooling.h

-- 
1.9.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-18  1:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-18  1:17 [PATCH v4 5/5] PM / devfreq: drop comment about thermal setting max_freq MyungJoo Ham
  -- strict thread matches above, loose matches on Subject: below --
2015-08-14 17:56 [PATCH v4 0/5] Devfreq cooling device Javi Merino
2015-08-14 17:57 ` [PATCH v4 5/5] PM / devfreq: drop comment about thermal setting max_freq Javi Merino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).