iommu.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/17] OMAP IOMMU Cleanup & Consolidation
@ 2014-09-30 21:15 Suman Anna
       [not found] ` <1412111772-38006-1-git-send-email-s-anna-l0cyMroinI0@public.gmane.org>
                   ` (11 more replies)
  0 siblings, 12 replies; 23+ messages in thread
From: Suman Anna @ 2014-09-30 21:15 UTC (permalink / raw)
  To: Joerg Roedel; +Cc: Laurent Pinchart, iommu, linux-omap, Suman Anna

Hi,

The OMAP IOMMU driver is currently designed as three different
pieces - a core OMAP IOMMU driver that implements the generic
IOMMU API ops, a OMAP arch-specific layer that implements the
OMAP specific arch iommu_functions, and an independent debugfs
module. The former two are always built-in, while the last one
is tristate.

The driver supports OMAP2+ SoCs only, and this series performs
a whole lot of cleanup and consolidates all the above pieces
into a single built-in driver. The OMAP arch-specific layer is
eliminated completely (absorbed into the core OMAP driver), and
the debugfs portion is still maintained as a separate file, but
not a separate module anymore. This cleanup and consolidation
eliminates most of the currently exported functions from the
OMAP IOMMU driver.

The series also includes couple of fixes to the OMAP IOMMU
debugfs entries - permissions on one debugfs entry, eliminate
bus errors on debugfs access on disabled IOMMUs; and one
enhancement to list all valid page table entries instead of
listing only a page worth of data.

The patches are baselined on 3.17-rc3 and on top of the OMAP
IOMMU patches staged for 3.18 [1]; a reference branch with all
these patches is available is hosted at [2].

I am posting this series for review with the intention to have
them make it to 3.19, so I can repost once rc1 is out if needed.

[1] http://git.kernel.org/cgit/linux/kernel/git/joro/iommu.git/log/?h=arm/omap
[2] https://github.com/sumananna/omap-kernel/commits/iommu/submit/3.17-rc3-cleanup-consolidation

regards
Suman


Suman Anna (17):
  iommu/omap: Remove refcount field from omap_iommu object
  iommu/omap: Remove unused isr_priv field from omap_iommu
  iommu/omap: Remove duplicate declarations
  iommu/omap: Remove conditional definition of dev_to_omap_iommu()
  iommu/omap: Remove ver debugfs entry
  iommu/omap: Remove omap_iommu_arch_version() and version field
  iommu/omap: Remove bogus version check in context save/restore
  iommu/omap: Simplify omap2_iommu_fault_isr()
  iommu/omap: Consolidate OMAP IOMMU modules
  iommu/omap: Fix the permissions on nr_tlb_entries
  iommu/omap: Make pagetable debugfs entry read-only
  iommu/omap: Integrate omap-iommu-debug into omap-iommu
  iommu/omap: Remove couple of unused exported functions
  iommu/omap: Do not export unneeded functions
  iommu/omap: Reset the domain field upon detaching
  iommu/omap: Fix bus error on debugfs access of unattached IOMMU
  iommu/omap: Switch pagetable debugfs entry to use seq_file

 drivers/iommu/Kconfig            |   9 --
 drivers/iommu/Makefile           |   4 +-
 drivers/iommu/omap-iommu-debug.c | 244 ++++++++--------------------
 drivers/iommu/omap-iommu.c       | 304 ++++++++++++++++++++++-------------
 drivers/iommu/omap-iommu.h       |  90 +++++------
 drivers/iommu/omap-iommu2.c      | 337 ---------------------------------------
 6 files changed, 298 insertions(+), 690 deletions(-)
 delete mode 100644 drivers/iommu/omap-iommu2.c

-- 
2.1.0


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

end of thread, other threads:[~2014-10-22 18:38 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-30 21:15 [PATCH 00/17] OMAP IOMMU Cleanup & Consolidation Suman Anna
     [not found] ` <1412111772-38006-1-git-send-email-s-anna-l0cyMroinI0@public.gmane.org>
2014-09-30 21:15   ` [PATCH 01/17] iommu/omap: Remove refcount field from omap_iommu object Suman Anna
2014-09-30 21:15   ` [PATCH 02/17] iommu/omap: Remove unused isr_priv field from omap_iommu Suman Anna
2014-09-30 21:15   ` [PATCH 03/17] iommu/omap: Remove duplicate declarations Suman Anna
2014-09-30 21:15   ` [PATCH 04/17] iommu/omap: Remove conditional definition of dev_to_omap_iommu() Suman Anna
2014-09-30 21:16   ` [PATCH 11/17] iommu/omap: Make pagetable debugfs entry read-only Suman Anna
2014-09-30 21:16   ` [PATCH 15/17] iommu/omap: Reset the domain field upon detaching Suman Anna
2014-09-30 21:16 ` [PATCH 05/17] iommu/omap: Remove ver debugfs entry Suman Anna
2014-09-30 21:16 ` [PATCH 06/17] iommu/omap: Remove omap_iommu_arch_version() and version field Suman Anna
2014-09-30 21:16 ` [PATCH 07/17] iommu/omap: Remove bogus version check in context save/restore Suman Anna
2014-09-30 21:16 ` [PATCH 08/17] iommu/omap: Simplify omap2_iommu_fault_isr() Suman Anna
2014-09-30 21:16 ` [PATCH 09/17] iommu/omap: Consolidate OMAP IOMMU modules Suman Anna
2014-09-30 21:16 ` [PATCH 10/17] iommu/omap: Fix the permissions on nr_tlb_entries Suman Anna
2014-09-30 21:16 ` [PATCH 12/17] iommu/omap: Integrate omap-iommu-debug into omap-iommu Suman Anna
2014-10-01 10:52   ` Laurent Pinchart
2014-10-01 16:07     ` Suman Anna
     [not found]       ` <542C26DF.9030102-l0cyMroinI0@public.gmane.org>
2014-10-21 21:28         ` Suman Anna
     [not found]           ` <5446CFFB.8030704-l0cyMroinI0@public.gmane.org>
2014-10-22 13:29             ` Joerg Roedel
     [not found]               ` <20141022132951.GE10074-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2014-10-22 18:38                 ` Suman Anna
2014-09-30 21:16 ` [PATCH 13/17] iommu/omap: Remove couple of unused exported functions Suman Anna
2014-09-30 21:16 ` [PATCH 14/17] iommu/omap: Do not export unneeded functions Suman Anna
2014-09-30 21:16 ` [PATCH 16/17] iommu/omap: Fix bus error on debugfs access of unattached IOMMU Suman Anna
2014-09-30 21:16 ` [PATCH 17/17] iommu/omap: Switch pagetable debugfs entry to use seq_file Suman Anna

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).