Hi folks, After a long time of evolution, the drivers/iommu/intel/iommu.c becomes fat and a bit messy. This series tries to cleanup and refactor the driver to make it more concise. Your comments are very appreciated.
Best regards, baolu Lu Baolu (10): iommu/vt-d: Move DMAR specific helpers into dmar.c iommu/vt-d: Remove intel_iommu::domains iommu/vt-d: Remove finding domain in dmar_insert_one_dev_info() iommu/vt-d: Remove iova_cache_get/put() iommu/vt-d: Remove domain and devinfo mempool iommu/vt-d: Remove DEFER_DEVICE_DOMAIN_INFO iommu/vt-d: Use an xarray for global device_domain_info iommu/vt-d: Use rculist for dmar_domain::devices iommu/vt-d: Refactor dmar_insert_one_dev_info() iommu/vt-d: Some cleanups in iommu.c include/linux/dmar.h | 43 +- include/linux/intel-iommu.h | 220 ++++++- drivers/iommu/intel/debugfs.c | 3 - drivers/iommu/intel/dmar.c | 216 ++++++- drivers/iommu/intel/iommu.c | 1109 ++++++--------------------------- 5 files changed, 650 insertions(+), 941 deletions(-) -- 2.25.1 _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu