zephyr/subsys/ipc/ipc_service/backends
Jonathan Rico f24a01e6d1 ipc: Drain pending work items before deregistering endpoint
The work item will attempt to dereference pointers that have been nulled
by the backend.

To avoid that, wait until all items currently on the queue have been
processed.

The symptom is a busfault on ARM, and is "fixed" by adding a
`k_msleep(1)` right before `ipc_service_deregister_endpoint()`. This
will in effect do the same thing as this patch, and allow the scheduler
to run the work item on the ipc workqueue.

Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
2024-02-06 14:22:36 +01:00
..
CMakeLists.txt ipc: add dynamically allocated buffers to icmsg 2023-11-13 11:11:43 +01:00
ipc_icbmsg.c ipc: add dynamically allocated buffers to icmsg 2023-11-13 11:11:43 +01:00
ipc_icmsg_me_follower.c ipc: backends: Port IcMsg based backends to use pbuf 2023-11-09 10:18:37 +00:00
ipc_icmsg_me_initiator.c ipc: backends: Port IcMsg based backends to use pbuf 2023-11-09 10:18:37 +00:00
ipc_icmsg.c ipc: backends: Port IcMsg based backends to use pbuf 2023-11-09 10:18:37 +00:00
ipc_icmsg.h
ipc_rpmsg_static_vrings.c ipc: Drain pending work items before deregistering endpoint 2024-02-06 14:22:36 +01:00
ipc_rpmsg_static_vrings.h ipc_service: static_vrings: fix num_desc return value 2023-08-30 14:44:51 +02:00
Kconfig ipc: add dynamically allocated buffers to icmsg 2023-11-13 11:11:43 +01:00
Kconfig.icbmsg ipc: add dynamically allocated buffers to icmsg 2023-11-13 11:11:43 +01:00
Kconfig.icmsg_me ipc: Remove nocopy feature from icmsg_me backend 2023-11-09 10:18:37 +00:00
Kconfig.rpmsg