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

subsys: ipc: icbmsg: Reduce block alignment to 32-bits #79604

Merged

Conversation

doki-nordic
Copy link
Collaborator

@doki-nordic doki-nordic commented Oct 9, 2024

The ICBMsg backend divides its memory into blocks. Each block is aligned to data cache alignment. Is it not required, since adjacent blocks has the same data flow direction (either read-only or write-only). This commit changes it to 32-bits making wasted memory significantly reduced.

@doki-nordic doki-nordic added the DNM This PR should not be merged (Do Not Merge) label Oct 9, 2024
@zephyrbot zephyrbot added area: IPC Inter-Process Communication area: Samples Samples platform: nRF Nordic nRFx area: Devicetree labels Oct 9, 2024
@decsny decsny removed their request for review October 10, 2024 19:00
anangl
anangl previously approved these changes Oct 23, 2024
doki-nordic added a commit to doki-nordic/sdk-zephyr that referenced this pull request Oct 23, 2024
The ICBMsg backend divides its memory into
blocks. Each block is aligned to data cache
alignment. Is it not required, since adjacent
blocks has the same data flow direction (either
read-only or write-only). This commit changes
it to 32-bits making wasted memory significantly
reduced.

Upstream PR: zephyrproject-rtos/zephyr#79604

Signed-off-by: Dominik Kilian <[email protected]>
The ICBMsg backend divides its memory into
blocks. Each block is aligned to data cache
alignment. Is it not required, since adjacent
blocks has the same data flow direction (either
read-only or write-only). This commit changes
it to 32-bits making wasted memory significantly
reduced.

Signed-off-by: Dominik Kilian <[email protected]>
@doki-nordic doki-nordic removed the DNM This PR should not be merged (Do Not Merge) label Oct 24, 2024
@de-nordic de-nordic added this to the v4.1.0 milestone Nov 22, 2024
@nashif nashif merged commit 81bb231 into zephyrproject-rtos:main Nov 22, 2024
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Devicetree area: IPC Inter-Process Communication area: Samples Samples platform: nRF Nordic nRFx
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants