[PATCH v1 0/6] iommu/vt-d: Reset DMAR_UNITS_SUPPORTED

From: Lu Baolu
Date: Sat Jun 25 2022 - 08:56:33 EST


Hi folks,

This is a follow-up series of changes proposed by this patch:

https://lore.kernel.org/linux-iommu/20220615183650.32075-1-steve.wahl@xxxxxxx/

It removes several static arrays of size DMAR_UNITS_SUPPORTED and sets
the DMAR_UNITS_SUPPORTED to 1024.

Please help review and suggest.

Best regards,
baolu

Lu Baolu (6):
iommu/vt-d: Remove unused domain_get_iommu()
iommu/vt-d: Use IDA interface to manage iommu sequence id
iommu/vt-d: Refactor iommu information of each domain
iommu/vt-d: Add VTD_FLAG_IOMMU_PROBED flag
iommu/vt-d: Remove global g_iommus array
iommu/vt-d: Make DMAR_UNITS_SUPPORTED default 1024

include/linux/dmar.h | 6 +-
drivers/iommu/intel/iommu.h | 29 ++++--
drivers/iommu/intel/dmar.c | 33 ++-----
drivers/iommu/intel/iommu.c | 188 ++++++++++++++----------------------
drivers/iommu/intel/pasid.c | 2 +-
drivers/iommu/intel/svm.c | 2 +-
6 files changed, 103 insertions(+), 157 deletions(-)

--
2.25.1