From patchwork Mon Jun 15 09:38:26 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hiroshi DOYU X-Patchwork-Id: 30288 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 n5F9dO53022393 for ; Mon, 15 Jun 2009 09:39:24 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750743AbZFOJig (ORCPT ); Mon, 15 Jun 2009 05:38:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751729AbZFOJig (ORCPT ); Mon, 15 Jun 2009 05:38:36 -0400 Received: from smtp.nokia.com ([192.100.122.230]:31089 "EHLO mgw-mx03.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751604AbZFOJig (ORCPT ); Mon, 15 Jun 2009 05:38:36 -0400 Received: from esebh105.NOE.Nokia.com (esebh105.ntc.nokia.com [172.21.138.211]) by mgw-mx03.nokia.com (Switch-3.2.6/Switch-3.2.6) with ESMTP id n5F9cJVj002792; Mon, 15 Jun 2009 12:38:29 +0300 Received: from esebh102.NOE.Nokia.com ([172.21.138.183]) by esebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 15 Jun 2009 12:38:30 +0300 Received: from mgw-da01.ext.nokia.com ([147.243.128.24]) by esebh102.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Mon, 15 Jun 2009 12:38:29 +0300 Received: from oreo.research.nokia.com (esdhcp04130.research.nokia.com [172.21.41.30]) by mgw-da01.ext.nokia.com (Switch-3.2.6/Switch-3.2.6) with ESMTP id n5F9cPSY021893 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Mon, 15 Jun 2009 12:38:26 +0300 Received: from doyu by oreo.research.nokia.com with local (Exim 4.69) (envelope-from ) id 1MG8e2-0005rL-Cw; Mon, 15 Jun 2009 12:38:26 +0300 From: Hiroshi DOYU To: linux-omap@vger.kernel.org Cc: Fernando Guzman Lugo , Hiroshi DOYU Subject: [PATCH 1/1] IOMMU: function flush_iotlb_page is not flushing correct entry Date: Mon, 15 Jun 2009 12:38:26 +0300 Message-Id: <1245058706-22504-1-git-send-email-Hiroshi.DOYU@nokia.com> X-Mailer: git-send-email 1.6.0.4 X-OriginalArrivalTime: 15 Jun 2009 09:38:30.0139 (UTC) FILETIME=[0AAAE4B0:01C9ED9D] 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/iommu.c b/arch/arm/plat-omap/iommu.c old mode 100644 new mode 100755 index 4cf449f..4a03013 --- a/arch/arm/plat-omap/iommu.c +++ b/arch/arm/plat-omap/iommu.c @@ -298,7 +298,7 @@ void flush_iotlb_page(struct iommu *obj, u32 da) if ((start <= da) && (da < start + bytes)) { dev_dbg(obj->dev, "%s: %08x<=%08x(%x)\n", __func__, start, da, bytes); - + iotlb_load_cr(obj, &cr); iommu_write_reg(obj, 1, MMU_FLUSH_ENTRY); } }