[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170126170747.r6gegu3buqeedp54@sirena.org.uk>
Date: Thu, 26 Jan 2017 17:07:47 +0000
From: Mark Brown <broonie@...nel.org>
To: Daniel Kurtz <djkurtz@...omium.org>
Cc: Dmitry Torokhov <dtor@...omium.org>,
Robin Murphy <robin.murphy@....com>,
Leilk Liu <leilk.liu@...iatek.com>,
open list <linux-kernel@...r.kernel.org>,
"open list:SPI SUBSYSTEM" <linux-spi@...r.kernel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
"moderated list:ARM/Mediatek SoC support"
<linux-mediatek@...ts.infradead.org>,
Guenter Roeck <groeck@...omium.org>,
"moderated list:ARM/Mediatek SoC support"
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH] spi: mediatek: Manually set dma_ops for spi_master device
On Fri, Jan 27, 2017 at 12:52:15AM +0800, Daniel Kurtz wrote:
> On Fri, Jan 27, 2017 at 12:35 AM, Dmitry Torokhov <dtor@...omium.org> wrote:
> > Nobody doing DMA likes unaligned buffers. In fact, memory used for DMA
> > must be cacheline aligned, or you going to have trouble. What
> > component supplies unaligned buffers to SPI core for transfers?
> cros-ec-spi
That needs fixing then - I keep thinking we should add a warning to the
core for this, especially now we do DMA mapping in the core.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists