public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC/PATCH 0/3] IOMMU fault callback support
@ 2011-02-12 10:42 David Cohen
  2011-02-12 10:42 ` [RFC/PATCH 1/3] OMAP: IOMMU: Add generic IOMMU errors code David Cohen
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: David Cohen @ 2011-02-12 10:42 UTC (permalink / raw)
  To: Hiroshi.DOYU; +Cc: linux-omap, David Cohen

Hi,

These are RFC patches. They're intended to add fault callback support so
IOMMU users can debug or react when a fault happens.
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 or, in worse cases, to leave device
in a state where it's still possible to use it and proceed with some
investigation.

Comments are welcome.

Br,

David
---

David Cohen (3):
  OMAP: IOMMU: Add generic IOMMU errors code
  OMAP2+: IOMMU: change OMAP2+ error message to dev_dbg()
  OMAP: IOMMU: add support to callback during fault handling

 arch/arm/mach-omap2/iommu2.c            |   23 ++++++++++++++---
 arch/arm/plat-omap/include/plat/iommu.h |   15 ++++++++++-
 arch/arm/plat-omap/iommu.c              |   41 ++++++++++++++++++++++++++++---
 3 files changed, 70 insertions(+), 9 deletions(-)


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-02-14 11:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-12 10:42 [RFC/PATCH 0/3] IOMMU fault callback support David Cohen
2011-02-12 10:42 ` [RFC/PATCH 1/3] OMAP: IOMMU: Add generic IOMMU errors code David Cohen
2011-02-13 22:33   ` Varadarajan, Charulatha
2011-02-14 11:28     ` David Cohen
2011-02-12 10:42 ` [RFC/PATCH 2/3] OMAP2+: IOMMU: change OMAP2+ error message to dev_dbg() David Cohen
2011-02-12 10:42 ` [RFC/PATCH 3/3] OMAP: IOMMU: add support to callback during fault handling David Cohen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox