On Wed, Jan 28, 2015 at 05:31:06PM +, Steven Rostedt wrote:
On Wed, 28 Jan 2015 17:00:36 +
Javi Merino javi.mer...@arm.com wrote:
+ if (trace_thermal_power_cpu_limit_enabled() load_cpu) {
+ trace_thermal_power_cpu_get_power(
+ cpufreq_device
On Mon, Feb 02, 2015 at 11:51:20PM +, Lina Iyer wrote:
On Wed, Jan 28 2015 at 14:42 -0700, Javi Merino wrote:
The power allocator governor is a thermal governor that controls system
and device power allocation to control temperature. Conceptually, the
implementation divides
Hi linux-pm,
On Wed, Jan 28, 2015 at 05:00:31PM +, Javi Merino wrote:
The power allocator governor allocates device power to control
temperature. This requires transforming performance requests into
requested power, which we do with an extended cooling device API
introduced in patch 2
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
...@linux-vserver.org
Cc: Greg Kroah-Hartman gre...@linuxfoundation.org
Signed-off-by: Javi Merino javi.mer...@arm.com
---
fs/sysfs/group.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/sysfs/group.c b/fs/sysfs/group.c
index 7d2a860ba788..2554d8835b48 100644
--- a/fs/sysfs
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
...@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
---
This patch wasn't part of v2. It avoids repeating code in patch 3.
tools/lib/traceevent/event-parse.c | 77
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
On Fri, Jan 16, 2015 at 02:22:02AM +, Steven Rostedt wrote:
On Thu, 15 Jan 2015 16:50:58 +
Javi Merino javi.mer...@arm.com wrote:
+const char *
+ftrace_print_array_seq(struct trace_seq *p, const void *buf, int
buf_len,
+ size_t el_size)
+{
+ const char
On Fri, Jan 16, 2015 at 02:35:19AM +, Steven Rostedt wrote:
On Thu, 15 Jan 2015 12:05:52 -0500
Javi Merino javi.mer...@arm.com wrote:
Trace can now generate traces with variable element size arrays. Add
support to parse them.
Cc: Namhyung Kim namhy...@kernel.org
Cc: Arnaldo
On Mon, Feb 09, 2015 at 09:34:02PM +, Eduardo Valentin wrote:
This patch adds a book about the Linux Kernel Thermal Framework.
In this change, only a brief introduction is added together with
Makefile changes.
Signed-off-by: Eduardo Valentin edubez...@gmail.com
---
Hi Eduardo,
On Mon, Feb 09, 2015 at 09:34:13PM +, Eduardo Valentin wrote:
In this patch we add a chapter in the thermal docbook to
describe the existing governors. The chapter contains
one section per governor.
Each governor description includes the respective code documentation.
Each
Hi Eduardo,
On Mon, Feb 09, 2015 at 09:34:03PM +, Eduardo Valentin wrote:
This change introduces a section in the Introduction Chapter to
list concepts used by the Thermal Framework.
Signed-off-by: Eduardo Valentin edubez...@gmail.com
---
Documentation/DocBook/thermal.tmpl | 129
On Wed, Jan 28, 2015 at 11:26:09AM +, Javi Merino wrote:
On Wed, Jan 28, 2015 at 03:35:57AM +, Steven Rostedt wrote:
On Mon, 26 Jan 2015 12:11:49 +
Javi Merino javi.mer...@arm.com wrote:
From: Dave Martin dave.mar...@arm.com
If a trace event contains an array
with a separate power actor
API
- Addressed most of Eduardo's comments
- Incorporated ftrace support for bitmask to trace cpumasks
Cheers,
Javi Punit
Javi Merino (6):
thermal: let governors have private data for each thermal zone
thermal: extend the cooling device API to include power
-by: Javi Merino javi.mer...@arm.com
---
drivers/thermal/thermal_core.c | 52 ++
include/linux/thermal.h| 18 +++
2 files changed, 70 insertions(+)
diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c
index
On Wed, Jan 28, 2015 at 03:35:57AM +, Steven Rostedt wrote:
On Mon, 26 Jan 2015 12:11:49 +
Javi Merino javi.mer...@arm.com wrote:
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
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
Signed-off-by: Javi Merino javi.mer...@arm.com
---
drivers/thermal/cpu_cooling.c | 31 +-
drivers/thermal/power_allocator.c | 22 ++-
include/trace/events/thermal.h | 58 +++
include/trace/events/thermal_power_allocator.h
It's useful for tuning to be able to edit thermal_zone_parameters from
userspace. Export them to the thermal_zone sysfs so that they can be
easily changed.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
Documentation
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 | 241 +++
drivers/thermal/Kconfig
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
---
Hi Rui
: 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 | 156 +-
drivers/thermal/cpu_cooling.c | 480 +-
include/linux
...@kernel.org
Cc: Arnaldo Carvalho de Melo a...@redhat.com
Cc: Steven Rostedt rost...@goodmis.org
Cc: Jiri Olsa jo...@redhat.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
tools/lib/traceevent/event-parse.c | 77 --
1 file changed, 40 insertions(+), 37
] http://thread.gmane.org/gmane.linux.kernel/1874250
Dave Martin (1):
tracing: Add array printing helper
Javi Merino (2):
tools lib traceevent: factor out allocating and processing args
tools lib traceevent: Add support for __print_array()
include/linux/ftrace_event.h | 4 +
include
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 rost...@goodmis.org
Cc: Jiri Olsa jo...@redhat.com
Signed-off-by: Javi Merino javi.mer...@arm.com
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...@arm.com
On Thu, Jan 29, 2015 at 12:15:07AM +, Eduardo Valentin wrote:
Hi Eduardo,
Eduardo Valentin edubez...@gmail.com writes:
Hello Javi,
On Fri, Dec 05, 2014 at 07:04:17PM +, Javi Merino wrote:
Add a basic power model to the cpu cooling device to implement the
power
On Wed, Jan 28, 2015 at 05:56:08PM +, Eduardo Valentin wrote:
On Wed, Jan 28, 2015 at 05:00:34PM +, Javi Merino wrote:
Add a basic power model to the cpu cooling device to implement the
power cooling device API. The power model uses the current frequency,
current load and OPPs
helpers
Javi Merino (2):
tools lib traceevent: factor out allocating and processing args
tools lib traceevent: Add support for __print_array()
include/linux/ftrace_event.h | 4 +
include/trace/ftrace.h | 9 +++
kernel/trace/trace_output.c| 44 ++
tools/lib
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
...@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
---
tools/lib/traceevent/event-parse.c | 77 --
1 file changed, 40 insertions(+), 37
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
On Fri, Jan 02, 2015 at 03:53:00PM +, Eduardo Valentin wrote:
On Fri, Dec 05, 2014 at 07:04:20PM +, Javi Merino wrote:
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
Hi Eduardo,
On Mon, Jan 05, 2015 at 09:04:09PM +, Eduardo Valentin wrote:
On Mon, Jan 05, 2015 at 03:37:10PM +, Javi Merino wrote:
On Tue, Dec 23, 2014 at 03:14:11PM +, Eduardo Valentin wrote:
Hi Javi
On Fri, Dec 05, 2014 at 07:04:16PM +, Javi Merino wrote:
Add
Hi Eduardo,
On Mon, Jan 05, 2015 at 08:44:53PM +, Eduardo Valentin wrote:
On Mon, Jan 05, 2015 at 04:53:40PM +, Javi Merino wrote:
On Fri, Jan 02, 2015 at 02:37:23PM +, Eduardo Valentin wrote:
On Tue, Dec 09, 2014 at 11:00:43AM +, Javi Merino wrote:
On Tue, Dec 09, 2014
of feedback here..
Yes, some SMTP servers here are known to do that and I was using the
wrong one. Sorry for that, it should not happen again.
On Tue, Dec 09, 2014 at 11:00:43AM +, Javi Merino wrote:
On Tue, Dec 09, 2014 at 10:36:46AM +, Viresh Kumar wrote:
On 9 December 2014 at 16:02, Javi
On Tue, Jan 06, 2015 at 01:13:03PM +, Eduardo Valentin wrote:
On Tue, Jan 06, 2015 at 09:42:15AM +, Javi Merino wrote:
On Fri, Jan 02, 2015 at 03:53:00PM +, Eduardo Valentin wrote:
On Fri, Dec 05, 2014 at 07:04:20PM +, Javi Merino wrote:
From: Punit Agrawal punit.agra
Hi Eduardo,
On Fri, Jan 02, 2015 at 03:46:24PM +, Eduardo Valentin wrote:
On Fri, Dec 05, 2014 at 07:04:18PM +, Javi Merino wrote:
The power allocator governor is a thermal governor that controls system
and device power allocation to control temperature. Conceptually
Hi Eduardo,
On Tue, Jan 06, 2015 at 02:18:36PM +, Eduardo Valentin wrote:
On Tue, Jan 06, 2015 at 01:23:42PM +, Javi Merino wrote:
On Fri, Jan 02, 2015 at 03:46:24PM +, Eduardo Valentin wrote:
On Fri, Dec 05, 2014 at 07:04:18PM +, Javi Merino wrote:
diff --git a/drivers
Hi Lina,
On Wed, Feb 04, 2015 at 11:47:16PM +, Lina Iyer wrote:
On Tue, Feb 03 2015 at 12:20 -0700, Eduardo Valentin wrote:
On Tue, Feb 03, 2015 at 10:32:11AM -0700, Lina Iyer wrote:
big cut
Well, I am not convinced drivers really need to be aware of these trip
types. Which kind
On Tue, Dec 23, 2014 at 03:14:11PM +, Eduardo Valentin wrote:
Hi Javi
On Fri, Dec 05, 2014 at 07:04:16PM +, Javi Merino wrote:
Add three optional callbacks to the cooling device interface to allow
them to express power. In addition to the callbacks, add helpers to
identify
djw...@us.ibm.com
Cc: Guenter Roeck li...@roeck-us.net
Cc: Andrew Morton a...@linux-foundation.org
Signed-off-by: Javi Merino javi.mer...@arm.com
---
drivers/gpu/drm/i915/intel_drv.h | 4 +---
include/linux/kernel.h | 11 +++
2 files changed, 12 insertions(+), 3 deletions
Now that the kernel provides DIV_ROUND_CLOSEST_ULL(), drop the internal
implementation and use the kernel one.
Cc: Antti Palosaari cr...@iki.fi
Cc: Mauro Carvalho Chehab mche...@osg.samsung.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
I've only compile-tested it, I don't have
Now that the kernel provides DIV_ROUND_CLOSEST_ULL(), drop the internal
implementation and use the kernel one.
Cc: Rafael J. Wysocki rafael.j.wyso...@intel.com
Cc: Mel Gorman mgor...@suse.de
Cc: Stephen Hemminger shemmin...@linux-foundation.org
Signed-off-by: Javi Merino javi.mer...@arm.com
of the one in
kernel.h
Javi Merino (4):
kernel.h: Implement DIV_ROUND_CLOSEST_ULL
clk: bcm/kona: use DIV_ROUND_CLOSEST_ULL()
cpuidle: menu: use DIV_ROUND_CLOSEST_ULL()
media: cxd2820r: use DIV_ROUND_CLOSEST_ULL()
drivers/clk/bcm/clk-kona.c | 28
Now that the kernel provides DIV_ROUND_CLOSEST_ULL(), drop the internal
implementation and use the kernel one.
Cc: Mike Turquette mturque...@linaro.org
Cc: Stephen Boyd sb...@codeaurora.org
Cc: Alex Elder el...@linaro.org
Signed-off-by: Javi Merino javi.mer...@arm.com
---
I've only compile-tested
On Fri, Mar 20, 2015 at 06:19:26PM +, Emil Velikov wrote:
On 20 March 2015 at 11:14, Javi Merino javi.mer...@arm.com wrote:
We have grown a number of different implementations of
DIV_ROUND_CLOSEST_ULL throughout the kernel. Move the i915 one to
kernel.h so that it can be reused.
Cc
On Fri, Mar 20, 2015 at 01:51:36PM +, Alex Elder wrote:
On 03/20/2015 06:14 AM, Javi Merino wrote:
Now that the kernel provides DIV_ROUND_CLOSEST_ULL(), drop the internal
implementation and use the kernel one.
Cc: Antti Palosaari cr...@iki.fi
Cc: Mauro Carvalho Chehab mche
Melo a...@redhat.com
Cc: Jiri Olsa jo...@redhat.com
Acked-by: Steven Rostedt rost...@goodmis.org
Acked-by: Namhyung Kim namhy...@kernel.org
Signed-off-by: Javi Merino javi.mer...@arm.com
---
tools/lib/traceevent/event-parse.c | 77 --
1 file changed, 40
/gmane.linux.kernel/1896232
Javi Merino (2):
tools lib traceevent: factor out allocating and processing args
tools lib traceevent: Add support for __print_array()
tools/lib/traceevent/event-parse.c | 158 +
tools/lib/traceevent/event-parse.h | 8 ++
2 files
...@kernel.org
Signed-off-by: Javi Merino javi.mer...@arm.com
---
tools/lib/traceevent/event-parse.c | 93 ++
tools/lib/traceevent/event-parse.h | 8
2 files changed, 101 insertions(+)
diff --git a/tools/lib/traceevent/event-parse.c
b/tools/lib/traceevent/event
Melo a...@redhat.com
Cc: Steven Rostedt rost...@goodmis.org
Cc: Jiri Olsa jo...@redhat.com
Acked-by: Namhyung Kim namhy...@kernel.org
Signed-off-by: Javi Merino javi.mer...@arm.com
---
tools/lib/traceevent/event-parse.c | 77 --
1 file changed, 40 insertions
and el_size to match the definition of __print_array as Namhyung
Kim suggests. Incorporate his Acked-bys.
[0] http://thread.gmane.org/gmane.linux.kernel/1897935
Javi Merino (2):
tools lib traceevent: factor out allocating and processing args
tools lib traceevent: Add support for __print_array
Signed-off-by: Javi Merino javi.mer...@arm.com
---
tools/lib/traceevent/event-parse.c | 93 ++
tools/lib/traceevent/event-parse.h | 8
2 files changed, 101 insertions(+)
diff --git a/tools/lib/traceevent/event-parse.c
b/tools/lib/traceevent/event-parse.c
Now that the kernel provides DIV_ROUND_CLOSEST_ULL(), drop the internal
implementation and use the kernel one.
Cc: Mike Turquette mturque...@linaro.org
Cc: Stephen Boyd sb...@codeaurora.org
Cc: Alex Elder el...@linaro.org
Signed-off-by: Javi Merino javi.mer...@arm.com
---
drivers/clk/bcm/clk
Now that the kernel provides DIV_ROUND_CLOSEST_ULL(), drop the internal
implementation and use the kernel one.
Cc: Mauro Carvalho Chehab mche...@osg.samsung.com
Acked-by: Antti Palosaari cr...@iki.fi
Reviewed-by: Antti Palosaari cr...@iki.fi
Signed-off-by: Javi Merino javi.mer...@arm.com
a...@linux-foundation.org
Acked-by: Daniel Vetter daniel.vet...@ffwll.ch
Signed-off-by: Javi Merino javi.mer...@arm.com
---
drivers/gpu/drm/i915/intel_drv.h | 3 ---
drivers/gpu/drm/i915/intel_panel.c | 1 +
include/linux/kernel.h | 12
3 files changed, 13 insertions(+), 3
of the one in
kernel.h
Changes since v1:
- inlcude linux/kernel.h in drivers/gpu/drm/i915/intel_panel.c
instead of drivers/gpu/drm/i915/intel_drv.h as Emil Velikov
suggests
- Avoid evaluating 'divisor' twice
Javi Merino (4):
kernel.h: Implement DIV_ROUND_CLOSEST_ULL
clk: bcm/kona: use
Now that the kernel provides DIV_ROUND_CLOSEST_ULL(), drop the internal
implementation and use the kernel one.
Cc: Rafael J. Wysocki rafael.j.wyso...@intel.com
Cc: Mel Gorman mgor...@suse.de
Cc: Stephen Hemminger shemmin...@linux-foundation.org
Signed-off-by: Javi Merino javi.mer...@arm.com
...@kernel.org
Signed-off-by: Javi Merino javi.mer...@arm.com
---
Changes since v8:
- Add PRINT_INT_ARRAY to define_event_symbols() in perf's scripting
engines as Arnaldo suggested.
- Use %lu instead of %llu for uint64_t
Note, I'm not familiar with perf, so I've only compile-tested
On Mon, Mar 23, 2015 at 05:04:16PM +, Javi Merino wrote:
On Mon, Mar 23, 2015 at 12:34:04PM +, Jeff Epler wrote:
On Fri, Mar 20, 2015 at 11:14:40AM +, Javi Merino wrote:
+/*
+ * Same as above but for u64 dividends. divisor must be a 32-bit
+ * number.
+ */
+#define
struct thermal_zone_params *'
struct thermal_zone_device *thermal_zone_device_register(const char *, int,
int,
^
Cc: Jean Delvare jdelv...@suse.de
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Javi Merino javi.mer
On Thu, Feb 26, 2015 at 10:10:07PM +, Eduardo Valentin wrote:
On Fri, Feb 27, 2015 at 05:19:05PM +, Javi Merino wrote:
On Thu, Feb 26, 2015 at 10:04:24PM +, Eduardo Valentin wrote:
On Thu, Feb 26, 2015 at 05:30:00PM -0400, Eduardo Valentin wrote:
On Thu, Feb 26, 2015 at 07:00
On Thu, Feb 26, 2015 at 10:16:09PM +, Eduardo Valentin wrote:
On Thu, Feb 26, 2015 at 07:00:26PM +, Javi Merino wrote:
Hi linux-pm,
The power allocator governor allocates device power to control
temperature. This requires transforming performance requests into
requested power
the cooling device interface with a separate power actor
API
- Addressed most of Eduardo's comments
- Incorporated ftrace support for bitmask to trace cpumasks
Cheers,
Javi Punit
Javi Merino (4):
thermal: introduce the Power Allocator governor
thermal: add trace events to the power
It's useful for tuning to be able to edit thermal_zone_parameters from
userspace. Export them to the thermal_zone sysfs so that they can be
easily changed.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
Documentation
notifier so that we can react
to it.
Cc: Viresh Kumar viresh.ku...@linaro.org
Cc: Rafael J. Wysocki r...@rjwysocki.net
Signed-off-by: Javi Merino javi.mer...@arm.com
---
Hi Viresh,
We just noticed that you removed this from v4.0-rc1 when we were
planning on using it, that's why are reverting
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 | 247 ++
drivers/thermal/Kconfig
...@goodmis.org
Signed-off-by: Javi Merino javi.mer...@arm.com
---
drivers/thermal/cpu_cooling.c | 31 -
drivers/thermal/power_allocator.c | 22 ++-
include/trace/events/thermal.h | 58 +
include/trace/events/thermal_power_allocator.h
From: Kapileshwar Singh kapileshwar.si...@arm.com
When cpufreq changes the policy cpu, we need to update our cached cpu
device accordingly.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Kapileshwar Singh kapileshwar.si...@arm.com
---
On Fri, Feb 27, 2015 at 03:38:41PM +, Steven Rostedt wrote:
On Fri, 27 Feb 2015 14:48:14 +
Javi Merino javi.mer...@arm.com wrote:
+static int alloc_and_process_arg(struct event_format *event, char
*next_token,
+struct print_arg **print_arg
-off-by: Javi Merino javi.mer...@arm.com
---
tools/lib/traceevent/event-parse.c | 93 ++
tools/lib/traceevent/event-parse.h | 8
2 files changed, 101 insertions(+)
diff --git a/tools/lib/traceevent/event-parse.c
b/tools/lib/traceevent/event-parse.c
index
On Mon, Mar 02, 2015 at 05:28:50PM +, Eduardo Valentin wrote:
On Mon, Mar 02, 2015 at 05:17:18PM +, Javi Merino wrote:
*** BLURB HERE ***
Hi linux-pm,
Introduce the power allocator governor, a thermal governor that
allocates device power to control temperature. This series
...@kernel.org
Cc: Arnaldo Carvalho de Melo a...@redhat.com
Cc: Steven Rostedt rost...@goodmis.org
Cc: Jiri Olsa jo...@redhat.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
tools/lib/traceevent/event-parse.c | 77 --
1 file changed, 40 insertions(+), 37
suggests
[0] http://thread.gmane.org/gmane.linux.kernel/1896232
Javi Merino (2):
tools lib traceevent: factor out allocating and processing args
tools lib traceevent: Add support for __print_array()
tools/lib/traceevent/event-parse.c | 158 +
tools/lib
Hi Steve,
On Wed, Jan 28, 2015 at 12:48:55PM +, Javi Merino wrote:
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 rost...@goodmis.org
Cc
On Thu, Feb 26, 2015 at 10:04:24PM +, Eduardo Valentin wrote:
On Thu, Feb 26, 2015 at 05:30:00PM -0400, Eduardo Valentin wrote:
On Thu, Feb 26, 2015 at 07:00:33PM +, Javi Merino wrote:
It's useful for tuning to be able to edit thermal_zone_parameters from
userspace. Export them
-off-by: Javi Merino javi.mer...@arm.com
---
tools/lib/traceevent/event-parse.c | 93 ++
tools/lib/traceevent/event-parse.h | 8
2 files changed, 101 insertions(+)
diff --git a/tools/lib/traceevent/event-parse.c
b/tools/lib/traceevent/event-parse.c
index
...@kernel.org
Cc: Arnaldo Carvalho de Melo a...@redhat.com
Cc: Steven Rostedt rost...@goodmis.org
Cc: Jiri Olsa jo...@redhat.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
tools/lib/traceevent/event-parse.c | 77 --
1 file changed, 40 insertions(+), 37
This series add support to libtraceevent for dynamic arrays in traces.
The kernel learned to create this traces in 6ea22486ba46 (tracing: Add
array printing helper), which was merged for v4.0-rc1.
No changes since v5:
http://thread.gmane.org/gmane.linux.kernel/1877410/focus=1877409
Javi Merino
On Fri, Feb 27, 2015 at 02:15:05PM +, Steven Rostedt wrote:
On Fri, 27 Feb 2015 12:32:32 +
Javi Merino javi.mer...@arm.com wrote:
Hi Steve,
On Wed, Jan 28, 2015 at 12:48:55PM +, Javi Merino wrote:
Trace can now generate traces with variable element size arrays. Add
On Thu, Feb 26, 2015 at 08:36:16PM +, Eduardo Valentin wrote:
Javi,
Replying in v2.
On Thu, Feb 26, 2015 at 07:00:30PM +, Javi Merino wrote:
big cut
+
+/**
+ * divvy_up_power() - divvy the allocated power between the actors
+ * @req_power: each actor's requested
Hi Mark,
On Wed, Mar 04, 2015 at 12:05:39PM +, Mark Brown wrote:
Commit ddd4dd8ddf784 (thermal: extend the cooling device API to include
power information) added stubs for newly introduced functions when
!CONFIG_THERMAL but did not provide names for the parameters which is
a syntax error
Hi Valentin,
On Wed, Mar 04, 2015 at 01:19:25PM +, Valentin Rothberg wrote:
your commit 8754d5115693 (thermal: introduce the Power Allocator
governor) is included in today's linux-next tree (i.e.,
next-20150304).
This patch adds a select on the Kconfig symbol THERMAL_POWER_ACTOR.
A previous version of this patch had a config for THERMAL_POWER_ACTOR
but it was dropped. Remove the select as it is not doing anything.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Reported-by: Valentin Rothberg valentinrothb...@gmail.com
Signed-off-by: Javi Merino
by: scripts/coccinelle/api/ptr_ret.cocci
CC: Javi Merino javi.mer...@arm.com
Signed-off-by: Fengguang Wu fengguang...@intel.com
---
cpu_cooling.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/thermal/cpu_cooling.c
+++ b/drivers/thermal/cpu_cooling.c
Hi Eduardo,
On Tue, Feb 24, 2015 at 06:21:26PM +, Eduardo Valentin wrote:
On Wed, Jan 28, 2015 at 05:00:35PM +, Javi Merino wrote:
+
+k_d
+---
+
+`k_d` configures the PID loop's derivative term constant. It's
+recommended to leave it as the default: 0.
+
I know we
On Wed, Feb 25, 2015 at 07:00:38PM +, Eduardo Valentin wrote:
On Wed, Feb 25, 2015 at 02:48:49PM +, Javi Merino wrote:
Hi Eduardo,
On Tue, Feb 24, 2015 at 06:21:26PM +, Eduardo Valentin wrote:
On Wed, Jan 28, 2015 at 05:00:35PM +, Javi Merino wrote:
+
+k_d
: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Kapileshwar Singh kapileshwar.si...@arm.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 | 156 +++-
drivers/thermal/cpu_cooling.c | 583
It's useful for tuning to be able to edit thermal_zone_parameters from
userspace. Export them to the thermal_zone sysfs so that they can be
easily changed.
Cc: Zhang Rui rui.zh...@intel.com
Cc: Eduardo Valentin edubez...@gmail.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
Documentation
-by: Javi Merino javi.mer...@arm.com
---
drivers/thermal/thermal_core.c | 52 ++
include/linux/thermal.h| 18 +++
2 files changed, 70 insertions(+)
diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c
index
Signed-off-by: Javi Merino javi.mer...@arm.com
---
drivers/thermal/cpu_cooling.c | 31 -
drivers/thermal/power_allocator.c | 22 ++-
include/trace/events/thermal.h | 58 +
include/trace/events/thermal_power_allocator.h | 87
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
of Eduardo's comments
- Incorporated ftrace support for bitmask to trace cpumasks
Cheers,
Javi Punit
Javi Merino (6):
thermal: let governors have private data for each thermal zone
thermal: extend the cooling device API to include power information
thermal: cpu_cooling: implement 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 | 247 ++
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
-by: kbuild test robot fengguang...@intel.com
Signed-off-by: Javi Merino javi.mer...@arm.com
---
Patches in the -mm tree now provide a DIV_ROUND_CLOSEST_ULL()
implementation in kernel.h[0]. If I understand it correctly, this
patch should go via the -mm tree as well with appropriate Acks from
Hi Rui,
On Mon, Dec 08, 2014 at 04:11:32AM +, Zhang Rui wrote:
On Fri, 2014-12-05 at 19:04 +, Javi Merino wrote:
A governor may need to store its current state between calls to
throttle(). That state depends on the thermal zone, so store it as
private data in struct
1 - 100 of 810 matches
Mail list logo