Skip to content

ipc: replace fw ready bitfield with explicit bit ordering - #1418

Merged
jajanusz merged 1 commit into
thesofproject:masterfrom
slawblauciak:fw_ready_flags
May 14, 2019
Merged

jajanusz merged 1 commit into
thesofproject:masterfrom
slawblauciak:fw_ready_flags

Conversation

@slawblauciak

@slawblauciak slawblauciak commented May 13, 2019 •

Copy link
Copy Markdown
Collaborator

Previously the structure used bitfields,
which do not guarantee bit ordering.

This change makes sure the order is clearly defined.
It also renames and repurposes the field for general use,
which helps avoid the need to introduce new flag fields.

Signed-off-by: Slawomir Blauciak slawomir.blauciak@linux.intel.com

SW side: thesofproject/linux#937

@plbossart plbossart left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

same as for kernel, ABI MAJOR 4 doesn't seem quite right

Comment thread src/include/uapi/abi.h Resolved
Previously the structure used bitfields,
which do not guarantee bit ordering.

This change makes sure the order is clearly defined.
It also renames and repurposes the field for general use,
which helps avoid the need to introduce new flag fields.

Signed-off-by: Slawomir Blauciak <slawomir.blauciak@linux.intel.com>
@slawblauciak

Copy link
Copy Markdown
Collaborator Author

I've removed the ABI version increment.

@tlauda tlauda removed the ABI ABI change involved label May 14, 2019
@plbossart

Copy link
Copy Markdown
Member

I'll go ahead and merge the kernel part since there is no objection on the firmware side either.

@tlauda
tlauda requested a review from plbossart May 14, 2019 14:06
@jajanusz

Copy link
Copy Markdown
Contributor

@plbossart please approve this PR after merging SW PR

@jajanusz
jajanusz merged commit 59ad3c6 into thesofproject:master May 14, 2019
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