-
Notifications
You must be signed in to change notification settings - Fork 645
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
Ncsdk 31820 fix failing arch tests #2540
base: main
Are you sure you want to change the base?
Ncsdk 31820 fix failing arch tests #2540
Conversation
21f23af
to
ad388bf
Compare
ad388bf
to
944f470
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK. I think you should also get a review from @doki-nordic who is the codeowner of the IPC service
@@ -1249,7 +1246,8 @@ static int backend_init(const struct device *instance) | |||
MAYBE_CONST struct icbmsg_config *conf = (struct icbmsg_config *)instance->config; | |||
struct backend_data *dev_data = instance->data; | |||
#ifdef CONFIG_MULTITHREADING | |||
static K_THREAD_STACK_DEFINE(ep_bound_work_q_stack, EP_BOUND_WORK_Q_STACK_SIZE); | |||
static K_THREAD_STACK_DEFINE(ep_bound_work_q_stack, | |||
CONFIG_IPC_SERVICE_BACKEND_ICBMSG_EP_BOUND_WORK_Q_STACK_SIZE); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just a mild suggestion but we use #define aliases for Kconfig names that are very long. E.g.
Consider improving it if you do another push to this PR. Otherwise, you can ignore this comment
#define EP_BOUND_WORK_Q_STACK_SIZE \
(CONFIG_IPC_SERVICE_BACKEND_ICBMSG_EP_BOUND_WORK_Q_STACK_SIZE)
9126fd2
to
f3e236f
Compare
Add `IPC_SERVICE_BACKEND_ICBMSG_EP_BOUND_WORK_Q_STACK_SIZE` config and parametrize its value depending on the optimization level. Upstream PR #: 86103 Signed-off-by: Adam Kondraciuk <[email protected]>
This reverts commit 28bd478. This commit can be reverted as the cause of test failure has been removed in ipc service by increasing workqueue stack size. Upstream PR #: 86103 Signed-off-by: Adam Kondraciuk <[email protected]>
f3e236f
to
bb41167
Compare
Fix failing arm/arch tests for nRF54H20