-
Notifications
You must be signed in to change notification settings - Fork 349
trace: Runtime filter message handler #3329
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
trace: Runtime filter message handler #3329
Conversation
lgirdwood
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.
Almost good to go.
|
@ktrzcinx can you link kernel PR here too. |
80ae6de to
56c28bb
Compare
|
@ktrzcinx do we have a pending kernel PR or logger PR ? |
56c28bb to
cd9f110
Compare
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.
Kernel now merged, just waiting on CI.... EDIT. logger merged not kernel.
|
@ktrzcinx can you ping me when kernel part is good and we can merge this one. |
|
@lgirdwood, of course, I will do that |
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.
With IPC ABI hat on, some minor concerns raised in kernel side review, let's keep open until those are solved: -> thesofproject/linux#2377 (comment)
|
@ktrzcinx can you update the firmware part to reflect the changes made on the kernel side. I think it's quite good now, and it'd be a nice addition to firmware 1.6 and kernel 5.10. |
cd9f110 to
ec4b077
Compare
|
@plbossart Aligned with kernel code. |
ec4b077 to
107d3a5
Compare
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.
ABI is now ok for kernel side as well. We are continuing with some codestyle issues for the kernel PR, but ABI part is good.
@lgirdwood As this missed the 1.6 release branch, should this bump ABI to 3.18? If yes, @ktrzcinx could you update the PR with annotations following the recently merged thesofproject/sof-docs#283 .. ?
src/include/user/abi_dbg.h
Outdated
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.
@ktrzcinx can you confirm this is a debug ABI update only. If so, we can put in in ABI3.17.
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.
This change bumps both ABI numbers
107d3a5 to
9146936
Compare
ABI bumped, added ABI version information for new structures . |
Message received from host carry information about new log level for component with pass selected filter values. Filter values are passed as a set of key-value values, what make it easy to extend in future. Last element in set must have SOF_IPC_TRACE_FILTER_ELEM_FIN bit set in key field, to mark end of filter values. New log level is also obligatory, must be within LOG_LEVEL_CRITICAL to LOG_LEVEL_VERBOSE range. It allows to changing trace lelvel for each components in firmware, on particular pipeline or with particular uuid key with single ipc command. Updating trace level is not fully implemented yet. Signed-off-by: Karol Trzcinski <karolx.trzcinski@linux.intel.com>
9146936 to
ed08acd
Compare
|
Updated comments to ABI 3.17 |
ed08acd to
d7eb665
Compare
Update process must be splited into two parts - updating global components, which have trace contect saved in dedicated section and updating ipc components, where trace contect is part of particular instance and data. Signed-off-by: Karol Trzcinski <karolx.trzcinski@linux.intel.com>
d7eb665 to
e4b5921
Compare
|
@kv2019i ping any comment here to keep thi sin ABI 3.17 for v1.6 ? |
|
@lgirdwood wrote:
|
It's a FW part extracted from #2965. This part have ABI changes.
Kernel part: thesofproject/linux#2377