15c3597d (dt/platform: allow device name to be overridden) added a
lookup parameter to of_platform_populate() but did not update the
documentation. This patch adds the missing documentation entry.
Cc: Grant Likely grant.lik...@secretlab.ca
Cc: Jiri Kosina triv...@kernel.org
Signed-off-by: Javi
On Sat, Jul 06, 2013 at 12:39:33AM +0100, Stephen Boyd wrote:
In a uniprocessor implementation the interrupt processor targets
registers are read-as-zero/write-ignored (RAZ/WI). Unfortunately
gic_get_cpumask() will print a critical message saying
GIC CPU mask not found - kernel will fail to
)
Cc: Andrew Morton a...@linux-foundation.org
Signed-off-by: Javi Merino javi.mer...@arm.com
---
include/linux/smp.h |6 +++---
kernel/smp.c|6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/include/linux/smp.h b/include/linux/smp.h
index c181399..a894405 100644
On Tue, Sep 17, 2013 at 10:22:28PM +0100, Andrew Morton wrote:
On Mon, 2 Sep 2013 15:33:13 +0100 Javi Merino javi.mer...@arm.com wrote:
Avoid unnecessary casts from int to bool in smp functions. Some
functions in kernel/smp.c have a wait parameter that can be set to one
if you want
)
Cc: Andrew Morton a...@linux-foundation.org
Signed-off-by: Javi Merino javi.mer...@arm.com
---
include/linux/smp.h |6 +++---
kernel/smp.c|6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/include/linux/smp.h b/include/linux/smp.h
index c181399..a894405 100644
Hi Rui,
On Mon, Jun 02, 2014 at 12:54:57PM +0100, Jacob Pan wrote:
On Mon, 2 Jun 2014 18:08:17 +0100
Javi Merino javi.mer...@arm.com wrote:
tmon fails to build statically with the following error:
$ make LDFLAGS=-static
gcc -O1 -Wall -Wshadow -W -Wformat -Wimplicit-function
On Wed, Jun 11, 2014 at 12:32:54PM +0100, Eduardo Valentin wrote:
Hello Javi,
On Tue, Jun 03, 2014 at 11:18:32AM +0100, Javi Merino wrote:
This patch introduces the Power Actor API in the thermal framework.
With it, devices that can report their power consumption and control
it can
On Wed, Jun 11, 2014 at 01:05:37PM +0100, Eduardo Valentin wrote:
Hello Javi,
On Tue, Jun 03, 2014 at 11:18:33AM +0100, Javi Merino wrote:
Introduce a power actor for cpus. It has a basic power model to get
the current power utilization and uses cpufreq cooling devices to set
On Thu, Jun 12, 2014 at 03:26:50PM +0100, Javi Merino wrote:
On Wed, Jun 11, 2014 at 01:05:37PM +0100, Eduardo Valentin wrote:
On Tue, Jun 03, 2014 at 11:18:33AM +0100, Javi Merino wrote:
Introduce a power actor for cpus. It has a basic power model to get
the current power utilization
some initialization
and teardown when they are bound/unbound to a tz and possibly store that
information in the governor_data field of the struct
thermal_zone_device.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
drivers
=,000f
Link:
http://lkml.kernel.org/r/1399377998-14870-6-git-send-email-javi.mer...@arm.com
Link: http://lkml.kernel.org/r/20140506132238.22e13...@gandalf.local.home
Suggested-by: Javi Merino javi.mer...@arm.com
Tested-by: Javi Merino javi.mer...@arm.com
Signed-off-by: Steven Rostedt
their OPPs in the OPP library.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Punit Agrawal punit.agra...@arm.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
Documentation/thermal/power_actor.txt | 46
drivers/thermal/Kconfig
Document struct thermal_zone_device and struct thermal_governor fields
and their use by the thermal framework code.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
Hi linux-pm,
This was sent as a separate patch
: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
Documentation/thermal/power_actor.txt | 29 +
drivers/thermal/Kconfig |3 ++
drivers/thermal/Makefile |2 +
drivers/thermal/power_actor/Makefile
.
- Tune it to achieve the temperature stability we are aiming for
Cheers,
Javi Punit
Javi Merino (6):
thermal: document struct thermal_zone_device and thermal_governor
thermal: let governors have private data for each thermal zone
thermal: introduce the Power Actor API
thermal: add
-off-by: Punit Agrawal punit.agra...@arm.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
Documentation/thermal/power_allocator.txt | 42 +++
drivers/thermal/Kconfig | 15 +
drivers/thermal/Makefile |1 +
drivers/thermal/power_allocator.c | 442
Signed-off-by: Javi Merino javi.mer...@arm.com
---
trace-cmd needs the patched attached in
http://article.gmane.org/gmane.linux.kernel/1704423 for this to work.
drivers/thermal/power_actor/cpu_actor.c |5
drivers/thermal/power_allocator.c | 12 +-
include/trace/events
this patch via
your tree. I said that in the cover letter for the series, but I
should've repeated it in this patch. I included it in the series for
completeness and I'll remove it once it reaches mainline.
Cheers,
Javi
On Tue, 2014-05-20 at 15:10 +0100, Javi Merino wrote:
From: Steven Rostedt
On Thu, May 15, 2014 at 12:36:09PM +0100, Steven Rostedt wrote:
On Thu, 15 May 2014 07:34:05 -0400
Steven Rostedt rost...@goodmis.org wrote:
Should work now. Thanks for testing.
If all goes well, can you please give me your Tested-by for both
patches. I've already ran my updated
Document struct struct thermal_zone_device and struct thermal_governor
fields and their use by the thermal framework code.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin eduardo.valen...@ti.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
Hi linux-pm,
I have some patches that add
Hi Amit,
On Thu, May 08, 2014 at 03:37:57PM +0100, Amit Daniel Kachhap wrote:
This patch adds notification support for those clients of cpu_cooling
APIs which may want to do something interesting after receiving these
cpu_cooling events. The notifier structure passed is of both Set/Get type.
Hi Amit,
One minor comment.
On Thu, May 29, 2014 at 09:15:30AM +0100, Amit Daniel Kachhap wrote:
This patch allows the caller of cpufreq cooling APIs to register along
with their driver data which will be useful while receiving any cooling states
notifications.
This patch is in preparation
Hi Amit,
On Thu, May 29, 2014 at 09:15:31AM +0100, Amit Daniel Kachhap wrote:
This patch adds notification infrastructure for any requests related to
cooling
states. The notifier structure passed is of both Get/Set type. So the receiver
of these can sense the new/cur/max cooling state as
Hi Amit,
On Thu, May 29, 2014 at 09:15:34AM +0100, Amit Daniel Kachhap wrote:
This patch upgrades the ACPI cpufreq cooling portions to use the generic
cpufreq cooling infrastructure. There should not be any functionality
related changes as the same behaviour is provided by the generic
cpufreq
On Mon, Jun 02, 2014 at 10:31:19AM +0100, Amit Kachhap wrote:
On 5/29/14, Javi Merino javi.mer...@arm.com wrote:
Hi Amit,
On Thu, May 29, 2014 at 09:15:31AM +0100, Amit Daniel Kachhap wrote:
This patch adds notification infrastructure for any requests related to
cooling
states
On Mon, Jun 02, 2014 at 10:21:48AM +0100, Amit Kachhap wrote:
Hi Javi,
On 5/29/14, Javi Merino javi.mer...@arm.com wrote:
Hi Amit,
On Thu, May 29, 2014 at 09:15:34AM +0100, Amit Daniel Kachhap wrote:
This patch upgrades the ACPI cpufreq cooling portions to use the generic
cpufreq
On Fri, May 23, 2014 at 02:44:51PM +0100, Eduardo Valentin wrote:
Hello Javi,
Hi Eduardo,
Sorry for the wrong From: in my previous email, I hope that this one
goes out with the correct one.
On Fri, May 23, 2014 at 10:35:52AM +0100, Javi Merino wrote:
On Thu, May 22, 2014 at 04:27:30PM +0100
Hi Peter,
On Mon, May 12, 2014 at 11:27:08AM +0100, Peter Feuerer wrote:
Javi Merino writes:
On Sat, May 03, 2014 at 06:59:24PM +0100, Peter Feuerer wrote:
acerhdf has been doing an on-off fan control using hysteresis by
post-manipulating the outcome of thermal subsystem trip point
=2 dest_cpu=3
cpumask=,000f
Link:
http://lkml.kernel.org/r/1399377998-14870-6-git-send-email-javi.mer...@arm.com
Suggested-by: Javi Merino javi.mer...@arm.com
Signed-off-by: Steven Rostedt rost...@goodmis.org
---
Changes since v1: Use bitmask name instead of cpumask naming
On Wed, May 14, 2014 at 04:36:23PM +0100, Steven Rostedt wrote:
On Wed, 14 May 2014 15:23:24 +0100
Javi Merino javi.mer...@arm.com wrote:
diff --git a/include/trace/ftrace.h b/include/trace/ftrace.h
index 0a1a4f7..d9c44af 100644
--- a/include/trace/ftrace.h
+++ b/include/trace
485.222062: sched_migrate_task:
comm=ksmtuned pid=3615 prio=120 orig_cpu=2 dest_cpu=3
cpumask=,000f
Link:
http://lkml.kernel.org/r/1399377998-14870-6-git-send-email-javi.mer...@arm.com
Suggested-by: Javi Merino javi.mer...@arm.com
Signed-off-by: Steven Rostedt rost...@goodmis.org
Signed-off-by: Javi Merino javi.mer...@arm.com
---
trace-cmd needs the patched attached in
http://article.gmane.org/gmane.linux.kernel/1704423 for this to work.
drivers/thermal/cpu_actor.c | 5 +++
drivers/thermal/power_allocator.c| 12 ++-
include/trace/events/thermal_power.h
Document struct thermal_zone_device and struct thermal_governor fields
and their use by the thermal framework code.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
Hi linux-pm,
This patch is independent of the whole
some initialization
and teardown when they are bound/unbound to a tz and possibly store that
information in the governor_data field of the struct
thermal_zone_device.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
drivers
their OPPs in the OPP library.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Punit Agrawal punit.agra...@arm.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
Documentation/thermal/power_actor.txt | 125 +
drivers/thermal/Kconfig
scripts to evaluate the proposal.
- Tune it to achieve the temperature stability we are aiming for
Cheers,
Javi Punit
Javi Merino (6):
thermal: document struct thermal_zone_device and thermal_governor
thermal: let governors have private data for each thermal zone
thermal: introduce the Power
not exceed the control temperature.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Punit Agrawal punit.agra...@arm.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
Documentation/thermal/power_allocator.txt | 41 +++
drivers/thermal/Kconfig
: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
Documentation/thermal/power_actor.txt | 56 +
drivers/thermal/Kconfig | 3 ++
drivers/thermal/Makefile | 3 ++
drivers/thermal/power_actor.c | 68
From: Punit Agrawal punit.agra...@arm.com
Introduce an optional property called, sustainable-power, which
represents the power (in mW) which the thermal zone can safely
dissipate.
If provided the property is parsed and associated with the thermal
zone via the thermal zone parameters.
Cc: Zhang
On Tue, Jun 17, 2014 at 12:18:38PM +0100, Steven Rostedt wrote:
On Tue, 17 Jun 2014 10:14:52 +0100
Javi Merino javi.mer...@arm.com wrote:
Add trace events for the power allocator governor and the power actor
interface of the cpu cooling device.
Cc: Zhang Rui rui.zh...@intel.com
Cc
() and friends are in libtinfo (part of ncurses) so add it to
the libraries that are linked in when compiling tmon to fix it.
Cc: Jacob Pan jacob.jun@linux.intel.com
Cc: Zhang Rui rui.zh...@intel.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
tools/thermal/tmon/Makefile | 2 +-
1 file changed
Document struct thermal_zone_device and struct thermal_governor fields
and their use by the thermal framework code.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
Hi linux-pm,
I have some patches that add new fields
more tracing and provide scripts to evaluate the proposal.
- Tune it to achieve the temperature stability we are aiming for
Cheers,
Javi Punit
Javi Merino (6):
thermal: document struct thermal_zone_device and thermal_governor
thermal: let governors have private data for each thermal zone
=,000f
Link:
http://lkml.kernel.org/r/1399377998-14870-6-git-send-email-javi.mer...@arm.com
Link: http://lkml.kernel.org/r/20140506132238.22e13...@gandalf.local.home
Suggested-by: Javi Merino javi.mer...@arm.com
Tested-by: Javi Merino javi.mer...@arm.com
Signed-off-by: Steven Rostedt
Document struct thermal_zone_device and struct thermal_governor fields
and their use by the thermal framework code.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
include/linux/thermal.h | 45
their OPPs in the OPP library.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Punit Agrawal punit.agra...@arm.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
Documentation/thermal/power_actor.txt | 126 +++
drivers/thermal/Kconfig
not exceed the control temperature.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Punit Agrawal punit.agra...@arm.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
Documentation/thermal/power_allocator.txt | 42 +++
drivers/thermal/Kconfig
Signed-off-by: Javi Merino javi.mer...@arm.com
---
trace-cmd needs the patched attached in
http://article.gmane.org/gmane.linux.kernel/1704423 for this to work.
drivers/thermal/power_actor/cpu_actor.c | 5 +
drivers/thermal/power_allocator.c | 12 ++-
include/trace/events
some initialization
and teardown when they are bound/unbound to a tz and possibly store that
information in the governor_data field of the struct
thermal_zone_device.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
drivers
: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
Documentation/thermal/power_actor.txt | 38 ++
drivers/thermal/Kconfig | 3 ++
drivers/thermal/Makefile | 2 +
drivers/thermal/power_actor/Makefile
On Mon, Mar 24, 2014 at 05:29:09PM +, Rasmus Villemoes wrote:
The macros KELVIN_TO_CELSIUS and CELSIUS_TO_KELVIN actually work on
decikelvins, so rename them to reflect their actual semantics.
Signed-off-by: Rasmus Villemoes li...@rasmusvillemoes.dk
---
drivers/acpi/thermal.c
Hi,
checkpatch complains about the spaces before the close parenthesis in
trace events:
ERROR: space prohibited before that close parenthesis ')'
#94: FILE: include/trace/events/thermal.h:14:
+ __field(unsigned int, freq )
However, in that directory, that's actually the
On Tue, Apr 29, 2014 at 10:17:56AM +0100, Peter Feuerer wrote:
The bang-bang thermal governor uses a hysteresis to switch abruptly on
or off a cooling device. It is intended to control fans, which can
not be throttled but just switched on or off.
Bang-bang cannot be set as default governor as
On Tue, Apr 29, 2014 at 10:17:57AM +0100, Peter Feuerer wrote:
acerhdf has been doing an on-off fan control using hysteresis by
post-manipulating the outcome of thermal subsystem trip point handling.
This patch enables acerhdf to use the bang-bang governor, which is
intended for on-off
Hi Peter,
On Tue, Apr 29, 2014 at 10:31:42PM +0100, Peter Feuerer wrote:
Peter Feuerer writes:
Javi Merino writes:
[...]
diff --git a/drivers/thermal/gov_bang_bang.c
b/drivers/thermal/gov_bang_bang.c
new file mode 100644
index 000..328dde0
--- /dev/null
+++ b/drivers
for on-off controlled fans.
Cc: Andrew Morton a...@linux-foundation.org
CC: Zhang Rui rui.zh...@intel.com
Cc: Andreas Mohr a...@lisas.de
Cc: Borislav Petkov b...@suse.de
Cc: Javi Merino javi.mer...@arm.com
Signed-off-by: Peter Feuerer pe...@piie.net
---
drivers/platform/x86/Kconfig | 2
On Thu, Mar 20, 2014 at 02:45:54AM +, Naveen Krishna Ch wrote:
Hello Tomasz,
On 20 March 2014 00:58, Tomasz Figa t.f...@samsung.com wrote:
Hi Leela,
On 19.03.2014 12:19, Leela Krishna Amudala wrote:
Hi All,
I didn't see this series in mainline, Any comments for this ?
From: Dave Martin dave.mar...@arm.com
If a trace event contains an array, there is currently no standard
way to format this for text output. Drivers are currently hacking
around this by a) local hacks that use the trace_seq functionailty
directly, or b) just not printing that information. For
Trace can now generate traces with u8, u16, u32 and u64 dynamic
arrays. Add support to parse them.
Cc: Arnaldo Carvalho de Melo a...@redhat.com
Cc: Steven Rostedt srost...@redhat.com
Cc: Jiri Olsa jo...@redhat.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
tools/lib/traceevent/event
some initialization
and teardown when they are bound/unbound to a tz and possibly store that
information in the governor_data field of the struct
thermal_zone_device.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
drivers
Document struct thermal_zone_device and struct thermal_governor fields
and their use by the thermal framework code.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
include/linux/thermal.h | 46
on cooling devices as well
Cheers,
Javi Punit
Dave Martin (1):
tracing: Add array printing helpers
Javi Merino (8):
tools lib traceevent: Generalize numeric argument
tools lib traceevent: Add support for __print_u{8,16,32,64}_array()
thermal: document struct thermal_zone_device
: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
Documentation/thermal/power_actor.txt | 56
drivers/thermal/Kconfig | 3 ++
drivers/thermal/Makefile | 3 ++
drivers/thermal/power_actor.c | 70
From: Punit Agrawal punit.agra...@arm.com
Introduce an optional property called, sustainable-power, which
represents the power (in mW) which the thermal zone can safely
dissipate.
If provided the property is parsed and associated with the thermal
zone via the thermal zone parameters.
Cc: Zhang
their OPPs in the OPP library.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Punit Agrawal punit.agra...@arm.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
Documentation/thermal/power_actor.txt | 125 +
drivers/thermal/Kconfig
not exceed the control temperature.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Punit Agrawal punit.agra...@arm.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
Documentation/thermal/power_allocator.txt | 61
drivers/thermal/Kconfig
Numeric arguments can be in different bases, so rename it to num so
that they can be used for formats other than PRINT_HEX
Cc: Steven Rostedt srost...@redhat.com
Cc: Arnaldo Carvalho de Melo a...@redhat.com
Cc: Jiri Olsa jo...@redhat.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
tools
Signed-off-by: Javi Merino javi.mer...@arm.com
---
drivers/thermal/cpu_actor.c| 17 ++-
drivers/thermal/power_allocator.c | 22 +++-
include/trace/events/thermal_power_allocator.h | 138 +
3 files changed, 173 insertions(+), 4 deletions
On Thu, Jul 10, 2014 at 04:44:51PM +0100, Steven Rostedt wrote:
On Thu, 10 Jul 2014 15:18:47 +0100
Javi Merino javi.mer...@arm.com wrote:
Add trace events for the power allocator governor and the power actor
interface of the cpu cooling device.
Cc: Zhang Rui rui.zh...@intel.com
Cc
On Thu, Jul 10, 2014 at 07:03:50PM +0100, Steven Rostedt wrote:
On Thu, 10 Jul 2014 17:20:14 +0100
Javi Merino javi.mer...@arm.com wrote:
How many CPUs are you saving load_cpu on? A trace event can't be bigger
than a page. And the data is actually a little less than
Document struct thermal_zone_device and struct thermal_governor fields
and their use by the thermal framework code.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
Hi linux-pm,
I have some patches that add new fields
On Tue, Jun 24, 2014 at 11:41:38AM +0100, Punit Agrawal wrote:
Javi Merino javi.mer...@arm.com writes:
Hi Punit,
On Wed, Jun 11, 2014 at 12:31:44PM +0100, Punit Agrawal wrote:
Create a new event to trace when the temperature is above a trip
point. Use the trace-point when handling non
Cc: Eduardo Valentin eduardo.valen...@ti.com
Cc: Zhang Rui rui.zh...@intel.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
drivers/thermal/cpu_cooling.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c
index
On Mon, Jun 02, 2014 at 06:28:00PM +0100, Eduardo Valentin wrote:
Hello Lee Jones,
On Fri, May 30, 2014 at 11:03:28AM +0100, Lee Jones wrote:
Eduardo TI address is bouncing, but it looks like he's still
contributing via his Gmail address.
Thanks for being proactive! I actually sent
Hi Punit,
On Wed, Jun 11, 2014 at 12:31:44PM +0100, Punit Agrawal wrote:
Create a new event to trace when the temperature is above a trip
point. Use the trace-point when handling non-critical and critical
trip pionts.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin
On Wed, Jun 25, 2014 at 11:00:12AM +0100, Javi Merino wrote:
Document struct thermal_zone_device and struct thermal_governor fields
and their use by the thermal framework code.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Javi Merino javi.mer
On Thu, Jul 31, 2014 at 12:10:40AM +0100, Matt Longnecker wrote:
Some hardware can react autonomously at a programmed temperature.
For example, an SoC might implement a last ditch throttle or a
hardware thermal shutdown. The driver for such a device can
register itself as a cooling_device with
On Fri, Jul 25, 2014 at 09:22:00AM +0100, Laxman Dewangan wrote:
Thanks Rui.
It seems I have put the wrong email-id for Eduardo (which I got from
get_maintainer) and the original patch not reached to Eduardo.
Do I need to re-post patch?
Thanks,
Laxman
On Thursday 24 July 2014 08:45
[Fixed Eduardo's email *again*]
On Fri, Jul 25, 2014 at 10:19:31AM +0100, Laxman Dewangan wrote:
There are some mfd devices which supports junction thermal interrupt
like ams,AS3722. The DT binding of these devices are defined as the
flat and drivers for sub module of such devices are
import *
ImportError: ctracecmd.so: undefined symbol: tracecmd_stat_cpu
Link trace-record in ctracecmd.so to add back the required symbol.
Signed-off-by: Javi Merino javi.mer...@arm.com
---
Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index
On Tue, Aug 19, 2014 at 01:49:32PM +0100, edubez...@gmail.com wrote:
Javi,
Hi Eduardo,
On Thu, Jul 10, 2014 at 10:18 AM, Javi Merino javi.mer...@arm.com wrote:
A governor may need to store its current state between calls to
throttle(). That state depends on the thermal zone, so store
On Tue, Aug 19, 2014 at 02:45:52PM +0100, Eduardo Valentin wrote:
Javi,
Hi Eduardo,
On Thu, Jul 10, 2014 at 03:18:46PM +0100, Javi Merino wrote:
The power allocator governor is a thermal governor that controls system
and device power allocation to control temperature. Conceptually
On Tue, Oct 28, 2014 at 07:33:39PM +, Peter Feuerer wrote:
Hi Rui,
I wonder whether you've had time to apply my set of patches already? Would
you please be so kind to just send me a short reply?
The bang-bang governor was merged and is part of v3.18-rc2:
as well as
dynamic arrays, they take a pointer and element count: they can be
used with __get_dynamic_array() for use with dynamic arrays.
Cc: Steven Rostedt rost...@goodmis.org
Cc: Ingo Molnar mi...@redhat.com
Signed-off-by: Dave Martin dave.mar...@arm.com
Signed-off-by: Javi Merino javi.mer
Trace can now generate traces with variable element size arrays. Add
support to parse them.
Cc: Namhyung Kim namhy...@kernel.org
Cc: Arnaldo Carvalho de Melo a...@redhat.com
Cc: Steven Rostedt srost...@redhat.com
Cc: Jiri Olsa jo...@redhat.com
Signed-off-by: Javi Merino javi.mer...@arm.com
array printing helpers
Javi Merino (7):
tools lib traceevent: Generalize numeric argument
tools lib traceevent: Add support for __print_u{8,16,32,64}_array()
thermal: let governors have private data for each thermal zone
thermal: extend the cooling device API to include power information
From: Dave Martin dave.mar...@arm.com
If a trace event contains an array, there is currently no standard
way to format this for text output. Drivers are currently hacking
around this by a) local hacks that use the trace_seq functionailty
directly, or b) just not printing that information. For
some initialization
and teardown when they are bound/unbound to a tz and possibly store that
information in the governor_data field of the struct
thermal_zone_device.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
drivers
-by: Javi Merino javi.mer...@arm.com
---
Documentation/thermal/power_allocator.txt | 27 ++
drivers/thermal/thermal_core.c| 38 +++
include/linux/thermal.h | 12 ++
3 files changed, 77 insertions(+)
create mode
Signed-off-by: Javi Merino javi.mer...@arm.com
---
drivers/thermal/cpu_cooling.c | 26 -
drivers/thermal/power_allocator.c | 21 +++-
include/trace/events/thermal_power_allocator.h | 138 +
3 files changed, 182 insertions(+), 3 deletions
not exceed the control temperature.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Punit Agrawal punit.agra...@arm.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
Documentation/thermal/power_allocator.txt | 196
drivers/thermal/Kconfig
From: Punit Agrawal punit.agra...@arm.com
Introduce an optional property called, sustainable-power, which
represents the power (in mW) which the thermal zone can safely
dissipate.
If provided the property is parsed and associated with the thermal
zone via the thermal zone parameters.
Cc: Zhang
: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Punit Agrawal punit.agra...@arm.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
Documentation/thermal/cpu-cooling-api.txt | 144 +-
drivers/thermal/cpu_cooling.c | 431 +-
include/linux
Trace can now generate traces with u8, u16, u32 and u64 dynamic
arrays. Add support to parse them.
Cc: Arnaldo Carvalho de Melo a...@redhat.com
Cc: Steven Rostedt srost...@redhat.com
Cc: Jiri Olsa jo...@redhat.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
tools/lib/traceevent/event
Numeric arguments can be in different bases, so rename it to num so
that they can be used for formats other than PRINT_HEX
Cc: Steven Rostedt srost...@redhat.com
Cc: Arnaldo Carvalho de Melo a...@redhat.com
Cc: Jiri Olsa jo...@redhat.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
tools
-dyn_power_table_entries =3D i;
+
I have seen this a lot, while I was in ARM. Had to adopt some work-arounds to
get over it. :)
Sigh. Care to share them (privately I guess)?
On Sat, Dec 6, 2014 at 12:34 AM, Javi Merino javi.mer...@arm.com wrote:
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal
On Mon, Dec 08, 2014 at 01:31:35PM +, Viresh Kumar wrote:
On 8 December 2014 at 18:20, Javi Merino javi.mer...@arm.com wrote:
Is this loop pointless? I seem to recall that it was needed but I
forgot the details. If you think it is, I can remove it.
Yes it is pointless. The CPUs you
Hi Viresh,
On Tue, Dec 09, 2014 at 01:59:39AM +, Viresh Kumar wrote:
On 8 December 2014 at 19:52, Javi Merino javi.mer...@arm.com wrote:
Ok, changed it into:
cpu = cpumask_any(cpufreq_device-allowed_cpus);
dev = get_cpu_device(cpu);
if (!dev
On Tue, Dec 09, 2014 at 10:36:46AM +, Viresh Kumar wrote:
On 9 December 2014 at 16:02, Javi Merino javi.mer...@arm.com wrote:
Sorry but I don't follow. __cpufreq_cooling_register() is passed a
clip_cpus mask, not a single cpu. How do I get the cpu for which
__cpufreq_cooling_register
On Tue, Dec 09, 2014 at 11:06:46AM +, Viresh Kumar wrote:
On 9 December 2014 at 16:30, Javi Merino javi.mer...@arm.com wrote:
Ok, how about this then? I've pasted the whole commit so as to avoid
confusion.
Yeah, the cpu_dev part looks fine now.
Great, thanks!
--
To unsubscribe from
1 - 100 of 810 matches
Mail list logo