Re: [PATCH v1 00/10] iommu/vt-d: Some Intel IOMMU cleanups

From: Lu Baolu
Date: Sun Feb 13 2022 - 22:01:13 EST


On 2/7/22 2:41 PM, Lu Baolu wrote:
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(-)


Thanks for your review comments. A new version of this series has been
posted.

https://lore.kernel.org/linux-iommu/20220214025704.3184654-1-baolu.lu@xxxxxxxxxxxxxxx/

Best regards,
baolu