Sorry for late reply.I found a fix for this. Caches areas were not correct causing volume copies to take longer than expected. ________________________________ From: Sound-open-firmware sound-open-firmware-bounces@alsa-project.org on behalf of Ranjani Sridharan ranjani.sridharan@linux.intel.com Sent: Wednesday, April 22, 2020 11:47 PM To: Daniel Baluta daniel.baluta@gmail.com Cc: Lauda, Tomasz tomasz.lauda@intel.com; Paul Olaru paul.olaru@nxp.com; Sridharan, Ranjani ranjani.sridharan@intel.com; sound-open-firmware@alsa-project.org sound-open-firmware@alsa-project.org Subject: Re: [Sound-open-firmware] Question about scheduling IPC task vs pipeline task
On Wed, 2020-04-22 at 00:05 +0300, Daniel Baluta wrote:
On Tue, Apr 21, 2020 at 11:59 PM Ranjani Sridharan ranjani.sridharan@linux.intel.com wrote:
On Tue, 2020-04-21 at 23:55 +0300, Daniel Baluta wrote:
Hi Tomasz,
Running aplay I get this timeout, on kernel side:
sof-audio-of 3b6e8000.dsp: error: ipc timed out for 0x60040000 size 12 This is the command for SOF_IPC_STREAM_TRIG_START.
Hi Daniel,
Do you have any further logs in dmesg? Usually, timeouts are followed by any DSP FW exceptions IIRC. Is the DSP still after you see the timeout?
Indeed, it could make sense that DSP has crashed. The infrastructure for traces when DSP crashes is not quite implemented on IMX.
Let me try to add something adhoc.
Trace on the kernel side is not very helpful:
60.140624] sof-audio-of 3b6e8000.dsp: error: ipc timed out for 0x60040000 size 12 [ 60.148212] sof-audio-of 3b6e8000.dsp: error: waking up any trace sleepers [ 60.155150] Port0: ASoC: trigger FE cmd: 1 failed: -110 [ 60.155433] sof-audio-of 3b6e8000.dsp: error: trace IO error [ 60.684636] sof-audio-of 3b6e8000.dsp: error: ipc timed out for 0x60050000 size 12 [ 60.692227] sof-audio-of 3b6e8000.dsp: error: waking up any trace
You could try sedning a "ping" with the FLOOD_TEST IPC if you have the debug option enabled to check quickly if the DSP is still alive.
Thanks, Ranjani
_______________________________________________ Sound-open-firmware mailing list Sound-open-firmware@alsa-project.org https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.al...