linux/drivers/hwtracing/stm
Alexander Shishkin 4c127fd16e stm class: Fix locking in unbinding policy path
Right now, if stm device removal has to unbind from a policy (that is,
an stm device that has STP policy, gets removed), it will trigger a
nested lock on the stm device's policy mutex.

This patch fixes the problem by moving the locking from the policy
unbinding to policy removal (configfs path), where it's actually needed;
the other caller of the policy unbinding function already takes the
mutex around the call.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-07 22:43:17 -08:00
..
Kconfig stm class: Select CONFIG_SRCU 2016-02-07 22:43:17 -08:00
Makefile stm class: stm_console: Add kernel-console-over-stm driver 2015-10-04 20:28:58 +01:00
console.c stm class: stm_console: Add kernel-console-over-stm driver 2015-10-04 20:28:58 +01:00
core.c stm class: Mark src::link __rcu 2015-10-10 12:24:47 -07:00
dummy_stm.c
policy.c stm class: Fix locking in unbinding policy path 2016-02-07 22:43:17 -08:00
stm.h stm class: Mark src::link __rcu 2015-10-10 12:24:47 -07:00