public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Timur Tabi <timur@tabi•org>
To: alex.popov@linux•com,
	Benjamin Herrenschmidt <benh@kernel•crashing.org>,
	Paul Mackerras <paulus@samba•org>,
	Michael Ellerman <mpe@ellerman•id.au>,
	Anatolij Gustschin <agust@denx•de>, Rob Herring <robh@kernel•org>,
	Grant Likely <grant.likely@linaro•org>,
	Dan Williams <dan.j.williams@intel•com>,
	Vinod Koul <vinod.koul@intel•com>,
	Pawel Moll <pawel.moll@arm•com>,
	Mark Rutland <mark.rutland@arm•com>,
	Ian Campbell <ijc+devicetree@hellion•org.uk>,
	Kumar Gala <galak@codeaurora•org>,
	linuxppc-dev@lists•ozlabs.org, dmaengine@vger•kernel.org,
	devicetree@vger•kernel.org, linux-kernel@vger•kernel.org
Subject: Re: [PATCH v3 1/3] powerpc/512x: add LocalPlus Bus FIFO device driver
Date: Mon, 28 Sep 2015 08:18:21 -0500	[thread overview]
Message-ID: <56093E1D.4080008@tabi.org> (raw)
In-Reply-To: <56093CE5.5070301@linux.com>

Alexander Popov wrote:
> The only question I have: why calling dma_unmap_single() from within
> a spinlock is a bad practice?

I don't know, but usually functions that allocate or free memory cannot 
be called from within a spinlock.  You need to check that.  Since the 
MPC5121 is a single-core CPU, you might not notice if you're doing 
something wrong.

  reply	other threads:[~2015-09-28 13:18 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-24 17:28 [PATCH v3 0/3] powerpc/512x: add LocalPlus Bus FIFO device driver Alexander Popov
2015-09-24 17:28 ` [PATCH v3 1/3] " Alexander Popov
2015-09-25  1:01   ` Timur Tabi
2015-09-28 13:13     ` Alexander Popov
2015-09-28 13:18       ` Timur Tabi [this message]
2015-09-29  6:34         ` Alexander Popov
2015-09-30 21:24     ` Alexander Popov
2015-10-01 17:11       ` Timur Tabi
2015-10-05 22:22         ` Alexander Popov
2015-09-24 17:28 ` [PATCH v3 2/3] powerpc/512x: add a device tree binding for LocalPlus Bus FIFO Alexander Popov
2015-09-25  0:18   ` Timur Tabi
2015-09-28 13:24     ` Alexander Popov
2015-09-28 13:26       ` Timur Tabi
2015-09-29  6:35         ` Alexander Popov
2015-09-24 17:28 ` [PATCH v3 3/3] dmaengine: mpc512x: initialize with subsys_initcall() Alexander Popov
2015-09-25  0:16   ` Timur Tabi
2015-09-28 13:15     ` Alexander Popov
2015-10-07 14:17   ` Vinod Koul
2015-10-07 21:31     ` Alexander Popov

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=56093E1D.4080008@tabi.org \
    --to=timur@tabi$(echo .)org \
    --cc=agust@denx$(echo .)de \
    --cc=alex.popov@linux$(echo .)com \
    --cc=benh@kernel$(echo .)crashing.org \
    --cc=dan.j.williams@intel$(echo .)com \
    --cc=devicetree@vger$(echo .)kernel.org \
    --cc=dmaengine@vger$(echo .)kernel.org \
    --cc=galak@codeaurora$(echo .)org \
    --cc=grant.likely@linaro$(echo .)org \
    --cc=ijc+devicetree@hellion$(echo .)org.uk \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=mark.rutland@arm$(echo .)com \
    --cc=mpe@ellerman$(echo .)id.au \
    --cc=paulus@samba$(echo .)org \
    --cc=pawel.moll@arm$(echo .)com \
    --cc=robh@kernel$(echo .)org \
    --cc=vinod.koul@intel$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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