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

Topology: NHLT: Intel: Add support for blob format v3.0 #276

Closed

Conversation

singalsu
Copy link
Contributor

No description provided.

Copy link
Contributor

@jsarha jsarha left a comment

Choose a reason for hiding this comment

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

Apart from couple of minor issues this looks good AFAIU.

topology/nhlt/intel/ssp/ssp-debug.c Show resolved Hide resolved
topology/nhlt/intel/ssp/ssp-process.c Outdated Show resolved Hide resolved
Copy link

@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.

@singalsu Looks good, some minor comments, see inline.

topology/nhlt/intel/ssp/ssp-debug.c Show resolved Hide resolved
topology/nhlt/intel/ssp/ssp-debug.c Outdated Show resolved Hide resolved
topology/nhlt/intel/ssp/ssp-process.c Show resolved Hide resolved
topology/nhlt/intel/ssp/ssp-debug.c Show resolved Hide resolved
@singalsu singalsu force-pushed the ace3x_changes_to_nhlt_ssp_blob branch from d8e8f75 to dccf228 Compare October 10, 2024 11:00
Copy link
Contributor

@jsarha jsarha left a comment

Choose a reason for hiding this comment

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

Found one more place where 8 could be replaced with SSP_TS_GROUP_SIZE, but that is a minor issue, so approved.


blob30->gateway_attributes = blob->gateway_attributes;
blob30->version = SSP_BLOB_VER_3_0;
for (i = 0; i < 8; i++)
Copy link
Contributor

Choose a reason for hiding this comment

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

Should maybe use SP_TS_GROUP_SIZE here too (or ARRAY_SIZE(blob->ts_group)).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, I fixed it, and also for v1.5! Can you please re-review @jsarha .

This patch adds the 3.0 format that is used for the PTL
ACE3.x platform. Blob 3.0 is based on blob 1.5 but it adds
DMA control registers settings and has some changes in
registers bitfields.

This patch also fixes some compile warnings when NHLT_DEBUG is
set for comparing int with unsigned in ssp-debug.c for code for
all blobs variants.

Signed-off-by: Seppo Ingalsuo <[email protected]>
The MOD = 1 is the only allowed setting for SSC0(31) bit for
cAVS 2.x and all ACE versions 1.x, 2.x, and 3.x

Signed-off-by: Seppo Ingalsuo <[email protected]>
- The SSC1 bits 21 and 20, TSRE and RSRE, do not exist.
- The SSC0 bit 30 ACS does not exist.
- The SSC0 bit 6 ECS does not exist but needs to be set, add note.
- The MDIVXCTRL bits 20:21 MNDSS does not exist.

Signed-off-by: Seppo Ingalsuo <[email protected]>
@singalsu singalsu force-pushed the ace3x_changes_to_nhlt_ssp_blob branch from dccf228 to cda97fb Compare October 18, 2024 08:34
@singalsu singalsu requested a review from jsarha October 18, 2024 08:36
Copy link
Contributor

@jsarha jsarha left a comment

Choose a reason for hiding this comment

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

LGTM

@perexg perexg closed this in 451afcd Oct 23, 2024
perexg pushed a commit that referenced this pull request Oct 23, 2024
The MOD = 1 is the only allowed setting for SSC0(31) bit for
cAVS 2.x and all ACE versions 1.x, 2.x, and 3.x

Closes: #276
Signed-off-by: Seppo Ingalsuo <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
perexg pushed a commit that referenced this pull request Oct 23, 2024
- The SSC1 bits 21 and 20, TSRE and RSRE, do not exist.
- The SSC0 bit 30 ACS does not exist.
- The SSC0 bit 6 ECS does not exist but needs to be set, add note.
- The MDIVXCTRL bits 20:21 MNDSS does not exist.

Closes: #276
Signed-off-by: Seppo Ingalsuo <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
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