Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 150
ASoC: SOF: make sof_ipc_cc_version to fixed length and fix ABI mismatch#1890
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
f4e61df41fb4808fc19021515627File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -110,9 +110,9 @@ struct sof_ipc_cc_version { | ||
| /* reserved for future use */ | ||
| uint32_t reserved[4]; | ||
kv2019i marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. kv2019i marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| char name[16]; /* null terminated compiler name */ | ||
| char optim[4]; /* null terminated compiler -O flag value */ | ||
| char desc[]; /* null terminated compiler description */ | ||
| uint8_t name[16]; /* null terminated compiler name */ | ||
| uint8_t optim[4]; /* null terminated compiler -O flag value */ | ||
| uint8_t desc[32]; /* null terminated compiler description */ | ||
| } __packed; | ||
| /* extended data: Probe setup */ | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -72,7 +72,7 @@ struct sof_ipc_dma_trace_posn { | ||
| struct sof_ipc_panic_info { | ||
| struct sof_ipc_hdr hdr; | ||
| uint32_t code; /* SOF_IPC_PANIC_ */ | ||
| char filename[SOF_TRACE_FILENAME_SIZE]; | ||
xiulipan marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| uint8_t filename[SOF_TRACE_FILENAME_SIZE]; | ||
| uint32_t linenum; | ||
| } __packed; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -26,7 +26,7 @@ | ||
| /* SOF ABI version major, minor and patch numbers */ | ||
| #define SOF_ABI_MAJOR 3 | ||
| #define SOF_ABI_MINOR 14 | ||
| #define SOF_ABI_MINOR 15 | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why do we go from 13 to 15 here? Author There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @plbossart For FW this change is for ABI 15, but kernel is still 13. Collaborator There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @xiulipan@plbossart You can get open Linux PRs that modify ABI by searching with ABI tag. 14 update is the DMIC one and it's here #1924 Author There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @kv2019i I think we should align the ABI between FW and Kernel. The FW is already 14 from thesofproject/sof#2398 I send #1929 to clean up the mismatched ABI version and info.h Collaborator There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ack @xiulipan Author There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @kv2019i The issue here is So here I think this fix should use 16. Collaborator There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @xiulipan@lgirdwood This PR anyways includes all changes from ABI13-14-15-16, so this is mostly to get the history records and git commit messages accurate. I'd change this commit in the series to assign ABI14 as that's how the FW was merged. And then align rest of the series as per ABI classifier (and unmerged patches). We'll end up with bumping ABI to 16 in this series in any case. Collaborator There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. am I the only one who thinks that we're doing something wrong with ABI numbers in general? I see several PRs currently in review changing the ABI version from X to Y, where X is often 13 and Y is one of 14, 15, or 16. And I don't think we practice manual patch merging by maintainers. Can we not try to separate feature merging and version incrementing? How about Then we'll be able to accumulate patches that actually need a new functionality before incrementing the version, but then callers would need to check for that error and "fail gracefully."
| ||
| #define SOF_ABI_PATCH 0 | ||
| /* SOF ABI version number. Format within 32bit word is MMmmmppp */ | ||
Uh oh!
There was an error while loading. Please reload this page.