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

Ncsdk 31820 fix failing arch tests #2540

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

adamkondraciuk
Copy link
Contributor

@adamkondraciuk adamkondraciuk commented Feb 20, 2025

Fix failing arm/arch tests for nRF54H20

@adamkondraciuk adamkondraciuk force-pushed the NCSDK-31820-Fix-failing-arch-tests branch from ad388bf to 944f470 Compare February 21, 2025 09:55
Copy link
Contributor

@kapi-no kapi-no left a 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);
Copy link
Contributor

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.

https://github.com/nrfconnect/sdk-zephyr/blob/main/drivers/clock_control/clock_control_nrf2_global_hsfll.c#L28

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)

@adamkondraciuk adamkondraciuk force-pushed the NCSDK-31820-Fix-failing-arch-tests branch 2 times, most recently from 9126fd2 to f3e236f Compare February 21, 2025 14:04
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]>
@adamkondraciuk adamkondraciuk force-pushed the NCSDK-31820-Fix-failing-arch-tests branch from f3e236f to bb41167 Compare February 24, 2025 08:46
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.

6 participants