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

ipc: Refine some IPC data structures to make its size 4bytes aligned #139

Merged
merged 1 commit into from Jul 24, 2018

Conversation

RanderWang
Copy link
Collaborator

@RanderWang RanderWang commented Jul 23, 2018

Host communicates with dsp by sending or receiving data in memory
windows which are in PCI MMIO space. Some platforms like ICL require
the transaction size is 4bytes aligned. So it is better to make the
data size 4bytes aligned to make it work on all platforms.

I test on BDW and ICL, pass

Please make sure it is merged with :thesofproject/linux#48,
or you would get kernel panic

Signed-off-by: Rander Wang rander.wang@linux.intel.com

@plbossart
Copy link
Member

see comments for the linux parts at thesofproject/linux#48

Host communicates with dsp by sending or receiving data in memory
windows which are in PCI MMIO space. Some platforms like ICL require
the transaction size is 4bytes aligned. So it is better to make the
data size 4bytes aligned to make it work on all platforms.

Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
@RanderWang
Copy link
Collaborator Author

update my patch, thanks for review

Copy link
Member

@plbossart plbossart left a comment

Choose a reason for hiding this comment

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

@lrgirdwo: let me know when you merge this patch, i'll apply the same for the kernel.

@lgirdwood lgirdwood merged commit e902549 into thesofproject:master Jul 24, 2018
@lgirdwood
Copy link
Member

@plbossart merged.

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.

None yet

3 participants