Skip to content

ipmmu-vmsa cleanup

Robin Murphy linux-arm-kernel linux-iommu linux-renesas-soc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4iommu/ipmmu-vmsa: Unify domain alloc/freedrivers/iommu/ipmmu-vmsa.c+24 -410 replies
2/4iommu/ipmmu-vmsa: Simplify group allocationdrivers/iommu/ipmmu-vmsa.c+9 -440 replies
3/4iommu/ipmmu-vmsa: Clean up struct ipmmu_vmsa_iommu_privdrivers/iommu/ipmmu-vmsa.c+12 -240 replies
4/4iommu/ipmmu-vmsa: Unify ipmmu_opsdrivers/iommu/ipmmu-vmsa.c+19 -500 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] ipmmu-vmsa cleanup

Arnd reports a build warning[1] thanks to me missing ipmmu-vmsa's second set of ops when converting io-pgtable-arm users to the new iommu_iotlb_* callbacks. Rather than just treat the symptom with a point fix, this seemed like a good excuse to clean up the messy #ifdeffery and duplication in the driver that led to the oversight in the first place.

Build-tested successfully for arm64, ARM, and ARM + CONFIG_IOMMU_DMA.

Robin.

[1]:https://www.mail-archive.com/linux-kernel at vger.kernel.org/msg1510423.html

Robin Murphy (4):
iommu/ipmmu-vmsa: Unify domain alloc/free iommu/ipmmu-vmsa: Simplify group allocation iommu/ipmmu-vmsa: Clean up struct ipmmu_vmsa_iommu_priv iommu/ipmmu-vmsa: Unify ipmmu_ops

 drivers/iommu/ipmmu-vmsa.c | 251 ++++++++++++++-------------------------------
 1 file changed, 78 insertions(+), 173 deletions(-)
Signature · 1 line
2.13.4.dirty