[Sound-open-firmware] Question about scheduling IPC task vs pipeline task
Daniel Baluta
daniel.baluta at nxp.com
Wed Apr 22 23:10:29 CEST 2020
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 at alsa-project.org> on behalf of Ranjani Sridharan <ranjani.sridharan at linux.intel.com>
Sent: Wednesday, April 22, 2020 11:47 PM
To: Daniel Baluta <daniel.baluta at gmail.com>
Cc: Lauda, Tomasz <tomasz.lauda at intel.com>; Paul Olaru <paul.olaru at nxp.com>; Sridharan, Ranjani <ranjani.sridharan at intel.com>; sound-open-firmware at alsa-project.org <sound-open-firmware at 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 at 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 at alsa-project.org
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.alsa-project.org%2Fmailman%2Flistinfo%2Fsound-open-firmware&data=02%7C01%7Cdaniel.baluta%40nxp.com%7C896ee8202b4e4491f00d08d7e6fe83a2%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637231853112319275&sdata=ThAAP%2FDZze%2Bjw6Vr8EjMBhFI2jkRy5oyclrsAB7lynE%3D&reserved=0
More information about the Sound-open-firmware
mailing list