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

From: Baolu Lu
Date: Tue Jun 28 2022 - 08:39:14 EST


On 2022/6/25 20:51, Lu Baolu wrote:
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.

This series is also available on github:

https://github.com/LuBaolu/intel-iommu/commits/vtd-next-for-v5.20

Best regards,
baolu


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(-)