From patchwork Fri Oct 2 07:47:36 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hiroshi DOYU X-Patchwork-Id: 51305 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n927lljg005954 for ; Fri, 2 Oct 2009 07:47:47 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755594AbZJBHrm (ORCPT ); Fri, 2 Oct 2009 03:47:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755554AbZJBHrm (ORCPT ); Fri, 2 Oct 2009 03:47:42 -0400 Received: from smtp.nokia.com ([192.100.122.230]:52536 "EHLO mgw-mx03.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752664AbZJBHrl (ORCPT ); Fri, 2 Oct 2009 03:47:41 -0400 Received: from esebh105.NOE.Nokia.com (esebh105.ntc.nokia.com [172.21.138.211]) by mgw-mx03.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n927laQh006993 for ; Fri, 2 Oct 2009 10:47:43 +0300 Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by esebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 2 Oct 2009 10:47:42 +0300 Received: from mgw-da01.ext.nokia.com ([147.243.128.24]) by vaebh104.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Fri, 2 Oct 2009 10:47:41 +0300 Received: from oreo.research.nokia.com (esdhcp04130.research.nokia.com [172.21.41.30]) by mgw-da01.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n927lc2c029470 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Fri, 2 Oct 2009 10:47:39 +0300 Received: from doyu by oreo.research.nokia.com with local (Exim 4.69) (envelope-from ) id 1MtcrZ-0003vh-QR; Fri, 02 Oct 2009 10:47:37 +0300 From: Hiroshi DOYU To: linux-omap@vger.kernel.org Cc: Hiroshi DOYU Subject: [PATCH 1/2] omap iovmm: remove cache flush operation Date: Fri, 2 Oct 2009 10:47:36 +0300 Message-Id: <1254469657-15086-1-git-send-email-Hiroshi.DOYU@nokia.com> X-Mailer: git-send-email 1.6.0.4 X-OriginalArrivalTime: 02 Oct 2009 07:47:41.0530 (UTC) FILETIME=[9ED06BA0:01CA4334] X-Nokia-AV: Clean Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org diff --git a/arch/arm/plat-omap/iovmm.c b/arch/arm/plat-omap/iovmm.c index 57f7122..d40f7c8 100644 --- a/arch/arm/plat-omap/iovmm.c +++ b/arch/arm/plat-omap/iovmm.c @@ -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)