From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Cohen Subject: [PATCH v3 0/2] OMAP: IOMMU fault callback support Date: Wed, 16 Feb 2011 21:35:49 +0200 Message-ID: <1297884951-3019-1-git-send-email-dacohen@gmail.com> Return-path: Received: from smtp.nokia.com ([147.243.128.24]:19573 "EHLO mgw-da01.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750844Ab1BPTau (ORCPT ); Wed, 16 Feb 2011 14:30:50 -0500 Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: hiroshi.doyu@nokia.com Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, tony@atomide.com Hi, This patch set adapts current (*isr)() to be used as fault callback. IOMMU faults might be very difficult to reproduce and then to figure out the source of the problem. Currently IOMMU driver prints not so useful debug message and does not notice user about such issue. With a fault callback, IOMMU user may debug much more useful information and/or react to go back to a valid state. Br, David --- David Cohen (2): OMAP2+: IOMMU: don't print fault warning on specific layer OMAP: IOMMU: add support to callback during fault handling arch/arm/mach-omap2/iommu2.c | 33 +++++++++----------- arch/arm/plat-omap/include/plat/iommu.h | 14 ++++++++- arch/arm/plat-omap/iommu.c | 52 ++++++++++++++++++++++--------- 3 files changed, 65 insertions(+), 34 deletions(-) -- 1.7.2.3