Skip to content

LLEXT: Minor improvements#9703

Merged
kv2019i merged 7 commits into
thesofproject:mainfrom
lyakh:minor
Dec 3, 2024
Merged

LLEXT: Minor improvements#9703
kv2019i merged 7 commits into
thesofproject:mainfrom
lyakh:minor

Conversation

@lyakh

@lyakh lyakh commented Dec 3, 2024

Copy link
Copy Markdown
Collaborator

Several minor fixes and improvements from #9688

lyakh added 7 commits December 3, 2024 10:30
Use section offset from the section header in
llext_manager_load_data_from_storage() to simplify calculations and
eliminate a function parameter.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
file_offset in struct lib_manager_segment_desc is unused, remove it.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
We don't need to store .bss address and size until the module is
freed since .bss is allocated together with .data and we only need
its size when initialising it, not when freeing module memory. Remove
it to save memory.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
free(NULL) is allowed, remove redundant checks.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
Remove unused arguments from llext_manager_load_module(),
llext_manager_unload_module() and llext_manager_link().

Signed-off-by: Guennadi Liakhovetski <[email protected]>
Zephyr logging prints function names, no need to include them
explicitly.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
llext_manager_allocate_module() should return 0 when failing, not an
error code.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
@lyakh

lyakh commented Dec 3, 2024

Copy link
Copy Markdown
Collaborator Author

https://sof-ci.01.org/sofpr/PR9703/build9630/devicetest/index.html unfortunately only tested SDW, we need HDA tested, restart SOF CI

@lyakh

lyakh commented Dec 3, 2024

Copy link
Copy Markdown
Collaborator Author

SOFCI TEST

@lyakh

lyakh commented Dec 3, 2024

Copy link
Copy Markdown
Collaborator Author

A few failures on LNL, but supposedly all known https://sof-ci.01.org/sofpr/PR9703/build9638/devicetest/index.html

@kv2019i kv2019i left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good fixes and easy to follow commit messages!

@kv2019i

kv2019i commented Dec 3, 2024

Copy link
Copy Markdown
Collaborator

sof-docs fail and Intel LNL fails all known and tracked in https://github.com/thesofproject/sof/issues?q=is%3Aissue+is%3Aopen+label%3A%22Known+PR+Failures%22+

@kv2019i kv2019i merged commit 31ab84a into thesofproject:main Dec 3, 2024
@lyakh lyakh deleted the minor branch December 4, 2024 06: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.

3 participants