iommu/iova: Solve longterm IOVA issue
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest3 patches 11 repliesIn review
- v3 posting 2/24 patches 15 repliesSuperseded
- v3 posting 1/24 patches 0 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 4 patches | 5 replies | Superseded | |
| v1 | 2 patches | 4 replies | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | iommu/iova: Add free_all_cpu_cached_iovas()drivers/ | +9 | 1 reply | |
| 2/3 | iommu/iova: Avoid double-negatives in magazine helpersdrivers/ | +17 | 7 replies | |
| 3/3 | iommu/iova: Flush CPU rcache for when a depot fillsdrivers/ | +6 | 3 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Xiang Chen | Zhen Lei | Jean-Philippe Brucker |
|---|---|---|---|
| 1/3 | T-b | R-b | R-b |
| 2/3 | T-b | R-b | |
| 3/3 | T-b | Analyzed-by R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v4 0/3] iommu/iova: Solve longterm IOVA issue
This series contains a patch to solve the longterm IOVA issue which leizhen originally tried to address at [0].
A sieved kernel log is at the following, showing periodic dumps of IOVA sizes, per CPU and per depot bin, per IOVA size granule:
https://raw.githubusercontent.com/hisilicon/kernel-dev/topic-iommu-5.10-iova-debug-v3/aging_test
Notice, for example, the following logs:
[13175.355584] print_iova1 cpu_total=40135 depot_total=3866 total=44001 [83483.457858] print_iova1 cpu_total=62532 depot_total=24476 total=87008
Where total IOVA rcache size has grown from 44K->87K over a long time.
Along with this patch, I included the following:
- A smaller helper to clear all IOVAs for a domain
- Change polarity of the IOVA magazine helpers
Differences to v3:
- Drop Cong's patch, already accepted
- Add tags
- Rebased
Differnces to v2:
- Update commit message for patch 3/4
Differences to v1:
- Add IOVA clearing helper
- Add patch to change polarity of mag helpers
- Avoid logically-redundant extra variable in __iova_rcache_insert()
[0] https://lore.kernel.org/linux-iommu/[email protected]/
[1] https://lore.kernel.org/linux-iommu/[email protected]/
John Garry (3):
iommu/iova: Add free_all_cpu_cached_iovas() iommu/iova: Avoid double-negatives in magazine helpers iommu/iova: Flush CPU rcache for when a depot fills
drivers/iommu/iova.c | 58 ++++++++++++++++++++++++-------------------- 1 file changed, 32 insertions(+), 26 deletions(-)
Signature · 6 lines
2.26.2 _______________________________________________ iommu mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/iommu