Searched hist:cde4ad83 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/hwtracing/stm/ |
H A D | stm.h | cde4ad83 Mon Feb 15 11:12:06 CST 2016 Alexander Shishkin <alexander.shishkin@linux.intel.com> stm class: Guard output assignment against concurrency
It is possible to concurrently assign the same output (a character device writer or an stm_source device) to different stm devices, which sets off a strategically placed warning in stm_output_assign().
To avoid this, use a spinlock to serialize (un)assignments between outputs and stm devices.
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> cde4ad83 Mon Feb 15 11:12:06 CST 2016 Alexander Shishkin <alexander.shishkin@linux.intel.com> stm class: Guard output assignment against concurrency It is possible to concurrently assign the same output (a character device writer or an stm_source device) to different stm devices, which sets off a strategically placed warning in stm_output_assign(). To avoid this, use a spinlock to serialize (un)assignments between outputs and stm devices. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
H A D | core.c | cde4ad83 Mon Feb 15 11:12:06 CST 2016 Alexander Shishkin <alexander.shishkin@linux.intel.com> stm class: Guard output assignment against concurrency
It is possible to concurrently assign the same output (a character device writer or an stm_source device) to different stm devices, which sets off a strategically placed warning in stm_output_assign().
To avoid this, use a spinlock to serialize (un)assignments between outputs and stm devices.
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> cde4ad83 Mon Feb 15 11:12:06 CST 2016 Alexander Shishkin <alexander.shishkin@linux.intel.com> stm class: Guard output assignment against concurrency It is possible to concurrently assign the same output (a character device writer or an stm_source device) to different stm devices, which sets off a strategically placed warning in stm_output_assign(). To avoid this, use a spinlock to serialize (un)assignments between outputs and stm devices. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|