[PATCH 0/4] drivers/iommu/ relocations

Ohad Ben-Cohen ohad at wizery.com
Wed Jun 8 04:34:18 EDT 2011


Create a dedicated iommu drivers folder, put the base iommu code there,
and move the existing IOMMU API users as well (msm-iommu, amd_iommu and
intel-iommu).

Putting all iommu drivers together will ease finding similarities
between different platforms, with the intention of solving problems once,
in a generic framework, which everyone can use.

OMAP's iommu will be moved too as soon as it's migrated.

For previous discussions on this, please see:
https://lkml.org/lkml/2011/6/2/369

Ohad Ben-Cohen (4):
  drivers: iommu: move to a dedicated folder
  msm: iommu: move to drivers/iommu/
  x86: amd_iommu: move to drivers/iommu/
  x86: intel-iommu: move to drivers/iommu/

 arch/arm/mach-msm/Kconfig                          |   15 ------
 arch/arm/mach-msm/Makefile                         |    2 +-
 arch/x86/Kconfig                                   |   40 ---------------
 arch/x86/kernel/Makefile                           |    2 +-
 drivers/Kconfig                                    |    2 +
 drivers/Makefile                                   |    1 +
 drivers/base/Makefile                              |    1 -
 drivers/iommu/Kconfig                              |   53 ++++++++++++++++++++
 drivers/iommu/Makefile                             |    4 ++
 {arch/x86/kernel => drivers/iommu}/amd_iommu.c     |    0
 drivers/{pci => iommu}/intel-iommu.c               |    1 -
 drivers/{base => iommu}/iommu.c                    |    0
 .../mach-msm/iommu.c => drivers/iommu/msm-iommu.c  |    0
 drivers/pci/Makefile                               |    2 +-
 drivers/pci/pci.h                                  |    2 -
 include/linux/pci.h                                |   11 ++++
 16 files changed, 74 insertions(+), 62 deletions(-)
 create mode 100644 drivers/iommu/Kconfig
 create mode 100644 drivers/iommu/Makefile
 rename {arch/x86/kernel => drivers/iommu}/amd_iommu.c (100%)
 rename drivers/{pci => iommu}/intel-iommu.c (99%)
 rename drivers/{base => iommu}/iommu.c (100%)
 rename arch/arm/mach-msm/iommu.c => drivers/iommu/msm-iommu.c (100%)




More information about the linux-arm-kernel mailing list