io-pgtable ARM short descriptor format
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 0 repliesNew
- v23 patches 0 repliesSuperseded
- v15 patches 0 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | iommu/io-pgtable: Add ARMv7 short descriptor supportdrivers/ drivers/ drivers/ +2 more | +885 | 10 replies | |
| 1/3 | iommu/io-pgtable: Add ARMv7 short descriptor support | +0 | 1 reply | |
| 1/3 | iommu/io-pgtable: Add ARMv7 short descriptor support | +0 | 0 replies | |
| 1/3 | iommu/io-pgtable: Add ARMv7 short descriptor support | +0 | 0 replies | |
| 2/3 | iommu/io-pgtable: Add helper functions for TLB opsdrivers/ drivers/ drivers/ +1 more | +46 | 0 replies | |
| 3/3 | iommu/io-pgtable: Avoid redundant TLB syncsdrivers/ | +8 | 1 reply |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Will Deacon | Laurent Pinchart | Yong Wu |
|---|---|---|---|
| Series | A-b | R-b | |
| 1/3 | R-b | R-b T-b | |
| 1/3 | R-b | R-b T-b | |
| 1/3 | R-b | R-b T-b | |
| 1/3 | R-b | R-b T-b | |
| 2/3 | A-b | A-b | |
| 3/3 | A-b | 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 v3 0/3] io-pgtable ARM short descriptor format
Hi all,
As promised, here's v3 based on 4.5-rc1, with all the previous comments addressed other than the logic of split_blk_unmap() - having looked into it, trying to simplify that essentially just pushes the complexity out into map() and complicates the general case. Ultimately it's an awkward edge case to handle however it's implemented, and keeping it as close as possible to the LPAE version makes it somewhat easier to reason about.
This is currently just a dependency for the Mediatek IOMMU series[1] - the ARM SMMU driver support I've been testing with is now much closer to "proper patch" than "horrible development hack", but still depends on a bunch of other work in that driver I need to post first.
Thanks,
Robin.
Changes since v2[2]:
- #include dma-mapping.h before I break ARC again...
- Fix PTE type bit swizzling to not collide with XN bit in cont_to_pte().
- Correct init_pte to increment the IOVA, rather than the table pointer, when freeing L2 tables being replaced by a supersection entry.
- Rename sync_flag to the much better tlb_sync_pending.
- Acks on patches 2 and 3.
[1]:http://thread.gmane.org/gmane.linux.kernel.iommu/11974 [2]:http://thread.gmane.org/gmane.linux.kernel.iommu/11752
Robin Murphy (3):
iommu/io-pgtable: Add ARMv7 short descriptor support iommu/io-pgtable: Add helper functions for TLB ops iommu/io-pgtable: Avoid redundant TLB syncs
drivers/iommu/Kconfig | 19 + drivers/iommu/Makefile | 1 + drivers/iommu/io-pgtable-arm-v7s.c | 841 +++++++++++++++++++++++++++++++++++++ drivers/iommu/io-pgtable-arm.c | 21 +- drivers/iommu/io-pgtable.c | 5 +- drivers/iommu/io-pgtable.h | 37 +- 6 files changed, 910 insertions(+), 14 deletions(-) create mode 100644 drivers/iommu/io-pgtable-arm-v7s.c
Signature · 1 line
2.7.0.25.gfc10eb5