alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [BUG] bdw-rt5650 DSP boot timeout
@ 2019-07-29 21:53 Jon Flatley
  2019-07-29 23:02 ` Pierre-Louis Bossart
  0 siblings, 1 reply; 21+ messages in thread
From: Jon Flatley @ 2019-07-29 21:53 UTC (permalink / raw)
  To: alsa-devel; +Cc: benzh, Pierre-Louis Bossart

I've been working on upstreaming the bdw-rt5650 machine driver for the
Acer Chromebase 24 (buddy). There seems to be an issue when first
setting the hardware controls that appears to be crashing the DSP:

[   51.424554] haswell-pcm-audio haswell-pcm-audio: FW loaded, mailbox
readback FW info: type 01, - version: 00.00, build 77, source commit
id: 876ac6906f31a43b6772b23c7c983ce9dcb18a19
...
[   84.924666] haswell-pcm-audio haswell-pcm-audio: error: audio DSP
boot timeout IPCD 0x0 IPCX 0x0
[   85.260655] haswell-pcm-audio haswell-pcm-audio: ipc: --message
timeout-- ipcx 0x83000000 isr 0x00000000 ipcd 0x00000000 imrx
0x7fff0000
[   85.273609] haswell-pcm-audio haswell-pcm-audio: error: stream commit failed
[   85.279746]  System PCM: error: failed to commit stream -110
[   85.285388] haswell-pcm-audio haswell-pcm-audio: ASoC:
haswell-pcm-audio hw params failed: -110
[   85.293963]  System PCM: ASoC: hw_params FE failed -110

This happens roughly 50% of the time when first setting hardware
controls after a reboot. The other 50% of the time the DSP comes up
just fine and audio works fine thereafter. Adding "#define DEBUG 1" to
sound/soc/intel/haswell/sst-haswell-ipc.c makes the issue occur much
less frequently in my testing. Seems like a subtle timing issue.

There were timing issues encountered during the bringup of the 2015
chromebook pixel (samus) which uses the bdw-rt5677 machine driver.
Those were slightly different, and manifested during repeated
arecords. Both devices use the same revision of the sst2 firmware.

Any ideas for how to debug this?

Thanks,
Jon

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2019-08-27 22:03 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-29 21:53 [BUG] bdw-rt5650 DSP boot timeout Jon Flatley
2019-07-29 23:02 ` Pierre-Louis Bossart
2019-07-29 23:10   ` Jon Flatley
2019-07-30  2:28     ` Pierre-Louis Bossart
2019-07-30  0:53   ` Ranjani Sridharan
2019-07-30  2:23     ` Pierre-Louis Bossart
2019-07-30 17:45       ` Jon Flatley
2019-07-30 18:47         ` Ranjani Sridharan
2019-07-30 19:04           ` Pierre-Louis Bossart
2019-08-14 19:48             ` Jon Flatley
2019-08-14 20:51               ` Pierre-Louis Bossart
2019-08-14 21:25                 ` Jon Flatley
2019-08-19  2:33                   ` Jie, Yang
2019-08-19 18:08                     ` Cezary Rojewski
2019-08-19 22:36                       ` Jon Flatley
2019-08-19 23:01                         ` Curtis Malainey
2019-08-20  0:55                           ` Pierre-Louis Bossart
2019-08-20  2:11                       ` Jie, Yang
2019-08-22 15:29                         ` Cezary Rojewski
2019-08-27 11:53                           ` Gustaw Lewandowski
2019-08-27 22:03                             ` Jon Flatley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).