iommu.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] ipmmu-vmsa cleanup
@ 2017-10-13 18:23 Robin Murphy
  2017-10-13 18:23 ` [PATCH 2/4] iommu/ipmmu-vmsa: Simplify group allocation Robin Murphy
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Robin Murphy @ 2017-10-13 18:23 UTC (permalink / raw)
  To: joro-zLv9SwRftAIdnm+yROfE0A
  Cc: laurent.pinchart+renesas-ryLnwIuWjnjg/C1BVhZhaw, arnd-r2nGTMty4D4,
	geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ,
	magnus.damm-Re5JQEeQqe8AvxtiuMwx3w,
	linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA,
	iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

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-u79uwXL29TY76Z2rM5mHXA@public.gmane.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(-)

-- 
2.13.4.dirty

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-11-06 20:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-13 18:23 [PATCH 0/4] ipmmu-vmsa cleanup Robin Murphy
2017-10-13 18:23 ` [PATCH 2/4] iommu/ipmmu-vmsa: Simplify group allocation Robin Murphy
2017-10-13 18:23 ` [PATCH 3/4] iommu/ipmmu-vmsa: Clean up struct ipmmu_vmsa_iommu_priv Robin Murphy
2017-10-13 18:23 ` [PATCH 4/4] iommu/ipmmu-vmsa: Unify ipmmu_ops Robin Murphy
     [not found] ` <cover.1507918320.git.robin.murphy-5wv7dgnIgG8@public.gmane.org>
2017-10-13 18:23   ` [PATCH 1/4] iommu/ipmmu-vmsa: Unify domain alloc/free Robin Murphy
2017-10-13 19:54   ` [PATCH 0/4] ipmmu-vmsa cleanup Arnd Bergmann
2017-11-06 20:06 ` Alex Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).