Skip to contentSkip to conversation

omap iovmm: remove cache flush operation

PATCH New Hiroshi DOYU 2 participants 4 messages Oct 2, 2009 – Oct 20, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 omap iovmm: remove cache flush operation

From: Hiroshi DOYU <[email protected]>

Cache flush operation is handled in the upper client layer and iovmm modules doesn't have to care about it. This patch will improve some performance with current camera isp driver.

---
 arch/arm/plat-omap/iovmm.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
arch/arm/plat-omap/iovmm.c +0 -3
index 57f7122..d40f7c8 100644
@@ -391,7 +391,6 @@ static void sgtable_fill_vmalloc(struct sg_table *sgt, void *_va)
 	}
 
 	va_end = _va + PAGE_SIZE * i;
-	flush_cache_vmap((unsigned long)_va, (unsigned long)va_end);
 }
 
 static inline void sgtable_drain_vmalloc(struct sg_table *sgt)
@@ -426,8 +425,6 @@ static void sgtable_fill_kmalloc(struct sg_table *sgt, u32 pa, size_t len)
 		len -= bytes;
 	}
 	BUG_ON(len);
-
-	clean_dcache_area(va, len);
 }
 
 static inline void sgtable_drain_kmalloc(struct sg_table *sgt)
Signature · 1 line
1.6.0.4
#1 lore raw

PATCH 2/2 omap iovmm: fix incorrect spelling

From: Hiroshi DOYU <[email protected]>

---
 arch/arm/plat-omap/iovmm.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
arch/arm/plat-omap/iovmm.c +3 -3
index d40f7c8..b1278ea 100644
@@ -47,7 +47,7 @@
  *	'va':	mpu virtual address
  *
  *	'c':	contiguous memory area
- *	'd':	dicontiguous memory area
+ *	'd':	discontiguous memory area
  *	'a':	anonymous memory allocation
  *	'()':	optional feature
  *
@@ -397,7 +397,7 @@ static inline void sgtable_drain_vmalloc(struct sg_table *sgt)
 {
 	/*
 	 * Actually this is not necessary at all, just exists for
-	 * consistency of the code readibility.
+	 * consistency of the code readability.
 	 */
 	BUG_ON(!sgt);
 }
@@ -431,7 +431,7 @@ static inline void sgtable_drain_kmalloc(struct sg_table *sgt)
 {
 	/*
 	 * Actually this is not necessary at all, just exists for
-	 * consistency of the code readibility
+	 * consistency of the code readability
 	 */
 	BUG_ON(!sgt);
 }
Signature · 1 line
1.6.0.4
#2 lore raw

PATCH 2/2 omap iovmm: fix incorrect spelling

This patch has been applied to the linux-omap
by youw fwiendly patch wobot.

Branch in linux-omap: omap-fixes

Initial commit ID (Likely to change): 7dfe2bbffc9d6884d70b7bd5b197bfb44cf51472

PatchWorks
http://patchwork.kernel.org/patch/51306/

Git (Likely to change, and takes a while to get mirrored)
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=7dfe2bbffc9d6884d70b7bd5b197bfb44cf51472

#3 lore raw

PATCH 1/2 omap iovmm: remove cache flush operation

In reply to Hiroshi DOYU

This patch has been applied to the linux-omap
by youw fwiendly patch wobot.

Branch in linux-omap: for-next

Initial commit ID (Likely to change): 19f7972b1bf80abbadeacddba0c93f508bcba608

PatchWorks
http://patchwork.kernel.org/patch/51305/

Git (Likely to change, and takes a while to get mirrored)
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=19f7972b1bf80abbadeacddba0c93f508bcba608