From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe004.messaging.microsoft.com [216.32.181.184]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "mail.global.frontbridge.com", Issuer "Microsoft Secure Server Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id AC74F2C008E for ; Thu, 18 Oct 2012 04:36:53 +1100 (EST) Received: from mail213-ch1 (localhost [127.0.0.1]) by mail213-ch1-R.bigfish.com (Postfix) with ESMTP id AAF901E0231 for ; Wed, 17 Oct 2012 17:36:47 +0000 (UTC) Received: from CH1EHSMHS004.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.242]) by mail213-ch1.bigfish.com (Postfix) with ESMTP id 4030A300257 for ; Wed, 17 Oct 2012 17:36:46 +0000 (UTC) Received: from nmglablinux27.zin33.ap.freescale.net ([10.213.130.145]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id q9HHafb4011481 for ; Wed, 17 Oct 2012 10:36:42 -0700 From: Varun Sethi To: , , , Subject: [PATCH 0/3] iommu/fsl: Freescale PAMU driver and IOMMU API implementation. Date: Wed, 17 Oct 2012 23:02:47 +0530 Message-ID: <1350495170-4593-1-git-send-email-Varun.Sethi@freescale.com> MIME-Version: 1.0 Content-Type: text/plain Cc: Varun Sethi List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This patchset provides the Freescale PAMU (Peripheral Access Management Unit) driver and the corresponding IOMMU API implementation. PAMU is the IOMMU present on Freescale QorIQ platforms. PAMU can authorize memory access, remap the memory address, and remap the I/O transaction type. This set consists of the following patches: 1. Addition of new field in the device (powerpc) archdata structure for storing iommu domain information pointer. This pointer is stored when the device is attached to a particular iommu domain. 2. Addition of domain attributes required by the PAMU driver IOMMU API. 3. PAMU driver and IOMMU API implementation. This patch set is based on the next branch of the iommu git tree maintained by Joerg. Varun Sethi (3): Store iommu domain information pointer in archdata. Add iommu domain attributes required by fsl PAMU driver. FSL PAMU driver and IOMMU API implementation. arch/powerpc/include/asm/device.h | 4 + drivers/iommu/Kconfig | 7 + drivers/iommu/Makefile | 1 + drivers/iommu/fsl_pamu.c | 1033 +++++++++++++++++++++++++++++++++++++ drivers/iommu/fsl_pamu.h | 377 ++++++++++++++ drivers/iommu/fsl_pamu_domain.c | 990 +++++++++++++++++++++++++++++++++++ drivers/iommu/fsl_pamu_domain.h | 94 ++++ drivers/iommu/fsl_pamu_proto.h | 49 ++ include/linux/iommu.h | 30 ++ 9 files changed, 2585 insertions(+), 0 deletions(-) create mode 100644 drivers/iommu/fsl_pamu.c create mode 100644 drivers/iommu/fsl_pamu.h create mode 100644 drivers/iommu/fsl_pamu_domain.c create mode 100644 drivers/iommu/fsl_pamu_domain.h create mode 100644 drivers/iommu/fsl_pamu_proto.h -- 1.7.4.1