Skip to content

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

Merged
plbossart merged 1 commit into
thesofproject:topic/sof-devfrom
slawblauciak:fw_ready_flags
May 14, 2019
Merged

plbossart merged 1 commit into
thesofproject:topic/sof-devfrom
slawblauciak:fw_ready_flags

Conversation

@slawblauciak

Copy link
Copy Markdown

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.

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

FW side: thesofproject/sof#1418

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

ABI change to MAJOR looks suspicious?

Comment thread include/uapi/sound/sof/abi.h Resolved
@plbossart
plbossart requested a review from lgirdwood May 13, 2019 14:35
@plbossart plbossart added the ABI involves ABI changes, need extra attention label May 13, 2019
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.

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

Copy link
Copy Markdown
Author

I've removed the ABI version increment.

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

Thanks @slawblauciak

@plbossart plbossart removed the ABI involves ABI changes, need extra attention label May 14, 2019
@plbossart
plbossart merged commit 44443cb into thesofproject:topic/sof-dev 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.

2 participants