Skip to content

LLEXT: convert most remaining Module Adapter drivers#9453

Merged
kv2019i merged 15 commits intothesofproject:mainfrom
lyakh:llext-stub
Sep 18, 2024
Merged

LLEXT: convert most remaining Module Adapter drivers#9453
kv2019i merged 15 commits intothesofproject:mainfrom
lyakh:llext-stub

Conversation

@lyakh
Copy link
Copy Markdown
Collaborator

@lyakh lyakh commented Sep 10, 2024

This converts most remaining Module Adapter drivers to LLEXT modules without activating modular build for them. This also means that these modules haven't been tested for loading and therefore can use unexported symbols, in which case suitable EXPORT_SYMBOL() calls will have to be added

Copy link
Copy Markdown
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

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

A future update could fix the include paths to remove the ../../../

@lyakh
Copy link
Copy Markdown
Collaborator Author

lyakh commented Sep 11, 2024

@wszypelt as far as I can see two TGL QB failures cannot be related?

Copy link
Copy Markdown
Collaborator

@kv2019i kv2019i left a comment

Choose a reason for hiding this comment

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

See question inline about putting board file changes togehter with module changes.

CONFIG_MODULES=y
CONFIG_LIBRARY_BASE_ADDRESS=0xa0688000

# Modular by default components. Compile-tested but usually not needed at run-time
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.

Hmm, why are Intel board file changes and generic module code changes in the same commit? Especially as the config change is done to only some targets (e.g. not even all ace targets), so a commit explaining the reasoning would be nice.

Add support for LLEXT building to RTNR. Only building in a stub
configuration is supported, linking with a prebuilt library should be
implemented separately. So far no platform is switched to building
RTNR as a module.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
In certain configurations "asm" breaks compilation, use "__asm__"
instead.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
Add support for LLEXT building to google_ctc_audio_processing. Only
building in a stub configuration is supported, linking with a
prebuilt library should be implemented separately.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
zephyr/CmakeLists.txt contains multiple conditional blocks with the
same condition, that can be trivially merged. This patch does that.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
Add support for LLEXT building to crossover.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
Add support for LLEXT building to selector.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
Add support for LLEXT building to dcblock.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
Add support for LLEXT building to dts. Only building in a stub
configuration is supported, linking with a prebuilt library should be
implemented separately.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
Add support for LLEXT building to igo_nr. Only building in a stub
configuration is supported, linking with a prebuilt library should be
implemented separately.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
Add support for LLEXT building to tdfb.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
Add support for LLEXT building to multiband_drc.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
Add support for LLEXT building to aria.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
Add support for LLEXT building to mfcc.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
Add support for LLEXT building to google_rtc_audio_processing. Only
building in a stub configuration is supported, linking with a
prebuilt library should be implemented separately.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
@lgirdwood
Copy link
Copy Markdown
Member

@lyakh jenkins looks fine, the not runs are due to v2.11 stressing runs.

Add support for LLEXT building to mux.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
@lyakh lyakh changed the title LLEXT: convert modules, not tested by QuickBuild LLEXT: convert most remaining Module Adapter drivers Sep 18, 2024
@kv2019i kv2019i merged commit 3659b69 into thesofproject:main Sep 18, 2024
@lyakh lyakh deleted the llext-stub branch September 18, 2024 12:00
@lyakh lyakh mentioned this pull request Sep 20, 2024
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.

4 participants