zephyr/subsys/ipc/ipc_service
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
..
backends ipc: Drain pending work items before deregistering endpoint 2024-02-06 14:22:36 +01:00
lib ipc_service: open-amp: Fix libmetal shared memory registration 2023-12-14 16:18:55 +02:00
CMakeLists.txt
ipc_service.c
Kconfig