-
Notifications
You must be signed in to change notification settings - Fork 140
[RFC] remove using 'offset' field in host ring buffer #693
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
[RFC] remove using 'offset' field in host ring buffer #693
Conversation
We set this field to zero and never used it again. The firmware does not use it. Yank. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
We set this field to zero and never used it again. The firmware does not use it. Yank. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
This field doesn't seem to be used by anyone, reclaim as reserved. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
c286ad6 to
e0e5a43
Compare
|
I planed to use this for the non-0 offset stream(including trace) resuming, #248 I prefer to keep this offset which might be more generic definition for the buffer start. |
|
@keyonjie with all due respect you haven't touched this in 3.5 months and no one has any plans to make this happen in the next 4 months. If this feature is needed we do it well, or we don't do it at all. |
@plbossart As the implementation of the feature may vary for different platforms(e.g. SKL- and SKL+), so we need to consider more and align on how to implement it. There is an enhancement(thesofproject/sof#544) in FW side(only needed for SKL-), but nobody is assigned to work on that yet, so... |
|
LGTM. @keyonjie may have a point but I think its better to add it when needed to avoid unnecessary confusion |
|
I am fine to remove it. This is actually already there in the original code, my try to use it in #248 is only a thought about using it. If it don't introduce extra ABI bump, feel free to remove it or add it back when needed. |
|
What this thread shows is that we don't have a good control of what we work on, there are enhancements that are parked without any plans, we need to collectively do a better job at |
|
@keyonjie thinking a bit more on this, even if we have a field that is already present in the IPC structure, if it's not used it cannot be considered as part of the existing ABI. Conversely, the moment we start using such a field with a non-zero value that has a functional impact, we need to make sure that the firmware actually supports this capability by checking the ABI version. |
|
let's merge this and revisit later if we need an actual ABI change/functionality. |
This field doesn't seem to be used, remove.
I don't believe there is a need for an ABI bump since it's not used on either side.
Don't merge for now since we may want to actually use this field to define the endianness of the compressed page table as discussed in #652