[PATCH] spi: mediatek: Manually set dma_ops for spi_master device
broonie at kernel.org
Fri Jan 27 05:36:21 PST 2017
On Thu, Jan 26, 2017 at 09:26:13AM -0800, Dmitry Torokhov wrote:
> OTOH the full buffer used by cros ec *is* DMA-safe (allocated with
> kmalloc), it is that cors ec uses it at offset while transferring data
> piece by piece. Do we want to support this?
I'm not sure the complexity is worth it as a general feature, I worry
about the cost of worrying about cutting the transaction up to include a
PIO portion. That said that's just a gut feeling, if there were a
sufficiently simple/nice implementation it'd definitely avoid bugs.
To me part of DMA safety is the alignment restrictions.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 488 bytes
Desc: not available
More information about the linux-arm-kernel