You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The COMP_CMD_SET_DATA requires max. length acknowledge message from DSP #477
Also it looks like the command also uses maximum length (384) for sent data even if the set data payload is much smaller. The set data IPC could be enhanced to be more efficient.
changed the title [-]The COMP_CMD_SET_DATA requires max. length response acknowledge from DSP[/-][+]The COMP_CMD_SET_DATA requires max. length acknowledge message from DSP[/+]on Dec 20, 2018
If the usage of always max. size IPC is confirmed (the header size field is always 384 for EQs data with checks for it enforced, I noticed this due to the IPC size check bug) then just as kernel change by using as size the actual payload size + headers size would be a first improvement to reduce IPC traffic.
If we would optimize that response from firmware does not need to the same length but just sufficient to report back success it would optimize the traffic even more. But that would be an IPC change. Maybe not for ABI header files but for the usage of them.
@plbossart this would not require any ipc change but just an appropriate reply size set for the command so that the DSP isnt sending the entire chunk back to the host.
Activity
[-]The COMP_CMD_SET_DATA requires max. length response acknowledge from DSP[/-][+]The COMP_CMD_SET_DATA requires max. length acknowledge message from DSP[/+]plbossart commentedon Dec 20, 2018
@singalsu would you mind clarifying what the problem is and what you are looking for? is this an IPC change or just a change on the kernel side?
singalsu commentedon Dec 20, 2018
If the usage of always max. size IPC is confirmed (the header size field is always 384 for EQs data with checks for it enforced, I noticed this due to the IPC size check bug) then just as kernel change by using as size the actual payload size + headers size would be a first improvement to reduce IPC traffic.
If we would optimize that response from firmware does not need to the same length but just sufficient to report back success it would optimize the traffic even more. But that would be an IPC change. Maybe not for ABI header files but for the usage of them.
ranj063 commentedon Dec 20, 2018
@plbossart this would not require any ipc change but just an appropriate reply size set for the command so that the DSP isnt sending the entire chunk back to the host.
bpf: fix potential deadlock in bpf_prog_register
singalsu commentedon Jun 14, 2019
I will start working with this after my vacation in end of June. This is related to Linux #753 and PR #890.
singalsu commentedon Jan 14, 2020
Not sure this is valid any more. I need to re-check and close this if such no more happens.
lgirdwood commentedon Jan 14, 2020
@singalsu MAX IPC size has been recently updated too, best to check its in both FW and SW.
singalsu commentedon Feb 15, 2021
I don't think this issue is relevant any more. Closing.