From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932987AbcFBQFr (ORCPT ); Thu, 2 Jun 2016 12:05:47 -0400 Received: from mail-pa0-f65.google.com ([209.85.220.65]:34056 "EHLO mail-pa0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932169AbcFBQFp (ORCPT ); Thu, 2 Jun 2016 12:05:45 -0400 From: Magnus Damm To: iommu@lists.linux-foundation.org Cc: laurent.pinchart+renesas@ideasonboard.com, geert+renesas@glider.be, joro@8bytes.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, horms+renesas@verge.net.au, Magnus Damm , robin.murphy@arm.com, m.szyprowski@samsung.com Date: Fri, 03 Jun 2016 00:55:19 +0900 Message-Id: <20160602155519.31018.59925.sendpatchset@little-apple> Subject: [PATCH v3 00/06] iommu/ipmmu-vmsa: IPMMU multi-arch update V3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org iommu/ipmmu-vmsa: IPMMU multi-arch update V3 [PATCH v3 01/06] iommu/ipmmu-vmsa: Remove platform data handling [PATCH v3 02/06] iommu/ipmmu-vmsa: Rework interrupt code and use bitmap for context [PATCH v3 03/06] iommu/ipmmu-vmsa: Break out utlb parsing code [PATCH v3 04/06] iommu/ipmmu-vmsa: Break out domain allocation code [PATCH v3 05/06] iommu/ipmmu-vmsa: Add new IOMMU_DOMAIN_DMA ops [PATCH v3 06/06] iommu/ipmmu-vmsa: Drop LPAE Kconfig dependency These patches update the IPMMU driver with a couple of changes to support build on multiple architectures. In the process of doing so the interrupt code gets reworked and the foundation for supporting multiple contexts are added. In this version of the series the patch order has been reworked to make simplify review. Thanks to Laurent for his suggestions! The 32-bit ARM logic has intentionally been changed as little as possible to avoid breakage. Once CONFIG_IOMMU_DMA can be used it may be good time to revisit the init ordering for the 32-bit SoCs. There is room for improvement for sure like Robin Murphy kindly pointed out. Changes since V2: - Got rid of patch 3 from the V2 however patch 1, 2 and 4 are kept. - V3 patch 3, 4 and 5 come from [PATCH 00/04] iommu/ipmmu-vmsa: IPMMU CONFIG_IOMMU_DMA update - Patch 5 has been reworked to include patch 3 of the V1 of this series Changes since V1: - Got rid of patch 2 and 3 from initial series - Updated bitmap code locking and also used lighter bitop functions - Updated the Kconfig bits to apply on top of ARCH_RENESAS Signed-off-by: Magnus Damm --- Built on top of next-20160602 drivers/iommu/Kconfig | 1 drivers/iommu/ipmmu-vmsa.c | 263 ++++++++++++++++++++++++++++++++++++-------- 2 files changed, 216 insertions(+), 48 deletions(-)