Skip to content

[nrf fromtree] modules: hal_nordic: nrfs: improve error handling #2673

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

Merged
merged 1 commit into from
Mar 27, 2025

Conversation

lstnl
Copy link
Contributor

@lstnl lstnl commented Mar 27, 2025

Added option to retry message send over ipc when for example there is -ENOMEM error (shared memory buffer full). Number of max retries and delay between them are Kconfigs. Fixed nrfs error reporting when sending directly over ipc service, status was not correct when negative value was returned from ipc service send function.

Signed-off-by: Łukasz Stępnicki [email protected]
(cherry picked from commit 152207d37e21ce91b51a28831d1be5a449327011)

@lstnl lstnl force-pushed the nrfs-improve-ipc-error-handling branch 2 times, most recently from 62c3ce6 to 7c9a5ec Compare March 27, 2025 11:49
Added option to retry message send over ipc when for example
there is -ENOMEM error (shared memory buffer full).
Number of max retries and delay between them are Kconfigs.
Fixed nrfs error reporting when sending directly over
ipc service, status was not correct when negative value
was returned from ipc service send function.

Signed-off-by: Łukasz Stępnicki <[email protected]>
(cherry picked from commit e62ebd8)
@lstnl lstnl force-pushed the nrfs-improve-ipc-error-handling branch from 7c9a5ec to a8d14a2 Compare March 27, 2025 13:48
@rlubos rlubos merged commit 1b05ede into nrfconnect:main Mar 27, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants