summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorThierry Escande <thierry.escande@linaro.org>2019-03-07 10:12:22 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-28 02:09:57 +0900
commit8e7389c79b40ed44c855193bfb46b496ac25676f (patch)
tree05a2af592e1636b77e39a6785c6f9bddcddbc627 /tools/perf/scripts/python/stackcollapse.py
parent34bf9ce91e04ea6a341463f453c3e042e974a29e (diff)
downloadcachepc-linux-8e7389c79b40ed44c855193bfb46b496ac25676f.tar.gz
cachepc-linux-8e7389c79b40ed44c855193bfb46b496ac25676f.zip
misc: fastrpc: Avoid free of DMA buffer in interrupt context
When the remote DSP invocation is interrupted by the user, the associated DMA buffer can be freed in interrupt context causing a kernel BUG. This patch adds a worker thread associated to the fastrpc context. It is scheduled in the rpmsg callback to decrease its refcount out of the interrupt context. Fixes: c68cfb718c8f ("misc: fastrpc: Add support for context Invoke method") Signed-off-by: Thierry Escande <thierry.escande@linaro.org> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions