RFC iommu_pgsize() improvements to help towards ->[un]map_pages()
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest6 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | iommu/io-pgtable: Introduce unmap_pages() as a page table opinclude/ | +4 | 0 replies | |
| 2/6 | iommu: Add an unmap_pages() op for IOMMU driversinclude/ | +4 | 0 replies | |
| 3/6 | iommu: Use bitmap to calculate page size in iommu_pgsize()drivers/ | +12 | 2 replies | |
| 4/6 | iommu: Split 'addr_merge' argument to iommu_pgsize() into separate partsdrivers/ | +6 | 0 replies | |
| 5/6 | iommu: Hook up '->unmap_pages' driver callbackdrivers/ | +20 | 0 replies | |
| 6/6 | iommu: Accomodate larger pages in iommu_pgsize() 'count' calculationdrivers/ | +32 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/6] iommu_pgsize() improvements to help towards ->[un]map_pages()
Hi Isaac,
I had a go at removing the loop you have in pgsize_bitmap() over at:
https://lore.kernel.org/r/[email protected]
and I ended up with this. It's _very_ lightly tested, but I thought it might be useful to you, especially if you're going to be adding support for '->map_pages' as well.
Cheers,
Will
--->8
Isaac J. Manjarres (2):
iommu/io-pgtable: Introduce unmap_pages() as a page table op
iommu: Add an unmap_pages() op for IOMMU drivers
Will Deacon (4):
iommu: Use bitmap to calculate page size in iommu_pgsize()
iommu: Split 'addr_merge' argument to iommu_pgsize() into separate
parts
iommu: Hook up '->unmap_pages' driver callback
iommu: Accomodate larger pages in iommu_pgsize() 'count' calculation
drivers/iommu/iommu.c | 87 +++++++++++++++++++++++++++----------- include/linux/io-pgtable.h | 4 ++ include/linux/iommu.h | 4 ++ 3 files changed, 70 insertions(+), 25 deletions(-)
Signature · 6 lines
2.31.0.291.g576ba9dcdaf-goog _______________________________________________ iommu mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/iommu