Re: [PATCH] thermal: fix race condition when updating cooling device

2016-08-05 Thread Michele DiGiorgio
Hi Eduardo, Rui, On 20/07/16 10:46, Michele Di Giorgio wrote: When multiple thermal zones are bound to the same cooling device, multiple kernel threads may want to update the cooling device state by calling thermal_cdev_update(). Having cdev not protected by a mutex can lead to a race condition.

Re: [PATCH] thermal: fix race condition when updating cooling device

2016-06-27 Thread Michele DiGiorgio
Hi Eduardo, Rui, On 06/06/16 13:51, Javi Merino wrote: On Thu, Jun 02, 2016 at 03:25:31PM +0100, Michele Di Giorgio wrote: When multiple thermal zones are bound to the same cooling device, multiple kernel threads may want to update the cooling device state by calling thermal_cdev_update(). Havi

Re: [PATCH] thermal: trace: migrating thermal traces to use TRACE_DEFINE_ENUM() macros

2016-03-03 Thread Michele DiGiorgio
Hello Steven, Thanks for acknowledging the patch. Will you be merging it or should I refer to somebody else? Kind regards, Michele On 01/03/16 18:20, Steven Rostedt wrote: On Tue, 1 Mar 2016 17:38:54 + Michele Di Giorgio wrote: > Userspace tools are not aware of how to convert the enum