RFC iommu/arm-smmu: stalling support (v2)
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest1 of 3 patches 4 repliesIn review
1 of 3 patches is in this archive. The cover letter announces 3.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 3/3 | iommu/arm-smmu: detach DMA domain if driver is managing iommudrivers/ | +15 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 0/3] iommu/arm-smmu: stalling support (v2)
Now, as was previously discussed[1], now we have a dt property on the smmu, to indicate that the smmu supports stalling, as well as a flag on the domain (set when fault-handler is registered) to indicate that the domain supports stalling.
I ran into one snag, thanks to the auto-attached DMA domain, since that doesn't support stalling. I think when the driver is explicitly managing the iommu, we should just get rid of the DMA domain. (But maybe there is a cleaner way to do this than what I came up with, so suggestions welcome.)
[1] http://www.spinics.net/lists/linux-arm-msm/msg25357.html
Rob Clark (3):
iommu: introduce stall/resume support iommu/arm-smmu: Add support to opt-in to stalling iommu/arm-smmu: detach DMA domain if driver is managing iommu
.../devicetree/bindings/iommu/arm,smmu.txt | 3 + drivers/gpu/drm/etnaviv/etnaviv_mmu.c | 2 +- drivers/gpu/drm/msm/msm_iommu.c | 12 ++- drivers/infiniband/hw/usnic/usnic_uiom.c | 2 +- drivers/iommu/arm-smmu.c | 100 +++++++++++++++++++-- drivers/iommu/iommu.c | 24 ++++- drivers/remoteproc/remoteproc_core.c | 2 +- include/linux/iommu.h | 5 +- 8 files changed, 136 insertions(+), 14 deletions(-)
Signature · 1 line
2.9.3