diff options
author | Peter Ujfalusi <[email protected]> | 2022-10-18 15:40:08 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-10-18 19:16:45 +0100 |
commit | 010c050fe9ea263e3fc17493822117610a23f662 (patch) | |
tree | c0edc16d331695cae538da5f16d318d88bf9c5f8 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 483e4cdfb502e6bea6b0a226a3ff7c22e60153de (diff) |
ASoC: SOF: Intel: ipc4: Ack a received reply or notification separately
By acking a received message we tell the DSP that we have processed the
message (reply or notification) and we are open to receive a new one.
The original implementation did this in a common code after the received
message got handled as reply or notification.
With right timing this opens up a small window when we have processed the
reply and let the other thread proceed to send a new message to the DSP,
which is allowed as the DSP is free to receive message.
But when the message is received and processed by the DSP and it wants to
send a reply it will still see that the previous message has not been
acked, so it fails to send a reply. Later the first reply got acked by the
kernel, but it is too late and the in-flight message got a timeout due to
firmware not responding (which it tried, but could not).
Signed-off-by: Peter Ujfalusi <[email protected]>
Reviewed-by: Kai Vehmanen <[email protected]>
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Ranjani Sridharan <[email protected]>
Reviewed-by: Rander Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions