iommu/vt-d: Reset DMAR_UNITS_SUPPORTED
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 4 repliesIn review
- v16 patches 12 repliesSuperseded
Changes in v2 from the cover letter
- Set the right @max for ida_alloc_range() and return the right error when ida_alloc_range() returns failure.
- Replace xa_store() with xa_cmpxchg().
- Set domain->nid to NUMA_NO_NODE when domain is detached from an iommu.
- Avoid adding a new VTD_FLAG_IOMMU_PROBED flag. Remove the duplicate check directly.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | iommu/vt-d: Remove unused domain_get_iommu()drivers/ drivers/ | +0 | 0 replies | |
| 2/6 | iommu/vt-d: Use IDA interface to manage iommu sequence iddrivers/ | +8 | 1 reply | |
| 3/6 | iommu/vt-d: Refactor iommu information of each domaindrivers/ drivers/ drivers/ +1 more | +94 | 2 replies | |
| 4/6 | iommu/vt-d: Remove unnecessary check in intel_iommu_add()drivers/ | +0 | 1 reply | |
| 5/6 | iommu/vt-d: Remove global g_iommus arraydrivers/ | +0 | 0 replies | |
| 6/6 | iommu/vt-d: Make DMAR_UNITS_SUPPORTED default 1024include/ | +1 | 0 replies |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Kevin Tian |
|---|---|
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | R-b |
| 4/6 | R-b |
| 5/6 | R-b |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/6] iommu/vt-d: Reset DMAR_UNITS_SUPPORTED
Hi folks,
This is a follow-up series of changes proposed by this patch:
https://lore.kernel.org/linux-iommu/[email protected]/
It removes several static arrays of size DMAR_UNITS_SUPPORTED and sets the DMAR_UNITS_SUPPORTED to 1024.
This series is also available on github:
https://github.com/LuBaolu/intel-iommu/commits/reset-DMAR_UNITS_SUPPORTED-v2
Please help review and suggest.
Best regards,
baolu
Change log:
v2:
- Set the right @max for ida_alloc_range() and return the right error when ida_alloc_range() returns failure.
- Replace xa_store() with xa_cmpxchg().
- Set domain->nid to NUMA_NO_NODE when domain is detached from an iommu.
- Avoid adding a new VTD_FLAG_IOMMU_PROBED flag. Remove the duplicate check directly.
v1:
- https://lore.kernel.org/lkml/[email protected]/
- Initial post.
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: Remove unnecessary check in intel_iommu_add() 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 | 30 ++++-- drivers/iommu/intel/dmar.c | 35 ++----- drivers/iommu/intel/iommu.c | 189 ++++++++++++++---------------------- drivers/iommu/intel/pasid.c | 2 +- drivers/iommu/intel/svm.c | 2 +- 6 files changed, 103 insertions(+), 161 deletions(-)
Signature · 1 line
2.25.1