diff options
| author | 2019-03-07 10:12:22 +0000 | |
|---|---|---|
| committer | 2019-03-28 02:09:57 +0900 | |
| commit | 8e7389c79b40ed44c855193bfb46b496ac25676f (patch) | |
| tree | 05a2af592e1636b77e39a6785c6f9bddcddbc627 /include/linux | |
| parent | misc: rtsx: clean up some indenting (diff) | |
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 'include/linux')
0 files changed, 0 insertions, 0 deletions
