Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1251663

Re: [PATCH 4/4] ALSA: pcm_dmaengine: Properly synchronize DMA on shutdown

From Lars-Peter Clausen <lars@metafoo.de>
Newsgroups linux.kernel
Subject Re: [PATCH 4/4] ALSA: pcm_dmaengine: Properly synchronize DMA on shutdown
Date 2015-10-20 15:10 +0200
Message-ID <qlEPT-4Ce-19@gated-at.bofh.it> (permalink)
References <qlBIm-8jI-3@gated-at.bofh.it> <qlBIn-8jI-21@gated-at.bofh.it> <qlD7s-258-13@gated-at.bofh.it> <qlDAu-2Db-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[...]
> 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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/4] dmaengine: Add transfer termination synchronization support Lars-Peter Clausen <lars@metafoo.de> - 2015-10-20 11:50 +0200
  [PATCH 4/4] ALSA: pcm_dmaengine: Properly synchronize DMA on shutdown Lars-Peter Clausen <lars@metafoo.de> - 2015-10-20 11:50 +0200
    Re: [PATCH 4/4] ALSA: pcm_dmaengine: Properly synchronize DMA on shutdown Takashi Iwai <tiwai@suse.de> - 2015-10-20 13:20 +0200
      Re: [PATCH 4/4] ALSA: pcm_dmaengine: Properly synchronize DMA on  shutdown Lars-Peter Clausen <lars@metafoo.de> - 2015-10-20 13:50 +0200
        Re: [PATCH 4/4] ALSA: pcm_dmaengine: Properly synchronize DMA on shutdown Takashi Iwai <tiwai@suse.de> - 2015-10-20 14:40 +0200
        Re: [PATCH 4/4] ALSA: pcm_dmaengine: Properly synchronize DMA on  shutdown Lars-Peter Clausen <lars@metafoo.de> - 2015-10-20 15:10 +0200
  [PATCH 2/4] dmaengine: virt-dma: Add synchronization helper function Lars-Peter Clausen <lars@metafoo.de> - 2015-10-20 11:50 +0200
  [PATCH 1/4] dmaengine: Add transfer termination synchronization support Lars-Peter Clausen <lars@metafoo.de> - 2015-10-20 11:50 +0200
    Re: [PATCH 1/4] dmaengine: Add transfer termination synchronization support Andy Shevchenko <andy.shevchenko@gmail.com> - 2015-10-29 23:10 +0100
      Re: [PATCH 1/4] dmaengine: Add transfer termination synchronization  support Lars-Peter Clausen <lars@metafoo.de> - 2015-10-30 15:20 +0100
  [PATCH 3/4] dmaengine: axi_dmac: Add synchronization support Lars-Peter Clausen <lars@metafoo.de> - 2015-10-20 11:50 +0200
  Re: [PATCH 0/4] dmaengine: Add transfer termination synchronization  support Vinod Koul <vinod.koul@intel.com> - 2015-10-29 02:30 +0100

csiph-web