Thread (38 messages) 38 messages, 7 authors, 2011-07-03
STALE5467d

[PATCH v6 00/11] mmc: use nonblock mmc requests to minimize latency

From: saeed bishara <hidden>
Date: 2011-06-27 10:34:48
Also in: linux-mmc

quoted hunk ↗ jump to hunk
+static inline void __dma_sync(void)
+{
+ ? ? ? dsb();
+}
+
?/*
?* Return whether the given device DMA address mask can be supported
?* properly. ?For example, if your device can only drive the low 24-bits
@@ -378,6 +383,7 @@ static inline dma_addr_t dma_map_single(struct device *dev, void *cpu_addr,
? ? ? ?BUG_ON(!valid_dma_direction(dir));

? ? ? ?addr = __dma_map_single(dev, cpu_addr, size, dir);
+ ? ? ? __dma_sync();
Russell,
  I'm curious about the correctness of this patch for systems with
outer cache. shouldn't the dsb be issued before the outer cache
maintenance?
saeed
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help