diff options
author | Abel Vesa <[email protected]> | 2022-11-25 07:14:03 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-11-25 18:45:33 +0100 |
commit | 76e8e4ace1ed2c97dba3b1370e0e105e07c572bc (patch) | |
tree | 7e71cb2f562fd96e15d6fed169914a6988c0d530 /lib/mpi/mpi-sub-ui.c | |
parent | 0871561055e666da421d779397efcc1e5e964cab (diff) |
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 <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions