All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] mmc: add DMA SG synchronisation
@ 2014-01-31 11:54 Guennadi Liakhovetski
  2014-01-31 11:54   ` Guennadi Liakhovetski
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Guennadi Liakhovetski @ 2014-01-31 11:54 UTC (permalink / raw)
  To: linux-mmc; +Cc: Chris Ball, linux-arm-kernel

Hi

This is something, that seems to be missing from all mmc host drivers. At 
least all except sdhci and, possibly, mmc-spi, but sdhci uses its own DMA 
engine, and mmc-spi does DMA synchronisation in a somewhat strange way - 
before and after SPI synchronisation for both data transfer directions. 
Otherwise all other drivers map and unmap SG lists, perform DMA transfers, 
but never call dma_sync_*_for_*(). Apparantly, this works, but IIUC, this 
violates the DMA API. I'm attaching a couple of patches for a couple of 
those drivers for consideration. If this is confirmed to be the right 
thing to do, I could do more of those.

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2014-02-06 12:06 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-31 11:54 [PATCH 0/3] mmc: add DMA SG synchronisation Guennadi Liakhovetski
2014-01-31 11:54 ` [PATCH 1/3] mmc: tmio-mmc: " Guennadi Liakhovetski
2014-01-31 11:54   ` Guennadi Liakhovetski
2014-02-04  0:57   ` Simon Horman
2014-02-04  0:57     ` Simon Horman
2014-02-04  0:57     ` Simon Horman
2014-02-06 12:01   ` Ben Dooks
2014-02-06 12:01     ` Ben Dooks
2014-02-06 12:01     ` Ben Dooks
2014-02-06 12:06     ` Guennadi Liakhovetski
2014-02-06 12:06       ` Guennadi Liakhovetski
2014-01-31 11:54 ` [PATCH 2/3] mmc: sh-mmcif: " Guennadi Liakhovetski
2014-01-31 11:54   ` Guennadi Liakhovetski
2014-02-04  0:57   ` Simon Horman
2014-02-04  0:57     ` Simon Horman
2014-02-04  0:57     ` Simon Horman
2014-01-31 11:54 ` [PATCH 3/3] mmc: mxcmmc: " Guennadi Liakhovetski

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.