summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAbel Vesa <abel.vesa@linaro.org>2022-11-25 10:14:03 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-11-25 20:45:33 +0300
commit76e8e4ace1ed2c97dba3b1370e0e105e07c572bc (patch)
tree7e71cb2f562fd96e15d6fed169914a6988c0d530 /tools/perf/scripts/python/exported-sql-viewer.py
parent0871561055e666da421d779397efcc1e5e964cab (diff)
downloadlinux-76e8e4ace1ed2c97dba3b1370e0e105e07c572bc.tar.xz
misc: fastrpc: Safekeep mmaps on interrupted invoke
If the userspace daemon is killed in the middle of an invoke (e.g. audiopd listerner invoke), we need to skip the unmapping on device release, otherwise the DSP will crash. So lets safekeep all the maps only if there is in invoke interrupted, by attaching them to the channel context (which is resident until RPMSG driver is removed), and free them on RPMSG driver remove. Signed-off-by: Abel Vesa <abel.vesa@linaro.org> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20221125071405.148786-9-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions