[PATCH 0/9] AMD IOMMU: Reduce dependency to struct device

Joerg Roedel joerg.roedel at amd.com
Fri Jun 10 05:08:40 PDT 2011


Hi,

this patch series reduces the dependency of the AMD IOMMU driver to the
struct device. In fact, it removes the dependency that every request id
the IOMMU can see must have a PCI device in the system. So this is the
real fix for

	https://bugzilla.kernel.org/show_bug.cgi?id=35592

Any (constructive) feedback appreciated!

Regards,

	Joerg

Diffstat:

 arch/x86/include/asm/amd_iommu_types.h |    9 +-
 arch/x86/kernel/amd_iommu.c            |  291 ++++++++++++++++++--------------
 2 files changed, 175 insertions(+), 125 deletions(-)

Shortlog:

Joerg Roedel (9):
      x86/amd-iommu: Remove redundant device_flush_dte() calls
      x86/amd-iommu: Introduce global dev_data_list
      x86/amd-iommu: Store devid in dev_data
      x86/amd-iommu: Store ATS state in dev_data
      x86/amd-iommu: Use only dev_data for dte and iotlb flushing routines
      x86/amd-iommu: Use only dev_data in low-level domain attach/detach functions
      x86/amd-iommu: Allow dev_data->alias to be NULL
      x86/amd-iommu: Search for existind dev_data before allocting a new one
      x86/amd-iommu: Store device alias as dev_data pointer




More information about the iommu mailing list