-
Notifications
You must be signed in to change notification settings - Fork 140
[RFC]align mismatch ABI in info.h #1929
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
Conversation
Add new probe support extend date to show the probe support info. Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
Add new debug ABI version to be increased when changing user space debug interfaces while the the main ABI is not affected. Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
|
@plbossart @lgirdwood I will add printk that use this ABI update later. |
kv2019i
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some changes to commit message are needed, but otherwise good. Thanks @xiulipan
| } __packed; | ||
|
|
||
| /* extended data: user abi version(s) */ | ||
| struct sof_ipc_user_abi_version { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"user abi" is a bit weird name, but alas this was already merged to FW, so it's what it is.
| SOF_IPC_EXT_UNUSED = 0, | ||
| SOF_IPC_EXT_WINDOW = 1, | ||
| SOF_IPC_EXT_CC_INFO = 2, | ||
| SOF_IPC_EXT_PROBE_INFO = 3, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lgirdwood @jajanusz It really would be better to do the kernel PRs at the same time and have the person doing the change write a git commit message that explains the change. This "late-bound" sync of changes to kernel is not fun. Thanks for @xiulipan doing the patch, but I again have to ask for some improvements to the commit message:
- "add support for probe extended data"
- add explanation to commit body about the feature.. you should be able to copy this from the FW commit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agree with @kv2019i , this is a complete fail of the ABI change process.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The kernel and FW PRs must be done together and mention each other. It is up to maintainers to label as ABI and then to align both PRs using the classifier. So this is several steps taken by at least 3 people and is not being fully processed by everybody.
I am now wondering whether we should now be moving to a ABI minor bump only for every FW release (when the regular FW releases start soon). This would allow the kernel team to plan each merge window in advance to a specific FW version. @lbetlej fyi - regular FW releases would help here.
There is also complexity about bumping ABI in relation to kernel releases and FW releases. i.e. when do we close the ABI minor merge window for new kernel and FW releases (and use the next minor).
|
@plbossart @lgirdwood @kv2019i To make ABI version bump in order, I will close this PR and merge the ABI patch into #1890 |
Add probe support from thesofproject/sof#2338
Add debug ABI version from thesofproject/sof#2398
bump ABI to 3.14.0
Need by #1890