lkml.org 
[lkml]   [2011]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/10 v2] IOMMU: Make iommu_ops per-bus_type
Date
Hi again,

here is the new version of the patch-set to make the iommu_ops used in
the iommu-api a bus_type property. This will allow us to move code out
of the iommu drivers into generic code and it simplifies the
implementation of the Alex' device-group property.

It converts all iommu drivers to use the new registration interface and
completly removes the register_iommu interface.

Greg, can you please look at patch 2 again and let me know if you have
any objections on this version? It think I addressed all your previous
objections.

In case you have no objections and give your Ack we can move on
converting IOMMU drivers to make use of that change and Alex' can move
on with his iommu-groups patch-set :)

Regards,

Joerg

Changes v1->v2:

* Added kernel-doc comments to bus_set_iommu function
* Removed iommu.h include from device.h and added a forward
declaration for struct iommu_ops


Diffstat:

arch/ia64/kvm/kvm-ia64.c | 3 +-
arch/x86/kvm/x86.c | 3 +-
drivers/base/bus.c | 29 ++++++++++++++++++
drivers/iommu/amd_iommu.c | 2 +-
drivers/iommu/intel-iommu.c | 2 +-
drivers/iommu/iommu.c | 58 ++++++++++++++++++++++++------------
drivers/iommu/msm_iommu.c | 2 +-
drivers/iommu/omap-iommu.c | 2 +-
drivers/media/video/omap3isp/isp.c | 2 +-
include/linux/device.h | 10 ++++++
include/linux/iommu.h | 21 +++++++------
virt/kvm/iommu.c | 4 +-
12 files changed, 100 insertions(+), 38 deletions(-)




\
 
 \ /
  Last update: 2011-09-22 18:17    [W:0.074 / U:0.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site