All of lore.kernel.org
 help / color / mirror / Atom feed
From: vinod.koul@intel.com (Vinod Koul)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] dmaengine: bcm2835-dma: Convert to use DMA pool
Date: Sat, 5 Dec 2015 15:38:04 +0530	[thread overview]
Message-ID: <20151205100804.GY1854@localhost> (raw)
In-Reply-To: <1447672143-14201-1-git-send-email-peter.ujfalusi@ti.com>

On Mon, Nov 16, 2015 at 01:09:03PM +0200, Peter Ujfalusi wrote:
> f93178291712 dmaengine: bcm2835-dma: Fix memory leak when stopping a
> 	     running transfer
> 
> Fixed the memleak, but introduced another issue: the terminate_all callback
> might be called with interrupts disabled and the dma_free_coherent() is
> not allowed to be called when IRQs are disabled.
> Convert the driver to use dma_pool_* for managing the list of control
> blocks for the transfer.

Applied, thanks

-- 
~Vinod

WARNING: multiple messages have this Message-ID (diff)
From: Vinod Koul <vinod.koul@intel.com>
To: Peter Ujfalusi <peter.ujfalusi@ti.com>
Cc: swarren@wwwdotorg.org, lee@kernel.org, eric@anholt.net,
	dan.j.williams@intel.com, dmaengine@vger.kernel.org,
	linux-rpi-kernel@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] dmaengine: bcm2835-dma: Convert to use DMA pool
Date: Sat, 5 Dec 2015 15:38:04 +0530	[thread overview]
Message-ID: <20151205100804.GY1854@localhost> (raw)
In-Reply-To: <1447672143-14201-1-git-send-email-peter.ujfalusi@ti.com>

On Mon, Nov 16, 2015 at 01:09:03PM +0200, Peter Ujfalusi wrote:
> f93178291712 dmaengine: bcm2835-dma: Fix memory leak when stopping a
> 	     running transfer
> 
> Fixed the memleak, but introduced another issue: the terminate_all callback
> might be called with interrupts disabled and the dma_free_coherent() is
> not allowed to be called when IRQs are disabled.
> Convert the driver to use dma_pool_* for managing the list of control
> blocks for the transfer.

Applied, thanks

-- 
~Vinod

  parent reply	other threads:[~2015-12-05 10:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-16 11:09 [PATCH] dmaengine: bcm2835-dma: Convert to use DMA pool Peter Ujfalusi
2015-11-16 11:09 ` Peter Ujfalusi
2015-11-17  7:46 ` Peter Ujfalusi
2015-11-17  7:46   ` Peter Ujfalusi
2015-11-17  9:04   ` Stefan Wahren
2015-11-17  9:04     ` Stefan Wahren
2015-11-17  9:19     ` Peter Ujfalusi
2015-11-17  9:19       ` Peter Ujfalusi
2015-11-23 13:20 ` Matthias Reichl
2015-11-23 17:01   ` Stefan Wahren
2015-11-24 18:34 ` Eric Anholt
2015-11-24 18:34   ` Eric Anholt
2015-12-05 10:08 ` Vinod Koul [this message]
2015-12-05 10:08   ` 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=20151205100804.GY1854@localhost \
    --to=vinod.koul@intel.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.