From: marex@denx.de (Marek Vasut)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/2] spi: spi-imx: enable dma support for escpi controller
Date: Tue, 14 Jan 2014 23:25:40 +0100 [thread overview]
Message-ID: <201401142325.40943.marex@denx.de> (raw)
In-Reply-To: <20140114221315.GE15567@sirena.org.uk>
On Tuesday, January 14, 2014 at 11:13:15 PM, Mark Brown wrote:
> On Tue, Jan 14, 2014 at 11:02:31PM +0100, Marek Vasut wrote:
> > On Tuesday, January 14, 2014 at 10:55:48 PM, Mark Brown wrote:
> > > Or try to - the other trick here is getting 4MB of contiguous memory in
> > > the first place (unless there's an IOMMU making everything pretty).
> >
> > Oh, but what if I want to make a really looong transfer ? Say, read
> > entire SPI NOR of 128MB in size ... Spansion has such big SPI NORs in
> > their new portfolio.
>
> Use scatter/gather - to the SPI controller and the outside world it
> still looks like one big transfer (I'm missing a way to go from a
> virtual address to a sg_list, that'd be handy). It's an issue if the
> DMA controller doesn't support it but but that's rare.
OK, yep, indeed.
Best regards,
Marek Vasut
prev parent reply other threads:[~2014-01-14 22:25 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-03 22:53 [PATCH v2 1/2] spi: spi-imx: enable dma support for escpi controller Frank Li
2014-01-03 22:53 ` [PATCH v2 2/2] ARM: dts: imx: enable dma for spi Frank Li
2014-01-06 5:58 ` Shawn Guo
2014-01-09 22:56 ` [PATCH v2 1/2] spi: spi-imx: enable dma support for escpi controller Frank Li
2014-01-14 21:49 ` Mark Brown
2014-01-14 6:02 ` Shawn Guo
2014-01-14 21:39 ` Marek Vasut
2014-01-14 21:52 ` Frank Li
2014-01-15 6:17 ` Shawn Guo
2014-01-14 21:38 ` Marek Vasut
2014-01-14 21:55 ` Mark Brown
2014-01-14 22:02 ` Marek Vasut
2014-01-14 22:13 ` Mark Brown
2014-01-14 22:25 ` Marek Vasut [this message]
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=201401142325.40943.marex@denx.de \
--to=marex@denx.de \
--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.