Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nrf fromtree] ipc: Drain pending work items before deregistering endpoint #1486

Merged
merged 1 commit into from
Feb 19, 2024

Commits on Feb 16, 2024

  1. [nrf fromtree] ipc: Drain pending work items before deregistering end…

    …point
    
    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>
    (cherry picked from commit f24a01e)
    jori-nordic committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    77c2b20 View commit details
    Browse the repository at this point in the history