DMA Engine development
 help / color / mirror / Atom feed
From: Vinod Koul <vkoul@kernel.org>
To: Michael Tretter <m.tretter@pengutronix.de>
Cc: dmaengine@vger.kernel.org, appana.durga.rao@xilinx.com,
	kernel@pengutronix.de
Subject: dmaengine: zynqmp_dma: replace spin_lock_bh with spin_lock_irqsave
Date: Wed, 5 Dec 2018 14:38:06 +0530	[thread overview]
Message-ID: <20181205090806.GI2847@vkoul-mobl> (raw)

On 26-11-18, 16:14, Michael Tretter wrote:
> All device_prep_dma_* functions and device_issue_pending can be called
> from an interrupt context. As this includes hard IRQs, we must use
> spin_lock_irqsave() instead of spin_lock_bh() to access chan->lock.

Applied, thanks

             reply	other threads:[~2018-12-05  9:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-05  9:08 Vinod Koul [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-11-26 15:14 dmaengine: zynqmp_dma: replace spin_lock_bh with spin_lock_irqsave Michael Tretter

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=20181205090806.GI2847@vkoul-mobl \
    --to=vkoul@kernel.org \
    --cc=appana.durga.rao@xilinx.com \
    --cc=dmaengine@vger.kernel.org \
    --cc=kernel@pengutronix.de \
    --cc=m.tretter@pengutronix.de \
    /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