-
Notifications
You must be signed in to change notification settings - Fork 325
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
llext: use the new inspection API #9823
Conversation
Can one of the admins verify this patch?
|
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.
LGTM. @lyakh pls review
test this please |
a579f71
to
e36aac2
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.
Couple of issues i found while trying to understand what this (and the llext code in general) does (which is still on going).
e36aac2
to
e99d9d5
Compare
SOFCI TEST |
e99d9d5
to
a75cf84
Compare
This is a temporary change to use the Zephyr PR adding the new LLEXT inspection API. This is needed to test the SOF integration with the new API. Signed-off-by: Luca Burelli <[email protected]>
This commit does some minor preparatory refactors in the llext_manager module in preparation for the upcoming change to use the new LLEXT inspection API. Signed-off-by: Luca Burelli <[email protected]>
1c0910c
to
0ab0537
Compare
This patch converts the llext_manager to use the new LLEXT inspection API. The new API allows to get information about sections and regions without the need to access the internal structures of the LLEXT loader, decoupling SOF and LLEXT code and making it easier to maintain. Signed-off-by: Luca Burelli <[email protected]>
0ab0537
to
99611bc
Compare
SOFCI TEST |
@pillo79 I've added you to sof-developers so new PRs will automatically run in CI. |
Add debugging code for comparing memory copy operations between previous and current situations. Signed-off-by: Luca Burelli <[email protected]>
99611bc
to
4987f62
Compare
SOFCI TEST |
Closed in favor of #9831 to take advantage of the new SOF developer status and run CI automatically (thanks so much! 😍). |
This PR tries to improve SOF by minimizing its dependency on LLEXT internals.
Instead of relying on direct field access, the code in
llext_manager.c
is refactored to use a set of new, stable LLEXT APIs that expose the same information. These code changes should have no measurable effects in the rest of SOF.Note
main
are expected.