From: Mark Brown <broonie@kernel.org>
To: Lukasz Czerwinski <l.czerwinski@samsung.com>
Cc: s.nawrocki@samsung.com, linux-samsung-soc@vger.kernel.org,
linux-spi@vger.kernel.org
Subject: Re: [RFC PATCH 6/6] spi: spi-s3c64xx: Move DMA initialization
Date: Mon, 9 Sep 2013 15:53:51 +0100 [thread overview]
Message-ID: <20130909145351.GD29403@sirena.org.uk> (raw)
In-Reply-To: <1378735766-12330-7-git-send-email-l.czerwinski@samsung.com>
[-- Attachment #1: Type: text/plain, Size: 732 bytes --]
On Mon, Sep 09, 2013 at 04:09:26PM +0200, Lukasz Czerwinski wrote:
> This patch removes DMA channel initialization and deinitialization for each
> transfer. Now DMA channel is requested only at the driver initialization
> and stored in driver data.
So, this is fine but I had been under the impression that one of the
reasons that the channels were only being requested at transfer time was
that they could be used for other purposes too. If that is not the case
then fine, if that is the case then probably moving to prepare/unprepare
transfer hardware (when the clocks are enabled) would make more sense -
that'd avoid repeated allocations and frees while the controller is busy
which should be the main issue performance wise.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2013-09-09 14:54 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-09 14:09 [RFC PATCH 0/6] spi/s3c64xx: clean up and optimization Lukasz Czerwinski
2013-09-09 14:09 ` [RFC PATCH 1/6] spi: spi-s3c64xx: Remove platform dependent code Lukasz Czerwinski
2013-09-09 14:38 ` Mark Brown
2013-09-11 16:21 ` Heiko Stübner
2013-09-09 14:09 ` [RFC PATCH 2/6] spi: spi-s3c64xx: Correct functions namespacing Lukasz Czerwinski
2013-09-09 14:09 ` [RFC PATCH 3/6] spi: spi-s3c64xx: Add coherent buffers for DMA transfers Lukasz Czerwinski
2013-09-09 14:45 ` Mark Brown
2013-09-10 11:23 ` Łukasz Czerwiński
2013-09-10 12:02 ` Mark Brown
2013-09-11 7:48 ` Łukasz Czerwiński
2013-09-09 14:09 ` [RFC PATCH 4/6] spi: spi-s3c64xx: Remove redundant code Lukasz Czerwinski
2013-09-09 14:09 ` [RFC PATCH 5/6] spi: spi-s3c64xx: Use module_platform_driver() Lukasz Czerwinski
2013-09-09 14:47 ` Mark Brown
2013-09-09 14:09 ` [RFC PATCH 6/6] spi: spi-s3c64xx: Move DMA initialization Lukasz Czerwinski
2013-09-09 14:53 ` Mark Brown [this message]
2013-09-10 11:24 ` Łukasz Czerwiński
2013-09-10 12:03 ` Mark Brown
2013-09-10 13:16 ` Łukasz Czerwiński
2013-09-10 16:32 ` Mark Brown
2013-09-11 7:45 ` Łukasz Czerwiński
2013-09-11 10:03 ` Mark Brown
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=20130909145351.GD29403@sirena.org.uk \
--to=broonie@kernel.org \
--cc=l.czerwinski@samsung.com \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=s.nawrocki@samsung.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 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.