diff options
author | Ekansh Gupta <quic_ekangupt@quicinc.com> | 2024-01-08 17:18:33 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-01-30 16:20:38 -0800 |
commit | a4e61de63e34860c36a71d1a364edba16fb6203b (patch) | |
tree | 627c24499e2bd9ee20a15e01241b49d6a92c6a6f /tools/testing/selftests/bpf/prog_tests/async_stack_depth.c | |
parent | 41bccc98fb7931d63d03f326a746ac4d429c1dd3 (diff) |
misc: fastrpc: Mark all sessions as invalid in cb_remove
In remoteproc shutdown sequence, rpmsg_remove will get called which
would depopulate all the child nodes that have been created during
rpmsg_probe. This would result in cb_remove call for all the context
banks for the remoteproc. In cb_remove function, session 0 is
getting skipped which is not correct as session 0 will never become
available again. Add changes to mark session 0 also as invalid.
Fixes: f6f9279f2bf0 ("misc: fastrpc: Add Qualcomm fastrpc basic driver model")
Cc: stable <stable@kernel.org>
Signed-off-by: Ekansh Gupta <quic_ekangupt@quicinc.com>
Link: https://lore.kernel.org/r/20240108114833.20480-1-quic_ekangupt@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/async_stack_depth.c')
0 files changed, 0 insertions, 0 deletions