From: Lars-Peter Clausen <lars@metafoo.de>
To: Takashi Iwai <tiwai@suse.de>
Cc: Vinod Koul <vinod.koul@intel.com>,
alsa-devel@alsa-project.org,
Russell King <rmk+kernel@arm.linux.org.uk>,
Shengjiu Wang <shengjiu.wang@freescale.com>,
Dan Williams <dan.j.williams@intel.com>,
Jonah Petri <jpetri@izotope.com>,
Matt Campbell <mcampbell@izotope.com>,
Qiao Zhou <zhouqiao@marvell.com>,
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 4/4] ALSA: pcm_dmaengine: Properly synchronize DMA on shutdown
Date: Tue, 20 Oct 2015 15:01:27 +0200 [thread overview]
Message-ID: <56263B27.9000106@metafoo.de> (raw)
In-Reply-To: <56262810.3040201@metafoo.de>
[...]
> I've tested this series with xrun injection and some modifications to the
> DMA driver to always trigger the race condition when the stream is stopped.
> And I've not seen any issues after the transfer re-started. (There is a
> dead-lock condition though but that does not seem to be related to this series)
Turns out that was a bug in the DMA driver that caused
snd_pcm_period_elapsed() to be called on the TRIGGER_START path. So the ALSA
side seems to be good.
next prev parent reply other threads:[~2015-10-20 13:01 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-20 9:46 [PATCH 0/4] dmaengine: Add transfer termination synchronization support Lars-Peter Clausen
2015-10-20 9:46 ` [PATCH 1/4] " Lars-Peter Clausen
2015-10-29 21:59 ` Andy Shevchenko
2015-10-30 14:16 ` Lars-Peter Clausen
2015-10-20 9:46 ` [PATCH 2/4] dmaengine: virt-dma: Add synchronization helper function Lars-Peter Clausen
2015-10-20 9:46 ` [PATCH 3/4] dmaengine: axi_dmac: Add synchronization support Lars-Peter Clausen
2015-10-20 9:46 ` [PATCH 4/4] ALSA: pcm_dmaengine: Properly synchronize DMA on shutdown Lars-Peter Clausen
2015-10-20 11:17 ` Takashi Iwai
2015-10-20 11:40 ` Lars-Peter Clausen
2015-10-20 12:36 ` Takashi Iwai
2015-10-20 13:01 ` Lars-Peter Clausen [this message]
2015-10-29 1:26 ` [PATCH 0/4] dmaengine: Add transfer termination synchronization support Vinod Koul
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56263B27.9000106@metafoo.de \
--to=lars@metafoo.de \
--cc=alsa-devel@alsa-project.org \
--cc=dan.j.williams@intel.com \
--cc=dmaengine@vger.kernel.org \
--cc=jpetri@izotope.com \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mcampbell@izotope.com \
--cc=rmk+kernel@arm.linux.org.uk \
--cc=shengjiu.wang@freescale.com \
--cc=tiwai@suse.de \
--cc=vinod.koul@intel.com \
--cc=zhouqiao@marvell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox