From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robin Murphy Subject: [PATCH 0/4] ipmmu-vmsa cleanup Date: Fri, 13 Oct 2017 19:23:38 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org Cc: laurent.pinchart+renesas-ryLnwIuWjnjg/C1BVhZhaw@public.gmane.org, arnd-r2nGTMty4D4@public.gmane.org, geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org, magnus.damm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: iommu@lists.linux-foundation.org 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:37806 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751823AbdJMSXs (ORCPT ); Fri, 13 Oct 2017 14:23:48 -0400 From: Robin Murphy To: joro@8bytes.org Cc: iommu@lists.linux-foundation.org, arnd@arndb.de, laurent.pinchart+renesas@ideasonboard.com, magnus.damm@gmail.com, geert+renesas@glider.be, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org Subject: [PATCH 0/4] ipmmu-vmsa cleanup Date: Fri, 13 Oct 2017 19:23:38 +0100 Message-Id: Sender: linux-renesas-soc-owner@vger.kernel.org List-ID: 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@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(-) -- 2.13.4.dirty From mboxrd@z Thu Jan 1 00:00:00 1970 From: robin.murphy@arm.com (Robin Murphy) Date: Fri, 13 Oct 2017 19:23:38 +0100 Subject: [PATCH 0/4] ipmmu-vmsa cleanup Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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(-) -- 2.13.4.dirty