Skip to content

Conversation

@lyakh
Copy link
Collaborator

@lyakh lyakh commented Jan 14, 2025

With this waves can be built as a part of IPC4 configuration - either linked into the base image or as a LLEXT module.

lyakh added 2 commits January 14, 2025 13:29
Of course, 32 modules must be enough forever, until it isn't. With
waves we've hit the limit. Let's raise it to 48, because that
certainly will be enough forever.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
With this waves can be built as a part of IPC4 configuration - either
linked into the base image or as a LLEXT module.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Copy link
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.

LGTM, just one open on max module count.

#define EXTENDED_MANIFEST_VERSION_MINOR 0x0000

#define FW_MAX_EXT_MODULE_NUM 32
#define FW_MAX_EXT_MODULE_NUM 48
Copy link
Member

Choose a reason for hiding this comment

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

What's the container size ? Lets just set this unlimited.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@lgirdwood it is used for a fixed-size array inside a structure. So the only alternative would be to count and dynamically allocate

Copy link
Member

Choose a reason for hiding this comment

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

ack, I think we need the dynamic alloc (with a sane max). Whats the array elem size ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@lgirdwood one element is 48 bytes large (if I counted correctly). Since this is rimage, running on a build machine with gigabytes of RAM, maybe this optimisation isn't very urgent and can be postponed to a later PR?

Copy link
Member

Choose a reason for hiding this comment

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

ack - that's fine - no impact to FW foot print. Since its host I would make it high in a followup PR to future proof rimage for v2.13

@lyakh
Copy link
Collaborator Author

lyakh commented Jan 14, 2025

@lgirdwood lgirdwood merged commit b95fc72 into thesofproject:main Jan 15, 2025
45 of 51 checks passed
@lyakh lyakh deleted the waves branch January 16, 2025 11:14
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